Compare commits
2 Commits
01cccc21c1
...
30236e4359
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
30236e4359 | ||
|
|
1ac6b88e75 |
@@ -17,7 +17,7 @@ module.exports = async (ctx) => {
|
|||||||
if (!inbound?.success) return (ctx.body = { code: "1", msg: "获取节点失败" });
|
if (!inbound?.success) return (ctx.body = { code: "1", msg: "获取节点失败" });
|
||||||
const uuid = randomUUID();
|
const uuid = randomUUID();
|
||||||
email = email || uuid.split("-")[0];
|
email = email || uuid.split("-")[0];
|
||||||
if (expiryTime > 0) {
|
if (expiryTime!=0) {
|
||||||
expiryTime = dayjs(expiryTime, "YYYY-MM-DD HH:mm:ss").valueOf();
|
expiryTime = dayjs(expiryTime, "YYYY-MM-DD HH:mm:ss").valueOf();
|
||||||
}
|
}
|
||||||
totalGB = totalGB * 1024 * 1024 * 1024;
|
totalGB = totalGB * 1024 * 1024 * 1024;
|
||||||
|
|||||||
Reference in New Issue
Block a user