mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-22 16:55:49 +00:00
完成大部分基础功能
This commit is contained in:
@@ -88,4 +88,27 @@ class DBInbound {
|
||||
const inbound = this.toInbound();
|
||||
return inbound.genLink(address, this.remark);
|
||||
}
|
||||
}
|
||||
|
||||
class AllSetting {
|
||||
webListen = "";
|
||||
webPort = 65432;
|
||||
webCertFile = "";
|
||||
webKeyFile = "";
|
||||
webBasePath = "/";
|
||||
|
||||
xrayTemplateConfig = "";
|
||||
|
||||
timeLocation = "Asia/Shanghai";
|
||||
|
||||
constructor(data) {
|
||||
if (data == null) {
|
||||
return
|
||||
}
|
||||
ObjectUtil.cloneProps(this, data);
|
||||
}
|
||||
|
||||
equals(other) {
|
||||
return ObjectUtil.equals(this, other);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user