lsc 1 month ago
parent
commit
d39e02f8ad
1 changed files with 7 additions and 7 deletions
  1. 7 7
      js/liyuan/Onload2.js

+ 7 - 7
js/liyuan/Onload2.js

@@ -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)