|
@@ -1472,7 +1472,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
//获取所有数据
|
|
|
$result = WebsiteCategory::where(['website_id' => $website_id, 'path' => NULL])->get()->toArray();
|
|
|
if (empty($result)) {
|
|
|
- return Result::error("没有数据", 0);
|
|
|
+ // return Result::error("没有数据", 0);
|
|
|
}
|
|
|
//处理path
|
|
|
foreach ($result as $key => $value) {
|