1、response修改 2、负数扣款
This commit is contained in:
@@ -93,7 +93,14 @@ func (l *YYSY6F2ELogic) YYSY6F2E(req *types.Request) (resp string, err *errs.App
|
||||
|
||||
westResp, callAPIErr := l.svcCtx.WestDexService.CallAPI("G15BJ02", apiRequest)
|
||||
if callAPIErr != nil {
|
||||
return "", errs.ErrSystem
|
||||
if callAPIErr == errs.ErrDataSource {
|
||||
encryptData, aesEncrypt := crypto.AesEncrypt(westResp, key)
|
||||
if aesEncrypt != nil {
|
||||
return "", errs.ErrSystem
|
||||
}
|
||||
return encryptData, callAPIErr
|
||||
}
|
||||
return "", callAPIErr
|
||||
}
|
||||
|
||||
encryptData, aesEncrypt := crypto.AesEncrypt(westResp, key)
|
||||
|
||||
Reference in New Issue
Block a user