This commit is contained in:
Leo
2026-01-03 12:13:23 +08:00
parent 5d037eaeee
commit 1a4e56bfed
3 changed files with 359 additions and 14 deletions

View File

@@ -118,3 +118,28 @@ export function getTbProductTypeMap() {
})
}
// 获取当前IP地址公开接口
export function getCurrentIP() {
return request({
url: '/public/comment/ip',
method: 'get'
})
}
// 获取评论生成历史记录(公开接口)
export function getCommentHistory(query) {
return request({
url: '/public/comment/history',
method: 'get',
params: query
})
}
// 获取评论生成使用统计(公开接口)
export function getCommentUsageStatistics() {
return request({
url: '/public/comment/usage-statistics',
method: 'get'
})
}