1
This commit is contained in:
@@ -15,6 +15,22 @@ func TestPayStatusQuery(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
func TestClosePay(t *testing.T) {
|
||||
api.ClosePay(&ClosePayMiniOrder{
|
||||
MerchantNo: "822651059990E2S",
|
||||
TermNo: "M3595962",
|
||||
OriginOutTradeNo: "88491738418134",
|
||||
OriginTradeNo: "",
|
||||
LocationInfo: struct {
|
||||
RequestIp string `json:"request_ip"`
|
||||
BaseStation string `json:"base_station"`
|
||||
Location string `json:"location"`
|
||||
}{
|
||||
RequestIp: "127.0.0.1",
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
func TestCardBin(t *testing.T) {
|
||||
result, err := api.QueryCarBin(GetOrderNumber(8), OrgCode, "4275711234554321")
|
||||
globals.SugarLogger.Debugf("result := %s", utils.Format4Output(result, false))
|
||||
|
||||
Reference in New Issue
Block a user