替换过时的库

This commit is contained in:
ap 2021-11-23 10:01:54 +08:00
parent 453f0bd6f6
commit 956b74084a
2 changed files with 2 additions and 2 deletions

View File

@ -21,9 +21,9 @@
"midwayjs-cool-redis": "^1.1.6",
"midwayjs-cool-socket": "^1.0.8",
"midwayjs-cool-wxpay": "^1.0.12",
"mini-svg-data-uri": "^1.4.3",
"mysql2": "^2.3.0",
"svg-captcha": "^1.4.0",
"svg-to-dataurl": "^1.0.0",
"typeorm": "^0.2.37"
},
"devDependencies": {

View File

@ -8,7 +8,6 @@ import {
} from 'midwayjs-cool-core';
import { LoginDTO } from '../../dto/login';
import * as svgCaptcha from 'svg-captcha';
import * as svgToDataURL from 'svg-to-dataurl';
import { v1 as uuid } from 'uuid';
import { BaseSysUserEntity } from '../../entity/sys/user';
import { Repository } from 'typeorm';
@ -20,6 +19,7 @@ import { BaseSysMenuService } from './menu';
import { BaseSysDepartmentService } from './department';
import * as jwt from 'jsonwebtoken';
import { Context } from 'egg';
import * as svgToDataURL from 'mini-svg-data-uri';
/**
*