feat: 稿件评论
This commit is contained in:
@ -108,8 +108,8 @@ export const patchShareWorksConfirm = (id: string, shareCode: string) => {
|
||||
};
|
||||
|
||||
// 内容稿件-评论(客户)
|
||||
export const postShareWorksComments = (id: string, shareCode: string) => {
|
||||
return Http.post(`/v1/share/works/${id}/comments`, {}, {
|
||||
export const postShareWorksComments = (id: string, shareCode: string, params = {}) => {
|
||||
return Http.post(`/v1/share/works/${id}/comments`, params, {
|
||||
headers: { 'share-code': shareCode },
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user