优化已知问题

This commit is contained in:
2025-03-15 16:37:11 +08:00
parent abb9a4dbe7
commit 287ceacaf3
19 changed files with 279 additions and 123 deletions

View File

@@ -68,7 +68,7 @@ export async function updateCmsWebsite(data: CmsWebsite) {
*/
export async function updateCmsWebsiteAll(data: CmsWebsite) {
const res = await request.put<ApiResult<unknown>>(
'http://127.0.0.1:9002/api/cms/cms-website/updateAll',
'/cms/cms-website/updateAll',
data
);
if (res.code === 0) {

View File

@@ -46,7 +46,6 @@ export async function updateUser(data: User){
return res.message ?? '修改成功';
}
return Promise.reject(new Error(res.message));
}
/**