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

+25
View File
@@ -0,0 +1,25 @@
import request from '@/config/axios'
// 查询私聊消息列表
export const page = async (data: any) => {
return await request.post({
url: '/chat/private-msg/page',
data: data
})
}
// 获取私聊详细信息
export const getInfo = async (id: any) => {
return await request.get({
url: '/chat/private-msg/getById?id=' + id,
})
}
// 私聊消息统计
export const dailyCount = async (params: any) => {
return await request.get({
url: '/chat/private-msg/cout',
params: params
})
}
+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
})
}