浏览代码

优惠券处理

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