|
|
@ -512,10 +512,11 @@ namespace GDZZ.Application.Service.Auth
|
|
|
|
var res = await this._wechatOAuth.GetShareCodeAsync(value,scene, page);
|
|
|
|
var res = await this._wechatOAuth.GetShareCodeAsync(value,scene, page);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var fileName = Path.Combine("/"+ UserManager.UserId +".png");
|
|
|
|
var fileName = Path.Combine("/" + UserManager.UserId + ".png");
|
|
|
|
if (!Directory.Exists(_options.QRCode.path))
|
|
|
|
var filePath = Path.Combine(App.WebHostEnvironment.WebRootPath, _options.QRCode.path);
|
|
|
|
Directory.CreateDirectory(_options.QRCode.path);
|
|
|
|
if (!Directory.Exists(filePath))
|
|
|
|
var Imageurl = _options.QRCode.path + fileName;
|
|
|
|
Directory.CreateDirectory(filePath);
|
|
|
|
|
|
|
|
var Imageurl = filePath + fileName;
|
|
|
|
Console.WriteLine(Imageurl);
|
|
|
|
Console.WriteLine(Imageurl);
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|