whitefang před 1 rokem
rodič
revize
487aede324
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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'] );