lsc 1 rok temu
rodzic
commit
f29b9c90a4
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      pbl.js

+ 3 - 2
pbl.js

@@ -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,
         "",