修改管理页面

This commit is contained in:
2025-10-16 16:50:46 +08:00
parent 5d93a81ec6
commit a5d1de0e23
2 changed files with 40 additions and 23 deletions

View File

@ -26,3 +26,21 @@ export function getNewsDetail(params) {
params,
})
}
// 保存新闻
export function updateNews(data) {
return request({
url: '/news/B8fpNxunbxj37x3VRcVz',
method: 'post',
data,
})
}
// 获取新闻列表
export function saveDetail(data) {
return request({
url: '/news/VbxWW8EdJQGyWzJyvSrN',
method: 'post',
data,
})
}