From 6b70a3b89bf2d2da4758ab715521429f09b6458f Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 8 Nov 2024 08:43:57 +0800 Subject: [PATCH] 1 --- yibao_pay/api.go | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/yibao_pay/api.go b/yibao_pay/api.go index f9598c8..0be614b 100644 --- a/yibao_pay/api.go +++ b/yibao_pay/api.go @@ -84,14 +84,24 @@ func CommKey(eg *xorm.Engine, Prd bool) map[string]string { appId := offical.SysCfgByKeyStr(eg, "yibao_appid") isvPriKey := offical.SysCfgByKeyStr(eg, "yibao_key") parentMerchantNo := offical.SysCfgByKeyStr(eg, "yibao_merchant_no") + zhiyingMerchantNo := offical.SysCfgByKeyStr(eg, "yibao_zhiying_merchant_no") + zhiyingOnlineBili := offical.SysCfgByKeyStr(eg, "yibao_zhiying_online_bili") + zhiyingUnlineBili := offical.SysCfgByKeyStr(eg, "yibao_zhiying_unline_bili") + yibaoOnlineBili := offical.SysCfgByKeyStr(eg, "yibao_online_bili") + yibaoUnlineBili := offical.SysCfgByKeyStr(eg, "yibao_unline_bili") if Prd == false { appId = offical.SysCfgByKeyStr(eg, "yibao_appid_test") isvPriKey = offical.SysCfgByKeyStr(eg, "yibao_key_test") } res := map[string]string{ - "appId": appId, - "isvPriKey": isvPriKey, - "parentMerchantNo": parentMerchantNo, + "zhiyingOnlineBili": zhiyingOnlineBili, + "zhiyingUnlineBili": zhiyingUnlineBili, + "yibaoOnlineBili": yibaoOnlineBili, + "yibaoUnlineBili": yibaoUnlineBili, + "appId": appId, + "zhiyingMerchantNo": zhiyingMerchantNo, + "isvPriKey": isvPriKey, + "parentMerchantNo": parentMerchantNo, } return res }