|
@@ -96,9 +96,9 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @param int $id
|
|
|
- * @param array $data
|
|
|
- * @return array
|
|
|
+ * @param int $id
|
|
|
+ * @param array $data
|
|
|
+ * @return array
|
|
|
*/
|
|
|
public function updateWebsite(int $id,array $data): array
|
|
|
{
|
|
@@ -126,7 +126,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @param int $id
|
|
|
+ * @param int $id
|
|
|
* @return array
|
|
|
*/
|
|
|
public function delWebsite(int $id): array
|
|
@@ -478,6 +478,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
return Result::success($result);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
* 查询网站的广告
|
|
|
* @param array $data
|
|
@@ -525,6 +526,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
*
|
|
|
* @param array $data
|
|
@@ -555,6 +557,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
$result=$depart;
|
|
|
return Result::success($result['data']);
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
*
|
|
|
* @param array $data
|
|
@@ -612,6 +615,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
}
|
|
|
return Result::success($result);
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
* @param array $data
|
|
|
* @return array
|
|
@@ -637,6 +641,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+
|
|
|
/**
|
|
|
* @param array $data
|
|
|
* @return array
|