评论商品接口有问题

This commit is contained in:
bobobobo
2026-01-16 00:12:33 +08:00
parent d2ba0df2b5
commit 5cd2732562
164 changed files with 14318 additions and 197 deletions

View File

@@ -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({

View File

@@ -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'
})
}