|
|
|
@ -67,7 +67,7 @@ namespace GDZZ.Application.Service.Auth
|
|
|
|
|
SqlSugarRepository<SysConfig> sysConfigRep,
|
|
|
|
|
SqlSugarRepository<InviteUserPos> invitaitionRey,
|
|
|
|
|
SqlSugarRepository<MiniRecharge> rechargeRep,
|
|
|
|
|
IOptions<UploadFileOptions> options,
|
|
|
|
|
IOptions<UploadFileOptions> 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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
@ -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
|
|
|
|
|
{
|
|
|
|
|