Merge remote-tracking branch 'origin/master'
# Conflicts: # api/client/add.js
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user