...
|
...
|
@@ -44,7 +44,7 @@ class Register extends Api |
|
|
public function RegisterSign()
|
|
|
{
|
|
|
$param = $this->request->param();
|
|
|
if (empty($param['password']||$param['password'] ==""||$param['password']==null)) {
|
|
|
if (empty($param['password'])) {
|
|
|
$is_user = Db::name('user')->where(['mobile' => $param['mobile']])->find();
|
|
|
if ($is_user) {
|
|
|
$this->error('您已注册过,请直接登陆', 0);
|
...
|
...
|
|