|
|
@ -2,7 +2,7 @@
|
|
|
|
* @Author: ch
|
|
|
|
* @Author: ch
|
|
|
|
* @Date: 2022-06-20 11:38:48
|
|
|
|
* @Date: 2022-06-20 11:38:48
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditTime: 2022-06-29 16:04:59
|
|
|
|
* @LastEditTime: 2022-06-29 17:41:44
|
|
|
|
* @Description: file content
|
|
|
|
* @Description: file content
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
@ -15,8 +15,7 @@ const BASE_URL = '/mall/comment';
|
|
|
|
* @param {*} param0
|
|
|
|
* @param {*} param0
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export const ApiGetCommentList = (params) =>
|
|
|
|
export const ApiGetCommentList = (params) =>
|
|
|
|
ToAsyncAwait(MsbRequestTk.get(`${BASE_URL}/app/comment`, {
|
|
|
|
ToAsyncAwait(MsbRequestTk.get(`${BASE_URL}/app/comment`,params, {
|
|
|
|
...params,
|
|
|
|
|
|
|
|
notVerifyToken: true
|
|
|
|
notVerifyToken: true
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -24,7 +23,7 @@ export const ApiGetCommentList = (params) =>
|
|
|
|
* @param {*} param0
|
|
|
|
* @param {*} param0
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export const ApiGetCommentCount = ({productId}) =>
|
|
|
|
export const ApiGetCommentCount = ({productId}) =>
|
|
|
|
ToAsyncAwait(MsbRequestTk.get(`${BASE_URL}/app/comment/getAllCommentCountByProductId/${productId}`, {
|
|
|
|
ToAsyncAwait(MsbRequestTk.get(`${BASE_URL}/app/comment/getAllCommentCountByProductId/${productId}`,{}, {
|
|
|
|
notVerifyToken: true
|
|
|
|
notVerifyToken: true
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -44,7 +43,7 @@ export const ApiGetOrderCommentDetail = ({orderId}) =>
|
|
|
|
* @param {*} param0
|
|
|
|
* @param {*} param0
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export const ApiGetCommentDetail = ({commentId}) =>
|
|
|
|
export const ApiGetCommentDetail = ({commentId}) =>
|
|
|
|
ToAsyncAwait(MsbRequestTk.get(`${BASE_URL}/app/comment/getCommentDetail/${commentId}`, {
|
|
|
|
ToAsyncAwait(MsbRequestTk.get(`${BASE_URL}/app/comment/getCommentDetail/${commentId}`,{}, {
|
|
|
|
notVerifyToken: true
|
|
|
|
notVerifyToken: true
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|