Commit d14ced8e by 杨树贤

Merge branch 'ysx-过期时间需求-20260521' into Dev

parents 1571de0e dcb2ba48
Showing with 10 additions and 0 deletions
...@@ -94,6 +94,16 @@ class SkuListFilter ...@@ -94,6 +94,16 @@ class SkuListFilter
unset($map['data_channel_uid']); 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'])) { if (!empty($map['source_type'])) {
switch ($map['source_type']) { switch ($map['source_type']) {
case 'all': 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