From b915aadf275daeb9479bec5404b19c391375dba5 Mon Sep 17 00:00:00 2001
From: 付智勇 <fuzhiyong@efangtec.com>
Date: Wed, 6 Sep 2017 15:25:48 +0800
Subject: [PATCH] no message

---
 controller/userController.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/controller/userController.js b/controller/userController.js
index d7a5091..dc87c18 100644
--- a/controller/userController.js
+++ b/controller/userController.js
@@ -35,7 +35,7 @@ userController.prototype.addUser = async(ctx, next) =>{
         }else if(!params.userName){
             return status.paramError('userName','不能为空');                
         }
-        pw = saitMd5.md5AddSalt('123456')
+        pw = saitMd5.md5('123456')
         params.loginName = Math.random().toString(24).substr(9);        
     }else if(params.userRole == 4){
         if(!params.userMobile){
--
libgit2 0.24.0