|
@@ -4,14 +4,16 @@ 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);
|
|
|
}
|
|
|
// 获取组织
|
|
|
export function GetSuffix(data) {
|