huangjiajun pirms 1 mēnesi
vecāks
revīzija
6b70a3b89b
1 mainītis faili ar 13 papildinājumiem un 3 dzēšanām
  1. +13
    -3
      yibao_pay/api.go

+ 13
- 3
yibao_pay/api.go Parādīt failu

@@ -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
}

Notiek ielāde…
Atcelt
Saglabāt