修改状态码机制,初步改造web-server中接口返回

This commit is contained in:
liangtongchuan
2020-10-16 16:02:34 +08:00
parent c8a826466b
commit fefd2dfdd5
7 changed files with 46 additions and 34 deletions

View File

@@ -1,4 +1,4 @@
import { ENCRYPT_KEY, ENCRYPT_IV } from './../../../shared/consts/consts';
import { ENCRYPT_KEY, ENCRYPT_IV } from '@consts/consts';
import { Context } from 'egg';
const crypto = require('crypto');
const isJSON = require('koa-is-json');