setter
parent
0f196e30d7
commit
7af9877af4
|
@ -94,7 +94,9 @@ class Coupon extends Base
|
|||
|
||||
$res = CouponRepository::getInstance()->findList($whereMap, $fields, $page, $size,function ($q){
|
||||
return $q->with([
|
||||
"couponMain",
|
||||
"couponMain" => function ($q) {
|
||||
$q->field("id,name,image_url,type_name");
|
||||
},
|
||||
"scoreModel",
|
||||
"business" => function ($q) {
|
||||
$q->field("code,id,business_name,business_subtitle");
|
||||
|
|
Loading…
Reference in New Issue