Commit 2737d7f8 by 杨昕

解决结束时间错误问题

parent 07c319fc
Pipeline #14285 passed with stages
in 7 minutes 50 seconds
......@@ -95,7 +95,7 @@ class MediaModel extends Eloquent
if (isset($request->end_time)&& !empty($request->end_time)){
$end_time = new UTCDateTime(strtotime($request->end_time) * 1000);;
$match['$match']['end_time'] = ['$lt' => $end_time ];
$match['end_time'] = ['$lt' => $end_time ];
}
$aggregate[]['$match'] = $match;
......
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