You need to sign in or sign up before continuing.
Commit dcb2ba48 by 杨树贤

fix

parent a516d8ef
Showing with 10 additions and 0 deletions
......@@ -94,6 +94,16 @@ class SkuListFilter
unset($map['data_channel_uid']);
}
if (!empty($map['is_expire'])) {
$now = \time();
if ($map['is_expire'] == -1) {
$map['cp_time/sr'] = 'gt,' . $now;
} else {
$map['cp_time/sr'] = 'lte,' . $now;
}
unset($map['is_expire']);
}
if (!empty($map['source_type'])) {
switch ($map['source_type']) {
case 'all':
......
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