部分公共代码db和const放到shared目录

This commit is contained in:
liangtongchuan
2020-09-09 00:57:26 +08:00
parent de563792cc
commit f8ac401c67
21 changed files with 99 additions and 37 deletions

View File

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