diff --git a/src/rest/custom/webhook.js b/src/rest/custom/webhook.js index f17f2bc..17dabdf 100644 --- a/src/rest/custom/webhook.js +++ b/src/rest/custom/webhook.js @@ -14,7 +14,7 @@ module.exports = { > 发布版本:${info.version} > 打包完成时间:${info.download}` } - }, {params: {key: "a5971027-2dd3-4c23-a4e4-c99a962d25a7",}}).then(res => { + }, {params: {key: info.webhook || "a5971027-2dd3-4c23-a4e4-c99a962d25a7",}}).then(res => { response.send({code: 0, msg: res.data}) }) } else response.send({code: 1, err: "无法找到项目信息"})