whitefang 1 год назад
Родитель
Сommit
abef92c4bc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/api/logic/UserCouponLogic.php

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

@@ -87,7 +87,7 @@ class UserCouponLogic extends BaseLogic
                 ->where(function(Query $query){
                     $query->where(' expire_time >'. (time()-86400*7));
                 })
-                ->field(['id','amount','amount_require','begin_use','voucher_status','discount_ratio','event_name','expire_time','max_deductible_price','server_category_name','mold_type'])
+                ->field(['id','code','amount','amount_require','begin_use','voucher_status','discount_ratio','event_name','expire_time','max_deductible_price','server_category_name','mold_type'])
                 ->append(['voucher_status_text'])
                 ->order(['id' => 'desc'])
                 ->select()