const path = "/api/warn"; const method = "GET"; const respData = { data: [ { id:'1', userName: "xingqiao", departmentName: "数据部", role:"开发" }, { id:'2', userName: "ltt", departmentName: "数据部", role:"开发" }, { id:'3', userName: "tt", departmentName: "数据部", role:"产品" } ], resultCode: "0", resultMsg: "string", }; module.exports = [ { request: { method, path, }, response: { statusCode: 200, body: JSON.stringify(respData), }, }, ];