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 }