Commit b31c5bbe by 杨昕

test

parent 532c06c7
Pipeline #10853 passed with stages
in 46 seconds
......@@ -156,11 +156,12 @@ class MediaController extends Controller
'description' => '',
'sort' => '',
'page_size' => 'integer',
'media_type_id' => ''
'category_id' => '',
'appid' => '',
]);
if (!isset($request->media_type_id)){
$request->replace(array_merge($request->all(),['media_type_id'=>'5efa9cb5d16f5a214671fd86']));
$request->replace(array_merge($request->all(),['category_id'=>'5efa9cb5d16f5a214671fd86']));
}
return MediaModel::mediaList($request);
......
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