src/api/common.js
@@ -17,3 +17,18 @@ } }) } export function report(params) { return request({ url: '/report', method: 'post', data: params }) } export function getReportById(id) { return request({ url: `/report/${id}`, method: 'get', }) }