diff --git a/GDZZ.Application/Service/Auth/AuthService.cs b/GDZZ.Application/Service/Auth/AuthService.cs index 80a660b..2faa6b8 100644 --- a/GDZZ.Application/Service/Auth/AuthService.cs +++ b/GDZZ.Application/Service/Auth/AuthService.cs @@ -512,6 +512,7 @@ namespace GDZZ.Application.Service.Auth var res = await this._wechatOAuth.GetShareCodeAsync(value,scene, page); var fileName = Path.Combine("/" + UserManager.UserId + ".png"); + try { var filePath = Path.Combine(App.WebHostEnvironment.WebRootPath, _options.QRCode.path);