From 2b48bfc79bb3cf922bc48065ea467f8f248bbe05 Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Thu, 10 Mar 2022 10:51:42 +0800 Subject: [PATCH] setter --- app/controller/api/Coupon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/api/Coupon.php b/app/controller/api/Coupon.php index 13219c8..9546429 100644 --- a/app/controller/api/Coupon.php +++ b/app/controller/api/Coupon.php @@ -976,7 +976,7 @@ class Coupon extends Base $sortOrder = ['verificate_time' => 'desc']; break; } - $field = ["is_verificated","received_time","verificate_time","consumer_code","consumer_name"]; + $field = ["is_verificated","received_time","verificate_time","consumer_code","consumer_name","id"]; $data = CouponRepository::getInstance()->findList($whereMap,$field,$page,$size,function($q){ return $q->withjoin(["account"=>function($q){ $q->field(["nick_name","avatar_url","gender","user_code"]);