|
@@ -615,10 +615,10 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
|
|
|
|
|
|
/**
|
|
|
+ * 获取栏目
|
|
|
* @param array $data
|
|
|
* @return array
|
|
|
*/
|
|
|
- //获取栏目
|
|
|
public function getWebsiteModelCategory(array $data): array
|
|
|
{
|
|
|
$website_id=[
|
|
@@ -642,10 +642,10 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
|
|
|
|
|
|
/**
|
|
|
+ * 获取友情链接
|
|
|
* @param array $data
|
|
|
* @return array
|
|
|
*/
|
|
|
- //获取友情链接
|
|
|
public function selectWebsiteLinks(array $data): array
|
|
|
{
|
|
|
$where = [
|
|
@@ -660,10 +660,9 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
}else{
|
|
|
return Result::error("本网站暂无此类型友情链接",0);
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
* 网站首页数据统计, 管理员
|
|
|
* @return void
|