1、response修改 2、负数扣款
This commit is contained in:
		| @@ -92,7 +92,14 @@ func (l *QYGL6F2DLogic) QYGL6F2D(req *types.Request) (resp string, err *errs.App | ||||
|  | ||||
| 	westResp, callAPIErr := l.svcCtx.WestDexService.CallAPI("G05XM02", 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