You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
434 B
23 lines
434 B
3 months ago
|
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;
|