setter
parent
ba016bf633
commit
5889fe8a97
|
@ -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']);
|
||||
|
|
Loading…
Reference in New Issue