diff --git a/GDZZ.Application/Service/Auth/AuthService.cs b/GDZZ.Application/Service/Auth/AuthService.cs index 9d3e36d..db17153 100644 --- a/GDZZ.Application/Service/Auth/AuthService.cs +++ b/GDZZ.Application/Service/Auth/AuthService.cs @@ -508,7 +508,7 @@ namespace GDZZ.Application.Service.Auth value = token.Result.AccessToken; } var res = await this._wechatOAuth.GetShareCodeAsync(value,scene, page); - var fileName = Path.Combine(App.WebHostEnvironment.WebRootPath+ UserManager.UserId + "_" + DateTime.Now + "png"); + var fileName = Path.Combine(App.WebHostEnvironment.WebRootPath+"/"+ UserManager.UserId +".png"); Console.WriteLine(fileName); try {