| xqd
@@ -1155,7 +1155,7 @@ class AlbumController extends Controller
|
|
|
if ($validator->fails()) {
|
|
|
return $this->error(ErrorCode::CLIENT_WRONG_PARAMS, '传入参数不正确!', $validator->messages());
|
|
|
}
|
|
|
- $this->wechat_app = AlbumManufacturerModel::where('store_id',$storeid)->first();
|
|
|
+ $this->wechat_app = AlbumManufacturerModel::where('store_id',$request->input('store_id'))->first();
|
|
|
$config = [
|
|
|
'app_id' => $this->wechat_app->xyx_id,
|
|
|
'secret' => $this->wechat_app->xyx_secret,
|