This commit is contained in:
邹宗楠
2025-07-16 15:28:41 +08:00
parent 8f90fa9ee5
commit 67ce43a19a
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ func TestPayStatusQuery(t *testing.T) {
}
func TestCardBin(t *testing.T) {
result, err := api.QueryCarBin(GetOrderNumber(8), "1", "4275711234554321")
result, err := api.QueryCarBin(GetOrderNumber(8), OrgCode, "4275711234554321")
globals.SugarLogger.Debugf("result := %s", utils.Format4Output(result, false))
globals.SugarLogger.Debugf("result := %v", err)
}

View File

@@ -52,7 +52,7 @@ const (
SM4Key = "LHo55AjrT4aDhAIBZhb5KQ==" // 国密4-参数加密使用 lakala分配
MerchantNo = "82229007392000A" // 商户号 商户进件产生
TermNo = "D9296400" // 终端号 商户进件产生
OrgCode = "200669" // 终端号 商户进件产生
OrgCode = "983931" // 终端号 商户进件产生
)
// 测试参数

View File

@@ -22,7 +22,7 @@ func init() {
incomingToken := "45e36fcc-7fe6-4235-9b15-9de16663be5f"
modifiedToken := "73184b9f-87d7-426a-9474-d8b8c98b037c"
//incomingExpire := time.Now().Unix()+42896
orgCode := "200669"
orgCode := "983931"
api = New(AppID, SerialNo, SM4Key, ClientID, ClientSecret, incomingToken, modifiedToken, orgCode)
}