diff --git a/api/client/add.js b/api/client/add.js index 053fe56..a3f06eb 100644 --- a/api/client/add.js +++ b/api/client/add.js @@ -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) {