zyejMAll-mobile/sheep/api/product/comment.js
2024-08-07 10:31:42 +08:00

23 lines
434 B
JavaScript

import request from '@/sheep/request';
const CommentApi = {
// 获得商品评价分页
getCommentPage: (spuId, pageNo, pageSize, type) => {
return request({
url: '/product/comment/page',
method: 'GET',
params: {
spuId,
pageNo,
pageSize,
type,
},
custom: {
showLoading: false,
showError: false,
},
});
},
};
export default CommentApi;