v1.0.0
This commit is contained in:
parent
e96f8a5c8d
commit
0a79a2435b
@ -78,7 +78,7 @@ func (a *ApiRequestService) ProcessRequests(params []byte, productID int64) ([]b
|
||||
resultsCh = make(chan APIResponseData, len(featureList))
|
||||
errorsCh = make(chan error, len(featureList))
|
||||
errorCount int32
|
||||
errorLimit = len(featureList)
|
||||
errorLimit = 1
|
||||
)
|
||||
|
||||
for i, feature := range featureList {
|
||||
@ -489,6 +489,7 @@ func (a *ApiRequestService) ProcessG05HZ01Request(params []byte) ([]byte, error)
|
||||
// code 不等于 "0000",返回错误
|
||||
return nil, fmt.Errorf("响应code错误%s", code.String())
|
||||
}
|
||||
|
||||
func (a *ApiRequestService) ProcessQ23SC01Request(params []byte) ([]byte, error) {
|
||||
entName := gjson.GetBytes(params, "ent_name")
|
||||
entCode := gjson.GetBytes(params, "ent_code")
|
||||
@ -545,6 +546,7 @@ func (a *ApiRequestService) ProcessQ23SC01Request(params []byte) ([]byte, error)
|
||||
}
|
||||
return finalDataBytes, nil
|
||||
}
|
||||
|
||||
func (a *ApiRequestService) ProcessG15BJ02Request(params []byte) ([]byte, error) {
|
||||
name := gjson.GetBytes(params, "name")
|
||||
idCard := gjson.GetBytes(params, "id_card")
|
||||
@ -577,6 +579,7 @@ func (a *ApiRequestService) ProcessG15BJ02Request(params []byte) ([]byte, error)
|
||||
|
||||
return nil, fmt.Errorf("三要素核验失败: %+v", resp)
|
||||
}
|
||||
|
||||
func (a *ApiRequestService) ProcessG17BJ02Request(params []byte) ([]byte, error) {
|
||||
name := gjson.GetBytes(params, "name")
|
||||
mobile := gjson.GetBytes(params, "mobile")
|
||||
@ -607,6 +610,7 @@ func (a *ApiRequestService) ProcessG17BJ02Request(params []byte) ([]byte, error)
|
||||
|
||||
return nil, fmt.Errorf("手机二要素核验失败: %+v", resp)
|
||||
}
|
||||
|
||||
func (a *ApiRequestService) ProcessG08SC02Request(params []byte) ([]byte, error) {
|
||||
name := gjson.GetBytes(params, "name")
|
||||
idCard := gjson.GetBytes(params, "id_card")
|
||||
@ -627,6 +631,7 @@ func (a *ApiRequestService) ProcessG08SC02Request(params []byte) ([]byte, error)
|
||||
}
|
||||
return resp, nil
|
||||
}
|
||||
|
||||
func (a *ApiRequestService) ProcessKZEYSRequest(params []byte) ([]byte, error) {
|
||||
name := gjson.GetBytes(params, "name")
|
||||
idCard := gjson.GetBytes(params, "id_card")
|
||||
@ -744,6 +749,7 @@ func (a *ApiRequestService) ProcessCAR061Request(params []byte) ([]byte, error)
|
||||
}
|
||||
return resp, nil
|
||||
}
|
||||
|
||||
func (a *ApiRequestService) ProcessG10SC02Request(params []byte) ([]byte, error) {
|
||||
// 提取男方和女方信息
|
||||
nameMan := gjson.GetBytes(params, "nameMan")
|
||||
|
Loading…
Reference in New Issue
Block a user