Ver código fonte

注册h5页面更新

xiaogang 3 anos atrás
pai
commit
4f4007757a
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5 5
      public/web/register.html

+ 5 - 5
public/web/register.html

xqd xqd xqd xqd xqd
@@ -103,7 +103,7 @@
     var ysxy = "";
     //协议
     $.ajax({
-        url: 'https://t22.9026.com/api/login/xieyi?id=1&cont=1',
+        url: 'https://app.orangepai.cn/api/login/xieyi?id=1&cont=1',
         type: 'get',
         data: {},
         dataType: 'json',
@@ -113,7 +113,7 @@
         }
     })
     $.ajax({
-        url: 'https://t22.9026.com/api/login/xieyi?id=2&cont=1',
+        url: 'https://app.orangepai.cn/api/login/xieyi?id=2&cont=1',
         type: 'get',
         data: {},
         dataType: 'json',
@@ -137,7 +137,7 @@
             codeBtn = false;
             $.ajax({
                 type: "get",
-                url: "https://t22.9026.com/api/sms/send",
+                url: "https://app.orangepai.cn/api/sms/send",
                 dataType: "JSON",
                 data: {
                     mobile: tel,
@@ -171,7 +171,7 @@
 
 
     //注册
-    var regBtn = true, xieyBtn = true;
+    var regBtn = true, xieyBtn = false;
     $("#submit").on("click", function () {
         if (regBtn) {
             var tel = $("#phone").val();
@@ -195,7 +195,7 @@
             regBtn = false;
             $.ajax({
                 type: "POST",
-                url: "https://t22.9026.com/api/login/reg_h5",
+                url: "https://app.orangepai.cn/api/login/reg_h5",
                 dataType: "JSON",
                 data: {
                     mobile: tel,