评论商品接口有问题
This commit is contained in:
@@ -34,6 +34,15 @@ export const getProductCommentList = data => {
|
||||
})
|
||||
}
|
||||
|
||||
/** 添加商品评论 */
|
||||
export const addProductComment = data => {
|
||||
return http({
|
||||
url: '/api/service/productReview',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/** 新增订单 */
|
||||
export const addOrder = data => {
|
||||
return http({
|
||||
|
||||
@@ -275,3 +275,19 @@ export const getUserServiceList = () => {
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
/** 查询空闲客服 */
|
||||
export const getUserServiceFree = () => {
|
||||
return http({
|
||||
url: '/api/service/customerStaff/listFree',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
/** 结束客服对话 */
|
||||
export const endUserService = id => {
|
||||
return http({
|
||||
url: `/api/service/customerStaff/end/${id}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user