|
@@ -1296,7 +1296,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
}
|
|
}
|
|
$website_foot = WebsiteTemplateInfo::where('website_id',$data['website_id'])->where('status',2)->first();
|
|
$website_foot = WebsiteTemplateInfo::where('website_id',$data['website_id'])->where('status',2)->first();
|
|
$website_head = Website::where('id',$data['website_id'])
|
|
$website_head = Website::where('id',$data['website_id'])
|
|
- ->select('id','website_name','logo','title','keywords','description')->first();
|
|
|
|
|
|
+ ->select('id','website_name','logo','title','keywords','description','website_url')->first();
|
|
if (empty($website_foot)) {
|
|
if (empty($website_foot)) {
|
|
return Result::error("暂无底部基础信息",0);
|
|
return Result::error("暂无底部基础信息",0);
|
|
}
|
|
}
|