1
This commit is contained in:
@@ -118,6 +118,17 @@ export function getTbProductTypeMap() {
|
||||
})
|
||||
}
|
||||
|
||||
// 获取评论(调用外部接口,按商品ID/SKU拉取评论)
|
||||
const FETCH_COMMENTS_BASE = 'http://192.168.8.60:5008'
|
||||
export function fetchComments(productId) {
|
||||
return request({
|
||||
url: FETCH_COMMENTS_BASE + '/fetch_comments',
|
||||
method: 'get',
|
||||
params: { product_id: productId },
|
||||
headers: { isToken: false }
|
||||
})
|
||||
}
|
||||
|
||||
// 获取当前IP地址(公开接口)
|
||||
export function getCurrentIP() {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user