修改自定义错误判断方式
This commit is contained in:
		| @@ -92,7 +92,7 @@ func (l *QYGL6F2DLogic) QYGL6F2D(req *types.Request) (resp string, err *errs.App | ||||
|  | ||||
| 	westResp, callAPIErr := l.svcCtx.WestDexService.CallAPI("G05XM02", apiRequest) | ||||
| 	if callAPIErr != nil { | ||||
| 		if callAPIErr == errs.ErrDataSource { | ||||
| 		if callAPIErr.Code == errs.ErrDataSource.Code { | ||||
| 			encryptData, aesEncrypt := crypto.AesEncrypt(westResp, key) | ||||
| 			if aesEncrypt != nil { | ||||
| 				return "", errs.ErrSystem | ||||
|   | ||||
		Reference in New Issue
	
	Block a user