1
This commit is contained in:
@@ -60,3 +60,20 @@ func TestSubMerchantInfoQuery(t *testing.T) {
|
||||
globals.SugarLogger.Debugf("data := %s", utils.Format4Output(data, false))
|
||||
globals.SugarLogger.Debugf("data := %v", err)
|
||||
}
|
||||
|
||||
func TestSaveAuthentication(t *testing.T) {
|
||||
param := &AuthenticationInfo{
|
||||
Version: "1.0",
|
||||
OrderNo: "2025072918172341473085",
|
||||
OrgCode: "983931",
|
||||
MerInnerNo: "4002025072332184643",
|
||||
ContactType: "LEGAL",
|
||||
Name: "石锋",
|
||||
ContactIdDocType: "IDENTIFICATION_TYPE_IDCARD",
|
||||
IdCardNumber: "610126198012230014",
|
||||
ContactPeriodBegin: "2013-01-25",
|
||||
ContactPeriodEnd: "2033-01-25",
|
||||
Mobile: "18048531223",
|
||||
}
|
||||
api.SaveAuthentication(param, "WXPAY")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user