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