master
wangxinglong 2021-12-23 15:53:43 +08:00
parent 153b392a39
commit 844c6c42b5
1 changed files with 3 additions and 1 deletions

View File

@ -376,13 +376,15 @@ 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;
$data["usingRule"] = DictionaryRepository::getInstance()->getUsingRuleByCouponMainId($couponMain->id);
$data["punishRule"] = '';//处罚规则 已取消
$data["content"] = $couponMain->content;
//未登录可以领取 0可领取 1已领取
if (empty($account)) {
$data["receiveStatus"] = CouponMain::COMMON_OFF;//领取状态