diff --git a/Application/Mobile/Controller/UserController.class.php b/Application/Mobile/Controller/UserController.class.php index 674d9ea2d..1abbee94e 100644 --- a/Application/Mobile/Controller/UserController.class.php +++ b/Application/Mobile/Controller/UserController.class.php @@ -272,7 +272,7 @@ class UserController extends BaseController $post = I('post.'); $account = $post['nickname']; $password = $post['password']; - $sex = $post['sex']; + $sex = isset($post['sex']) ? $post['sex'] : 0; if (empty($account)) { echo json_encode(array('status' => 0, 'msg' => '请填写昵称')); exit; diff --git a/Application/Mobile/View/User/register.html b/Application/Mobile/View/User/register.html index f19c715a9..867e8030c 100644 --- a/Application/Mobile/View/User/register.html +++ b/Application/Mobile/View/User/register.html @@ -12,54 +12,40 @@ - + - + + + + + -
-
- - - - - -

注册

-
-
-
-
-
-
-
-
-
-

国家/地区中国

-
-
- +86 - - +
+ +
手机注册 + +
+ -
-
-
+ + + + +
- \ No newline at end of file + \ No newline at end of file diff --git a/Application/Mobile/View/User/step.html b/Application/Mobile/View/User/step.html index 0d19b4da4..0d7fb61a8 100644 --- a/Application/Mobile/View/User/step.html +++ b/Application/Mobile/View/User/step.html @@ -24,17 +24,17 @@
手机注册 - +