settter
parent
153b392a39
commit
844c6c42b5
|
@ -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;//领取状态
|
||||
|
|
Loading…
Reference in New Issue