Commit 07c30130 by 杨昕

更改更新媒资封面图片

parent c5e32fc4
Pipeline #18751 passed with stages
in 1 minute 17 seconds
......@@ -342,17 +342,18 @@ class MediaController extends Controller
* @throws \App\Exceptions\ControllerException
* @throws \App\Exceptions\DatabaseException
*/
public function screenShotCallback(Request $request){
public function screenShotCallback(Request $request)
{
$data = handler_drive(function () use ($request) {
SrsHookValidate::srsHookCallback($request, [
'media_id' => 'required',
'secret_key' => '',
'media_url' => 'required',
'screenshot' => 'required',
'width' => 'required',
'height' => 'required',
]);
return MediaModel::UpdateScreenShotInfo($request);
});
return success($data);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment