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