temp
This commit is contained in:
@@ -79,9 +79,7 @@ func (l *FLXG162ALogic) FLXG162A(req *types.Request) (resp *types.Response, err
|
||||
return nil, errs.ErrSystem
|
||||
}
|
||||
|
||||
if respData.Data.Code == "00" || respData.Data.Code == "100002" {
|
||||
l.ctx = context.WithValue(l.ctx, "Charges", true)
|
||||
} else {
|
||||
if respData.Data.Code != "00" && respData.Data.Code != "100002" {
|
||||
return nil, errs.ErrSystem
|
||||
}
|
||||
encryptData, aesEncrypt := crypto.AesEncrypt(westResp, key)
|
||||
|
||||
@@ -80,10 +80,8 @@ func (l *FLXG3D56Logic) FLXG3D56(req *types.Request) (resp *types.Response, err
|
||||
return nil, errs.ErrSystem
|
||||
}
|
||||
|
||||
if respData.Data.Code == "00" || respData.Data.Code == "100002" {
|
||||
l.ctx = context.WithValue(l.ctx, "Charges", true)
|
||||
} else {
|
||||
return nil, errs.ErrSystem
|
||||
if respData.Data.Code != "00" && respData.Data.Code != "100002" {
|
||||
return nil, errs.ErrDataSource
|
||||
}
|
||||
encryptData, aesEncrypt := crypto.AesEncrypt(westResp, key)
|
||||
if aesEncrypt != nil {
|
||||
|
||||
@@ -79,9 +79,7 @@ func (l *FLXG54F5Logic) FLXG54F5(req *types.Request) (resp *types.Response, err
|
||||
return nil, errs.ErrSystem
|
||||
}
|
||||
|
||||
if respData.Code == "0000" {
|
||||
l.ctx = context.WithValue(l.ctx, "Charges", true)
|
||||
} else {
|
||||
if respData.Code != "0000" {
|
||||
return nil, errs.ErrSystem
|
||||
}
|
||||
encryptData, aesEncrypt := crypto.AesEncrypt(westResp, key)
|
||||
|
||||
Reference in New Issue
Block a user