|
@@ -500,7 +500,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
->where('ad.fromtime', '<=', $now)
|
|
->where('ad.fromtime', '<=', $now)
|
|
->where('ad.totime', '>=', $now);
|
|
->where('ad.totime', '>=', $now);
|
|
})
|
|
})
|
|
- ->select("ad_place.*")
|
|
|
|
|
|
+ ->select("ad_place.*",'ad.*',"ad_place.id as ad_place_id","ad.name as ad_name")
|
|
->get()->all();
|
|
->get()->all();
|
|
if(empty($result)){
|
|
if(empty($result)){
|
|
return Result::error("此广告位不存在!",0);
|
|
return Result::error("此广告位不存在!",0);
|