import conclusionlist from './conclusionlist.json'; import loglist from './loglist.json'; import reportlist from './reportlist.json'; import sheet from './sheet.json'; import sheetlist from './sheetlist.json'; module.exports = { 'GET /stats': { success: true, data: { todayPT: 114, // 今日预填写工单总数 totalPT: 514, // 所有预填写工单 oreo: 93, // 加入 Oreo 工单数 report: 8, // 今日反馈数 allSuccess: 1919, // 所有成功工单(包括 Oreo 内) all: 2024, // 所有工单(包括 Oreo 内) }, }, 'POST /admin/sheet/update': { success: true, data: {}, }, 'POST /admin/sheet/create': { success: true, data: {}, }, 'GET /admin/sheet/current': { success: true, data: sheet, }, 'GET /admin/sheet/list': { success: true, data: sheetlist, }, 'GET /admin/duty/current': { success: true, data: { isInDuty: true, currentDuty: '2', inDutyCnt: 3, otherDutyTime: '', offDutyReason: '', place: '204', dutyRecoverTime: '', }, }, 'POST /admin/duty/update': { success: true, data: {}, }, 'GET /admin/loglist': { success: true, page: 1, total: 24, data: loglist, }, 'GET /admin/reportlist': { success: true, page: 1, total: 24, data: reportlist, }, 'GET /admin/conclusionlist': { success: true, page: 1, total: 24, data: conclusionlist, }, 'GET /api/currentUser': { data: { name: 'Serati Ma', avatar: 'https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png', userid: '00000001', email: 'antdesign@alipay.com', signature: '海纳百川,有容乃大', title: '交互专家', group: '蚂蚁金服-某某某事业群-某某平台部-某某技术部-UED', tags: [ { key: '0', label: '很有想法的' }, { key: '1', label: '专注设计' }, { key: '2', label: '辣~' }, { key: '3', label: '大长腿' }, { key: '4', label: '川妹子' }, { key: '5', label: '海纳百川' }, ], notifyCount: 12, unreadCount: 11, country: 'China', geographic: { province: { label: '浙江省', key: '330000' }, city: { label: '杭州市', key: '330100' }, }, address: '西湖区工专路 77 号', phone: '0752-268888888', }, }, 'POST /api/login/outLogin': { data: {}, success: true }, 'POST /api/login/account': { status: 'ok', type: 'account', currentAuthority: 'admin', }, };