Commit fd179347 by 杨树贤

time

parent 72e968fa
Showing with 7 additions and 0 deletions
......@@ -60,6 +60,13 @@ class SkuListFilter
unset($map['create_time']);
}
if (!empty($map['audit_time'])) {
$times = explode('~', $map['update_time']);
$startTime = strtotime($times[0]) ?: 1420041600;
$endTime = strtotime($times[1]) ?: time();
$map['update_time/range'] = $startTime . ',' . $endTime;
unset($map['update_time']);
}
if (!empty($map['source_type'])) {
switch ($map['source_type']) {
......
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 sign in to comment