正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -44,7 +44,7 @@ class Register extends Api | @@ -44,7 +44,7 @@ class Register extends Api | ||
44 | public function RegisterSign() | 44 | public function RegisterSign() |
45 | { | 45 | { |
46 | $param = $this->request->param(); | 46 | $param = $this->request->param(); |
47 | - if (empty($param['password']||$param['password'] ==""||$param['password']==null)) { | 47 | + if (empty($param['password'])) { |
48 | $is_user = Db::name('user')->where(['mobile' => $param['mobile']])->find(); | 48 | $is_user = Db::name('user')->where(['mobile' => $param['mobile']])->find(); |
49 | if ($is_user) { | 49 | if ($is_user) { |
50 | $this->error('您已注册过,请直接登陆', 0); | 50 | $this->error('您已注册过,请直接登陆', 0); |
-
请 注册 或 登录 后发表评论