|
@@ -168,7 +168,7 @@ class User extends Api
|
|
|
$userInfo = Db::name('user')->where('openid',$res['openid'])->find();
|
|
|
|
|
|
if (!$userInfo) {
|
|
|
- return json(['code' => 101,'msg'=>'请先绑定手机号','data'=>$data]);
|
|
|
+ return json(['code' => 101,'msg'=>'请先注册','data'=>$data]);
|
|
|
} else {
|
|
|
$user = \app\common\model\User::getByMobile($userInfo['mobile']);
|
|
|
if ($user) {
|