temp
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
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';
|
||||
import reportlist from './reportlist.json';
|
||||
import conclusionlist from './conclusionlist.json';
|
||||
|
||||
module.exports = {
|
||||
'GET /admin/stats': {
|
||||
'GET /stats': {
|
||||
success: true,
|
||||
data: {
|
||||
notInOreo: 114,
|
||||
total: 514,
|
||||
todayPT: 114, // 今日预填写工单总数
|
||||
totalPT: 514, // 所有预填写工单
|
||||
oreo: 93, // 加入 Oreo 工单数
|
||||
report: 8, // 今日反馈数
|
||||
allSuccess: 1919, // 所有成功工单(包括 Oreo 内)
|
||||
all: 2024, // 所有工单(包括 Oreo 内)
|
||||
},
|
||||
},
|
||||
'POST /admin/sheet/update': {
|
||||
|
||||
@@ -154,9 +154,6 @@ export default {
|
||||
access = '';
|
||||
res.send({ data: {}, success: true });
|
||||
},
|
||||
'POST /api/register': (req: Request, res: Response) => {
|
||||
res.send({ status: 'ok', currentAuthority: 'user', success: true });
|
||||
},
|
||||
'GET /api/500': (req: Request, res: Response) => {
|
||||
res.status(500).send({
|
||||
timestamp: 1513932555104,
|
||||
|
||||
Reference in New Issue
Block a user