src/api/common.js
@@ -16,4 +16,19 @@ fileName: val } }) } } export function report(params) { return request({ url: '/report', method: 'post', data: params }) } export function getReportById(id) { return request({ url: `/report/${id}`, method: 'get', }) }