付智勇

no message

@@ -35,7 +35,7 @@ userController.prototype.addUser = async(ctx, next) =>{ @@ -35,7 +35,7 @@ userController.prototype.addUser = async(ctx, next) =>{
35 }else if(!params.userName){ 35 }else if(!params.userName){
36 return status.paramError('userName','不能为空'); 36 return status.paramError('userName','不能为空');
37 } 37 }
38 - pw = saitMd5.md5AddSalt('123456') 38 + pw = saitMd5.md5('123456')
39 params.loginName = Math.random().toString(24).substr(9); 39 params.loginName = Math.random().toString(24).substr(9);
40 }else if(params.userRole == 4){ 40 }else if(params.userRole == 4){
41 if(!params.userMobile){ 41 if(!params.userMobile){