vue-cli-plugin-macula-auto-routing
Version:
Vue CLI plugin that provides auto routing feature
17 lines (15 loc) • 327 B
JavaScript
const mockjs = require('mockjs')
module.exports = {
'GET /api/currentUser': {
name: 'Serati Ma',
avatar:
'https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png',
userid: '00000001',
notifyCount: 12
},
'POST /api/forms': (req, res) => {
res.send({
message: 'ok'
})
}
}