| xqd
@@ -233,7 +233,9 @@ class AlbumController extends Controller
|
|
|
$userAuth->save();
|
|
|
$user['up_agent_id'] = $userAuth->up_agent_id;
|
|
|
$token = $userAuth->createToken($userAuth->id . '-' . $userAuth->openid)->accessToken;
|
|
|
- return $this->api(compact('token', 'user'));
|
|
|
+ $conf = AlbumManufacturerModel::where('store_id',$datas['store_id'])->first();
|
|
|
+ $getPhone = $conf->getPhone;
|
|
|
+ return $this->api(compact('token', 'user','getPhone'));
|
|
|
} else {
|
|
|
return $this->error(ErrorCode::INCORRECT_USER_OR_PASS);
|
|
|
}
|