|
@@ -87,7 +87,7 @@ class UserCouponLogic extends BaseLogic
|
|
|
->where(function(Query $query){
|
|
->where(function(Query $query){
|
|
|
$query->where(' expire_time >'. (time()-86400*7));
|
|
$query->where(' expire_time >'. (time()-86400*7));
|
|
|
})
|
|
})
|
|
|
- ->field(['id','amount','amount_require','begin_use','voucher_status','discount_ratio','event_name','expire_time','max_deductible_price','server_category_name','mold_type'])
|
|
|
|
|
|
|
+ ->field(['id','code','amount','amount_require','begin_use','voucher_status','discount_ratio','event_name','expire_time','max_deductible_price','server_category_name','mold_type'])
|
|
|
->append(['voucher_status_text'])
|
|
->append(['voucher_status_text'])
|
|
|
->order(['id' => 'desc'])
|
|
->order(['id' => 'desc'])
|
|
|
->select()
|
|
->select()
|