Merge remote-tracking branch 'origin/master'

# Conflicts:
#	api/client/add.js
This commit is contained in:
2025-10-18 12:59:12 +08:00

View File

@@ -13,7 +13,7 @@ module.exports = async (ctx) => {
});
}
const inbound = await ins.get(`/panel/api/inbounds/get/${id}`);
if (!inbound?.success) return (ctx.body = {code: "1", msg: "获取节点失败"});
if (!inbound?.success) return (ctx.body = { code: "1", msg: `获取节点失败:${inbound}` });
uuid = uuid || randomUUID();
email = email || uuid.split("-")[0];
if (expiryTime != 0) {