From 6f6e4571dbde414f28a9bdc67291e22fbbc89d02 Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Tue, 8 Feb 2022 10:36:24 +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 a5eb247..778334f 100644 --- a/app/controller/api/Coupon.php +++ b/app/controller/api/Coupon.php @@ -235,7 +235,7 @@ class Coupon extends Base return $q->with( [ "couponMain" => function ($q) { - $q->field("id,name,image_url"); + $q->field("id,name,image_url,type_name"); }, "scoreModel", "business" => function ($q) {