Bladeren bron

我的优惠卷

whitefang 1 jaar geleden
bovenliggende
commit
abef92c4bc
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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()