master
wangxinglong 2021-12-20 14:51:13 +08:00
parent ba016bf633
commit 5889fe8a97
1 changed files with 2 additions and 0 deletions

View File

@ -188,6 +188,8 @@ class Coupon extends Base
if(isset($item->couponMain) && $item->couponMain){
$item->couponName = $item->couponMain->name;
}
//重置过期时间
$item->endTimeText = date("y-m-d",strtotime($item->endTime));
});
$res['list'] = multiTwoArrayKeysExcludeFilter($res['list']->toArray(), ['sort_weight']);