huangjiajun 1 月之前
父節點
當前提交
6b70a3b89b
共有 1 個檔案被更改,包括 13 行新增3 行删除
  1. +13
    -3
      yibao_pay/api.go

+ 13
- 3
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
}

Loading…
取消
儲存