소스 검색

优惠券处理

whitefang 2 년 전
부모
커밋
487aede324
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/api/logic/UserCouponLogic.php

+ 1 - 1
app/api/logic/UserCouponLogic.php

@@ -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'] );