setter
parent
325e9eac44
commit
0e8ead43e0
|
@ -96,9 +96,9 @@ class Coupon extends Base
|
||||||
//重置优惠券名称
|
//重置优惠券名称
|
||||||
if(isset($item->couponMain) && $item->couponMain){
|
if(isset($item->couponMain) && $item->couponMain){
|
||||||
$item->couponName = $item->couponMain->name;
|
$item->couponName = $item->couponMain->name;
|
||||||
$item->image_url = $item->couponMain->image_url;
|
$item->image_url = $this->request->domain() . $item->couponMain->image_url;
|
||||||
}else{
|
}else{
|
||||||
$item->image_url = '';
|
$item->image_url = $this->request->domain() . '';
|
||||||
}
|
}
|
||||||
//是否已经打分过了
|
//是否已经打分过了
|
||||||
if(isset($item->scoreModel) && $item->scoreModel){
|
if(isset($item->scoreModel) && $item->scoreModel){
|
||||||
|
|
Loading…
Reference in New Issue