|
@@ -4,15 +4,15 @@ import { baseApi } from '@/config'
|
|
|
|
|
|
// 用户信息 post 方法
|
|
|
export function eduGet() {
|
|
|
- // let re = parent?.location?.href.includes('hk')
|
|
|
- // console.log('re',re);
|
|
|
+ let re = parent?.location?.href.includes('hk')
|
|
|
+ console.log('re',re);
|
|
|
|
|
|
- // let _result =
|
|
|
- // re
|
|
|
- // ? "https://cloud.api.cocorobo.hk/api/getcookieuserid"
|
|
|
- // : "//beta.api.cocorobo.cn/api/getcookieuserid";
|
|
|
- // return axios.get(_result);
|
|
|
- return axios.get("//beta.api.cocorobo.cn/api/getcookieuserid");
|
|
|
+ let _result =
|
|
|
+ re
|
|
|
+ ? "https://cloud.api.cocorobo.hk/api/getcookieuserid"
|
|
|
+ : "//beta.api.cocorobo.cn/api/getcookieuserid";
|
|
|
+ return axios.get(_result);
|
|
|
+ // return axios.get("//beta.api.cocorobo.cn/api/getcookieuserid");
|
|
|
|
|
|
}
|
|
|
// 获取组织
|