From 3bd8ec86cbca3e72560a48c5d191e2247064501b Mon Sep 17 00:00:00 2001 From: ap <951984189@qq.com> Date: Wed, 16 Jun 2021 09:59:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=B0=E5=A2=9E=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=94=AF=E6=8C=81=E8=AE=BE=E7=BD=AE=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/modules/base/service/sys/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/modules/base/service/sys/user.ts b/src/app/modules/base/service/sys/user.ts index 501d001..9df597f 100644 --- a/src/app/modules/base/service/sys/user.ts +++ b/src/app/modules/base/service/sys/user.ts @@ -123,7 +123,7 @@ export class BaseSysUserService extends BaseService { if (!_.isEmpty(exists)) { throw new CoolCommException('用户名已经存在~'); } - param.password = md5('123456'); // 默认密码 建议未改密码不能登陆 + param.password = md5(param.password); await this.baseSysUserEntity.save(param); await this.updateUserRole(param); return param.id;