优化了一些文件 增加多店铺

This commit is contained in:
yml
2026-04-09 01:31:47 +08:00
parent c2ec3aa6d2
commit e4ab1f559e
43 changed files with 1839 additions and 91 deletions
+15
View File
@@ -74,6 +74,17 @@ module.exports = {
// Agiso 开放平台应用密钥,用于 webhook 验签。
appSecret: '',
tradeDetail: {
// 咸鱼 webhook 不带金额时,用这个接口按订单号补查订单详情。
endpoint: 'https://gw-api.agiso.com/aldsIdle/Order/Detail',
// Header 中的 ApiVersion。
apiVersion: '1',
// 请求超时,单位毫秒。
timeoutMs: 5000,
},
messaging: {
// 是否启用 Agiso 站内消息发送。
enabled: false,
@@ -98,6 +109,10 @@ module.exports = {
// 发送给用户的默认消息模板。
messageTemplate: '您的订单 {platformOrderId} 已创建领取链接,请在 {expiredAt} 前完成领取:{claimUrl}',
// 平台内多店铺配置,按 shopId 做覆盖。
// 常见场景:同一个 Agiso 应用下,不同店铺使用不同 AccessToken。
shops: {},
},
},
},