using Furion.DataEncryption; using Furion.EventBus; using Furion.FriendlyException; using Furion; using GDZZ.Application.Entity; using GDZZ.Core; using GDZZ.Core.Entity; using GDZZ.Core.Service; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GDZZ.Application.Service.Auth { public class AuthService { private readonly SqlSugarRepository Baseuser; /// /// 获取配置文件 /// private readonly ThirdParty _oauthConfig; public AuthService(SqlSugarRepository Baseuser, IOptions options) { Baseuser = this.Baseuser; _oauthConfig = options.Value.Wechat; } } }