|
@@ -53,9 +53,8 @@ class WechatCheckController extends CatchController
|
|
'registration_number' => 'required'
|
|
'registration_number' => 'required'
|
|
]);
|
|
]);
|
|
|
|
|
|
- $data = $request->all();
|
|
|
|
|
|
+ $data = $request->only(['producer', 'playwright', 'production_license_img', 'authorized_img', 'registration_number']);
|
|
$data['updated_at'] = date('Y-m-d H:i:s');
|
|
$data['updated_at'] = date('Y-m-d H:i:s');
|
|
- unset($data['id']);
|
|
|
|
DB::table('video_wechat_check')
|
|
DB::table('video_wechat_check')
|
|
->where('id', $request->input('id'))
|
|
->where('id', $request->input('id'))
|
|
->where('is_enabled', 1)
|
|
->where('is_enabled', 1)
|