Browse Source

注册h5页面更新

xiaogang 3 năm trước cách đây
mục cha
commit
4f4007757a
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      public/web/register.html

+ 5 - 5
public/web/register.html

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