...
|
...
|
@@ -144,7 +144,7 @@ class User extends Api |
|
|
|
|
|
if(isset($mobile)){
|
|
|
$user = new \app\admin\model\User;
|
|
|
$user->save(['openid'=>$openid],['mobile'=>$mobile,'openid'=>null]);
|
|
|
$user->save(['openid'=>$openid],['mobile'=>$mobile,'openid'=>'']);
|
|
|
}
|
|
|
|
|
|
$user = new \app\admin\model\User;
|
...
|
...
|
|