|
|
@@ -54,13 +54,13 @@ window.onload = function () {
|
|
|
}
|
|
|
|
|
|
US.Config = {
|
|
|
- server: '//beta.api.cocorobo.cn/api/',
|
|
|
- api: '//beta.api.cocorobo.cn/',
|
|
|
+ server: '//cloud.api.cocorobo.com/api/',
|
|
|
+ api: '//cloud.api.cocorobo.com/',
|
|
|
chat: "//chat.api.cocorobo.cn/",
|
|
|
edu: '//api.edu.cocorobo.cn/edu/',
|
|
|
origin: '//cocorobo.cn',
|
|
|
pbl: "//pbl.cocorobo.cn/api/pbl/",
|
|
|
- bpbl:"//pbl.cocorobo.cn",//正式链接
|
|
|
+ bpbl:"//pbl.cocorobo.com",//正式链接
|
|
|
// bpbl:"//beta.pbl.cocorobo.cn",//测试链接
|
|
|
// pbl: "http://localhost:7003/api/pbl/",
|
|
|
basename: '',
|
|
|
@@ -408,7 +408,7 @@ U.MD.D.getuser = function () {
|
|
|
credentials: 'include'
|
|
|
};
|
|
|
|
|
|
- fetch("https://beta.api.cocorobo.cn/api/user", requestOptionsLogin)
|
|
|
+ fetch("https://cloud.api.cocorobo.com/api/user", requestOptionsLogin)
|
|
|
.then(response => response.text())
|
|
|
.then(result => {
|
|
|
let a = JSON.parse(result)
|
|
|
@@ -472,7 +472,7 @@ U.MD.D.getuser = function () {
|
|
|
credentials: 'include'
|
|
|
};
|
|
|
|
|
|
- fetch("https://beta.api.cocorobo.cn/api/user", requestOptionsLogin)
|
|
|
+ fetch("https://cloud.api.cocorobo.com/api/user", requestOptionsLogin)
|
|
|
.then(response => response.text())
|
|
|
.then(result => {
|
|
|
let a = JSON.parse(result)
|
|
|
@@ -540,7 +540,7 @@ U.MD.D.getuser = function () {
|
|
|
credentials: 'include'
|
|
|
};
|
|
|
|
|
|
- fetch("https://beta.api.cocorobo.cn/api/user", requestOptionsLogin)
|
|
|
+ fetch("https://cloud.api.cocorobo.com/api/user", requestOptionsLogin)
|
|
|
.then(response => response.text())
|
|
|
.then(result => {
|
|
|
let a = JSON.parse(result)
|
|
|
@@ -738,7 +738,7 @@ U.MD.D.getuser2 = function (userid, cid) {
|
|
|
credentials: 'include' // 设置withCredentials为true
|
|
|
};
|
|
|
|
|
|
- fetch("https://beta.api.cocorobo.cn/api/user", requestOptionsLogin)
|
|
|
+ fetch("https://cloud.api.cocorobo.com/api/user", requestOptionsLogin)
|
|
|
.then(response => response.text())
|
|
|
.then(result => {
|
|
|
let a = JSON.parse(result)
|