routine update

This commit is contained in:
yubaolee 2024-12-03 16:39:01 +08:00
parent 034632e59b
commit 82fe559792
2 changed files with 6 additions and 2 deletions

View File

@ -11,6 +11,10 @@ using OpenAuth.Repository.Domain;
namespace OpenAuth.Mvc.Models
{
/// <summary>
/// 权限过滤器,用于检查用户是否登录,并进行相应的权限检查,
/// 如果未登录,则重定向到登录页面,如果未授权,则重定向到错误页面
/// </summary>
public class OpenAuthFilter : IActionFilter
{
private readonly IAuth _authUtil;

View File

@ -10,8 +10,8 @@
"OpenAuthDBContext": "server=127.0.0.1;user id=root;database=openauthdb;password=000000" //my sql
},
"AppSetting": {
"IdentityServerUrl": "http://demo.openauth.net.cn:12796", //IdentityServerOAuth
// "IdentityServerUrl": "", //IdentityServerOAuth
// "IdentityServerUrl": "http://demo.openauth.net.cn:12796", //IdentityServerOAuth
"IdentityServerUrl": "", //IdentityServerOAuth
"SSOPassport": "http://localhost:52789",
"Version": "demo",
"DbTypes": {