...
|
...
|
@@ -146,7 +146,7 @@ class User extends Api |
|
|
|
|
|
$user = new \app\admin\model\User;
|
|
|
$user = $user->where(['mobile'=>$mobile,'openid'=>''])->select();
|
|
|
$this->success('Logged in successful', ['mobile'=>$mobile,'openid'=>'']);exit;
|
|
|
$this->success('user', ['mobile'=>$mobile,'openid'=>'']);exit;
|
|
|
|
|
|
$user = new \app\admin\model\User;
|
|
|
$user->save(['openid'=>$openid],['mobile'=>$mobile,'openid'=>'']);
|
...
|
...
|
|