|
|
@@ -161,7 +161,7 @@ class UserCouponLogic extends BaseLogic
|
|
|
->where('voucher_count','>',0)
|
|
|
->where('voucher_status',0)
|
|
|
->where('amount_require','<=',$params['amount'])
|
|
|
- ->visible(['id','amount','amount_require','begin_use','discount_ratio','event_name','expire_time','max_deductible_price','server_category_name'])
|
|
|
+ ->visible(['id','amount','amount_require','begin_use','discount_ratio','event_name','expire_time','max_deductible_price','server_category_name','mold_type'])
|
|
|
->select()->toArray();
|
|
|
foreach($data as $k => $v){
|
|
|
$data[$k]['begin_use'] = date("Y-m-d H:i:s",$v['begin_use'] );
|