|
@@ -5445,7 +5445,8 @@ router.route("/batchRegistrationSzdjg").post(function(req, res, next) {
|
|
|
var _oid = users[3];
|
|
|
var _ph = users[4];
|
|
|
var _class = users[5];
|
|
|
- var _type = users[6]
|
|
|
+ var _type = users[6];
|
|
|
+ var _openid = users[7];
|
|
|
//加密密碼
|
|
|
_password = bcrypt.hashSync(_password, bcrypt.genSaltSync(10));
|
|
|
//生成激活碼
|
|
@@ -5462,7 +5463,7 @@ router.route("/batchRegistrationSzdjg").post(function(req, res, next) {
|
|
|
"",
|
|
|
0,
|
|
|
_username,
|
|
|
- "",
|
|
|
+ _openid,
|
|
|
generateAPIKey(_username),
|
|
|
_digest,
|
|
|
"",
|