我这都是啥时候没发出去的草稿了哟。
/** * 根据模块id获取评论 */export function getCommentByModuleId(module, moduleId) { return request({url: `/api/web/comment/${module}/${moduleId}`,method: 'get', });}/** * 发表评论 */export function comment(data) { return request({url: '/api/web/comment/',method: 'post',data });}