修复支付不跳转

This commit is contained in:
2026-09-28 22:17:18 +08:00
parent 92403171d4
commit 7c75edcc61
8 changed files with 113 additions and 6 deletions
+4
View File
@@ -221,6 +221,10 @@ func LoadChannelConfig(channel string) (*ChannelConfig, error) {
}
if row.CertJSON != nil && *row.CertJSON != "" {
_ = json.Unmarshal([]byte(*row.CertJSON), &cfg.CertPaths)
// 历史数据存的是相对路径,这里统一解析为当前可读路径,避免依赖进程工作目录
for key, val := range cfg.CertPaths {
cfg.CertPaths[key] = ResolveCertPath(val)
}
}
return cfg, nil
}