master
wangxinglong 2021-12-20 10:36:03 +08:00
parent 325e9eac44
commit 0e8ead43e0
1 changed files with 2 additions and 2 deletions

View File

@ -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){