新版本官网优化完成
This commit is contained in:
@@ -95,9 +95,9 @@ export async function removeBatchCmsWebsite(data: (number | undefined)[]) {
|
||||
/**
|
||||
* 根据id查询网站信息记录表
|
||||
*/
|
||||
export async function getCmsWebsite(id: number) {
|
||||
export async function getCmsWebsiteAll(id: number) {
|
||||
const res = await request.get<ApiResult<CmsWebsite>>(
|
||||
'https://cms-api.websoft.top/api/cms/cms-website/' + id
|
||||
'/cms/cms-website/all/' + id
|
||||
);
|
||||
if (res.code === 0 && res.data) {
|
||||
return res.data;
|
||||
@@ -120,7 +120,7 @@ export async function removeSiteInfoCache(key?: string) {
|
||||
|
||||
export async function pageCmsWebsiteAll(params: CmsWebsiteParam) {
|
||||
const res = await request.get<ApiResult<PageResult<CmsWebsite>>>(
|
||||
'https://cms-api.websoft.top/api/cms/cms-website/pageAll',
|
||||
'/cms/cms-website/pageAll',
|
||||
{
|
||||
params
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user