mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Update machine-uuid-mysql.js
This commit is contained in:
parent
ace15e3248
commit
2064d40bc9
|
@ -27,9 +27,14 @@ function register() {
|
||||||
|
|
||||||
function main(args) {
|
function main(args) {
|
||||||
var result = register();
|
var result = register();
|
||||||
var last_id = result.last_id;
|
|
||||||
|
var status = result.status;
|
||||||
console.log("LAST_ID: " + last_id);
|
if (status == 200) {
|
||||||
|
var last_id = result.last_id;
|
||||||
|
console.log("LAST_ID: " + last_id);
|
||||||
|
} else {
|
||||||
|
console.error("Error code: " + status);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.main = main;
|
exports.main = main;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user