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