From c673bcf294da63a47cdbd93427952b9b93985c9a Mon Sep 17 00:00:00 2001 From: wtp <1813748440@qq.com> Date: Tue, 28 Nov 2023 20:44:35 +0800 Subject: [PATCH] 1 --- GDZZ.Application/Service/Auth/AuthService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GDZZ.Application/Service/Auth/AuthService.cs b/GDZZ.Application/Service/Auth/AuthService.cs index 76dadd1..236a6bf 100644 --- a/GDZZ.Application/Service/Auth/AuthService.cs +++ b/GDZZ.Application/Service/Auth/AuthService.cs @@ -67,7 +67,7 @@ namespace GDZZ.Application.Service.Auth SqlSugarRepository sysConfigRep, SqlSugarRepository invitaitionRey, SqlSugarRepository rechargeRep, - IOptions options, + IOptions UFoptions, ISysCacheService sysCacheService, ICacheService cacheService, WechatOAuth wechatOAuth, @@ -89,7 +89,7 @@ namespace GDZZ.Application.Service.Auth this.rechargeRep= rechargeRep; _wechatOAuth = wechatOAuth; _oauthConfig = options.Value.Wechat; - this._options = options.Value; + this._options = UFoptions.Value; } /// @@ -510,7 +510,7 @@ namespace GDZZ.Application.Service.Auth value = token.Result.AccessToken; } var res = await this._wechatOAuth.GetShareCodeAsync(value,scene, page); - var fileName = Path.Combine(_options.Default.path + "/"+ UserManager.UserId +".png"); + var fileName = Path.Combine(_options.Default.path+"/"+ UserManager.UserId +".png"); Console.WriteLine(fileName); try {