acdr/ruoyi-vue-pro/yudao-ui/yudao-ui-mall-uniapp/sheep/api/product/comment.js

23 lines
434 B
JavaScript
Raw Normal View History

2024-09-02 07:40:26 +08:00
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;