update
This commit is contained in:
parent
0fdcaf3bfc
commit
108e7db8f3
File diff suppressed because it is too large
Load Diff
@ -63,7 +63,7 @@
|
|||||||
/******/ __webpack_require__.p = "";
|
/******/ __webpack_require__.p = "";
|
||||||
|
|
||||||
/******/ // Load entry module and return exports
|
/******/ // Load entry module and return exports
|
||||||
/******/ return __webpack_require__(__webpack_require__.s = 1145);
|
/******/ return __webpack_require__(__webpack_require__.s = 1147);
|
||||||
/******/ })
|
/******/ })
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ ([
|
/******/ ([
|
||||||
@ -62129,7 +62129,7 @@ var _i18next2 = _interopRequireDefault(_i18next);
|
|||||||
|
|
||||||
var _semanticUiReact = __webpack_require__(8);
|
var _semanticUiReact = __webpack_require__(8);
|
||||||
|
|
||||||
var _Form = __webpack_require__(1090);
|
var _Form = __webpack_require__(1092);
|
||||||
|
|
||||||
var _Form2 = _interopRequireDefault(_Form);
|
var _Form2 = _interopRequireDefault(_Form);
|
||||||
|
|
||||||
@ -62327,7 +62327,9 @@ exports.default = (0, _reactRedux.connect)()(Root);
|
|||||||
/* 1087 */,
|
/* 1087 */,
|
||||||
/* 1088 */,
|
/* 1088 */,
|
||||||
/* 1089 */,
|
/* 1089 */,
|
||||||
/* 1090 */
|
/* 1090 */,
|
||||||
|
/* 1091 */,
|
||||||
|
/* 1092 */
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
@ -62383,8 +62385,6 @@ var loginForm = function loginForm(_ref) {
|
|||||||
exports.default = loginForm;
|
exports.default = loginForm;
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
/* 1091 */,
|
|
||||||
/* 1092 */,
|
|
||||||
/* 1093 */,
|
/* 1093 */,
|
||||||
/* 1094 */,
|
/* 1094 */,
|
||||||
/* 1095 */,
|
/* 1095 */,
|
||||||
@ -62437,7 +62437,9 @@ exports.default = loginForm;
|
|||||||
/* 1142 */,
|
/* 1142 */,
|
||||||
/* 1143 */,
|
/* 1143 */,
|
||||||
/* 1144 */,
|
/* 1144 */,
|
||||||
/* 1145 */
|
/* 1145 */,
|
||||||
|
/* 1146 */,
|
||||||
|
/* 1147 */
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
/***/ (function(module, exports, __webpack_require__) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -52,7 +52,7 @@ router
|
|||||||
res.db.query(q, p, (err, row) => {
|
res.db.query(q, p, (err, row) => {
|
||||||
let pros = [];
|
let pros = [];
|
||||||
if (!(err || row.length == 0 || row[0].c > 0)) {
|
if (!(err || row.length == 0 || row[0].c > 0)) {
|
||||||
let q = "insert into ??.?? values (null, ?, '', unix_timestamp(), unix_timestamp())";
|
let q = "insert into ??.?? (`mac`, `name`, `cuser`, `muser`, `ctime`, `mtime`) values (?, '', 'API', 'API', unix_timestamp(), unix_timestamp())";
|
||||||
let p = [config.db.db9, 'wristband', arr.mac];
|
let p = [config.db.db9, 'wristband', arr.mac];
|
||||||
pros.push(tool.promiseQuery(res, q, p, 'q1'));
|
pros.push(tool.promiseQuery(res, q, p, 'q1'));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user