diff --git a/configs/config.yaml b/configs/config.yaml index 3243cb0..907122e 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -68,7 +68,7 @@ cmb: notifyUrl: "https://sandbox.cdcc.cmbchina.com/AccessGateway/transIn/updateCodeStatus.json" # 招行测试回调地址 noticeStartDays: 7 noticeEndDays: 1 - kxNoticeUrl: "" + kxNoticeUrl: "https://wpcallbacks.api.1688sup.com/wechatPay/register_tag" #告警配置 alarm: diff --git a/internal/data/mixrepoimpl/kx.go b/internal/data/mixrepoimpl/kx.go index 4e6a756..68e7d08 100644 --- a/internal/data/mixrepoimpl/kx.go +++ b/internal/data/mixrepoimpl/kx.go @@ -23,7 +23,7 @@ func NewKxMixRepoImpl(bc *conf.Bootstrap) mixrepos.KxMixRepo { "Content-Type": []string{"application/json"}, } hc := &http.Client{ - Timeout: 5 * time.Second, + Timeout: 10 * time.Second, Transport: &http.Transport{ MaxIdleConns: 350, // 最大空闲连接数 MaxIdleConnsPerHost: 150, // 每个主机的最大空闲连接数