added hostName
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
const PublishType = require("./PublishType");
|
const PublishType = require("./PublishType");
|
||||||
|
const {hostname} = require("os");
|
||||||
|
const hostName = hostname();
|
||||||
|
|
||||||
class ReserveResultPojo {
|
class ReserveResultPojo {
|
||||||
|
|
||||||
@@ -13,6 +15,7 @@ class ReserveResultPojo {
|
|||||||
this.email = mail;
|
this.email = mail;
|
||||||
this.type = type;
|
this.type = type;
|
||||||
this.source_from = ""
|
this.source_from = ""
|
||||||
|
this.hostName = hostName
|
||||||
this.created_at = new Date().toLocaleString()
|
this.created_at = new Date().toLocaleString()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -27,7 +30,8 @@ class ReserveResultPojo {
|
|||||||
url: this.url,
|
url: this.url,
|
||||||
store_type: this.storeType,
|
store_type: this.storeType,
|
||||||
source_from: this.source_from,
|
source_from: this.source_from,
|
||||||
created_at: this.created_at
|
created_at: this.created_at,
|
||||||
|
hostName: this.hostName
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user