猜你像搜索

This commit is contained in:
menxipeng
2025-08-19 15:45:35 +08:00
parent 7c467fe498
commit 335ff2f9dd
9 changed files with 749 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询【请填写功能名称】列表
export function listContent(query) {
return request({
url: '/back/content/list',
method: 'get',
params: query
})
}
// 查询【请填写功能名称】详细
export function getContent(id) {
return request({
url: '/back/content/' + id,
method: 'get'
})
}
// 新增【请填写功能名称】
export function addContent(data) {
return request({
url: '/back/content',
method: 'post',
data: data
})
}
// 修改【请填写功能名称】
export function updateContent(data) {
return request({
url: '/back/content',
method: 'put',
data: data
})
}
// 删除【请填写功能名称】
export function delContent(id) {
return request({
url: '/back/content/' + id,
method: 'delete'
})
}