|
@@ -2206,7 +2206,10 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
$result = Website::where('id', $data['website_id'])->where('status', 1)->select('website_name', 'logo')->first();
|
|
|
if (empty($result)) {
|
|
|
return Result::error("暂无该网站", 0);
|
|
|
+ }elseif ($result['logo']===0){
|
|
|
+ return Result::error("网站已经关闭", 0);
|
|
|
}
|
|
|
+
|
|
|
return Result::success($result);
|
|
|
}
|
|
|
|