|
@@ -2341,7 +2341,7 @@ router.route('/batchRegistrationSchool').post(function(req, res, next) {
|
|
|
let _school = arr[i].school;
|
|
|
let _org = users.org;
|
|
|
//用戶數據
|
|
|
- let _ata = [
|
|
|
+ let _data = [
|
|
|
_school,
|
|
|
_org,
|
|
|
'',
|
|
@@ -2349,9 +2349,9 @@ router.route('/batchRegistrationSchool').post(function(req, res, next) {
|
|
|
'',
|
|
|
];
|
|
|
//參數拼接,註冊
|
|
|
- _userdata.unshift(_mysqluser[0], _mysqluser[1], "insertSchoolByOrg");
|
|
|
+ _data.unshift(_mysqluser[0], _mysqluser[1], "insertSchoolByOrg");
|
|
|
//用戶註冊處理
|
|
|
- mysql.usselect(_userdata, function(ret) {
|
|
|
+ mysql.usselect(_data, function(ret) {
|
|
|
res.end(JSON.stringify({ success: 1 }));
|
|
|
});
|
|
|
}
|