Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
付智勇
/
koa2_Sequelize_project
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
付智勇
8 years ago
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
337c4a5af8daa0c2a334392409f08a4c09edb050
337c4a5a
1 parent
7499032b
master
...
20171113
nows
revert-2a1f6481
no message
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
controller/userController.js
controller/userController.js
查看文件 @
337c4a5
...
...
@@ -46,8 +46,10 @@ userController.prototype.addUser = async(ctx, next) =>{
return
status
.
paramError
(
'password'
,
'不得小于6位'
);
}
}
let
id
=
await
uuid
.
db32
()
var
user
=
{
id
:
id
,
loginName
:
params
.
loginName
,
password
:
pw
.
md5Pass
,
companyName
:
params
.
companyName
,
...
...
请
注册
或
登录
后发表评论