Commit 7d62c2c4 by 杨昕

code format

parent cdad7db4
Pipeline #10784 passed with stages
in 41 seconds
......@@ -39,6 +39,7 @@ class MediaModel extends Eloquent
*/
public static function mediaList($request){
try{
$medias = MediaModel::query()->raw(function ($collection) use($request){
......@@ -96,7 +97,7 @@ class MediaModel extends Eloquent
$aggregate1=$aggregate;
$aggregate1[]['$group'] = [
'_id' => array(),//更具性别进行分组
'_id' => null,//更具性别进行分组
'count'=>array('$sum'=>1)
];
......@@ -601,7 +602,7 @@ class MediaModel extends Eloquent
}
$data = [
'status' => $request->status??0
'status' => $request->status??""
// 'description' => $request->description,
];
......
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