From 394dfc15dafe5eff18c31898e8af71bc0f66233a Mon Sep 17 00:00:00 2001 From: wtp <1813748440@qq.com> Date: Tue, 28 Nov 2023 20:16:12 +0800 Subject: [PATCH] 1 --- GDZZ.Application/Service/Auth/AuthService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {