1
This commit is contained in:
@@ -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'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user