diff --git a/app/controller/api/Business.php b/app/controller/api/Business.php index 6f20cc0..9f064ac 100644 --- a/app/controller/api/Business.php +++ b/app/controller/api/Business.php @@ -376,6 +376,7 @@ class Business extends Base $data["id"] = $couponMain->id; $data["imageUrl"] = $this->request->domain(). $couponMain->image_url; $data["intro"] = $couponMain->intro;//简介 + $data["content"] = $couponMain->content; $data["lat"] = $couponMain->lat; $data["lng"] = $couponMain->lng; $data["money"] = $couponMain->money; diff --git a/app/validate/CouponRelease.php b/app/validate/CouponRelease.php index 4f5135f..b0d0f25 100644 --- a/app/validate/CouponRelease.php +++ b/app/validate/CouponRelease.php @@ -27,6 +27,7 @@ class CouponRelease extends Validate 'status|状态' => 'require|in:1,0', 'on_shelf|上架状态' => 'require|in:1,0', //'intro|详情' => '', + //'content|详情' => '', //'white_list|白名单' => '', ];