feat:敏感词页面

This commit is contained in:
dzc committed 2025-11-26 13:17:49 +08:00
1 parent f68a0f9b5e
commit 94ee3201e2
8 files changed
+402 -88

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
import request from '@/config/axios'
// 查询敏感词列表
export const page = async (data: any) => {
return await request.post({
url: '/chat/sensitive/page',
data: data
})
}
// 获取敏感词详细信息
export const getInfo = async (id: any) => {
return await request.get({
url: '/chat/sensitive/getById?id=' + id,
})
}
// 创建或者更新敏感词
export const createOrUpdate = async (data: any) => {
return await request.post({
url: '/chat/sensitive/createOrUpdate',
data: data
})
}
// 删除敏感词
export const delByIds = async (ids:any) => {
return await request.delete({
url: '/chat/sensitive/delByIds?ids=' + ids
})
}