xiaogang 3 anos atrás
pai
commit
0dab018476

+ 1 - 1
app/Http/Controllers/Api/AuthorizationsController.php

xqd
@@ -223,7 +223,7 @@ class AuthorizationsController extends Controller
             return $this->response()->errorForbidden($validator->messages()->first());
         }
         if(User::where(['mobile'=>$request->mobile,'is_distory'=>0])->first()){
-            return $this->response->errorForbidden("该手机号码已使用");
+            return $this->response->errorForbidden("该手机号码已注册");
         }
 
         $ins = array();

+ 4 - 0
public/web/index.html

xqd
@@ -195,6 +195,10 @@
         }
         return(false);
     }
+
+    $('.btn').click(function(){
+        window.location.href='register.html';
+    })
 </script>
 </body>
 </html>