Files
KJD/Store.Framework/Inerterfaces/ICurrentUser.cs
T
2026-09-11 19:11:12 +08:00

21 lines
416 B
C#

using Store.Framework.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Store.Framework.Inerterfaces;
public interface ICurrentUser
{
string UserName { get; }
int GroupId { get; }
bool IsAuthorized(string code);
/// <summary>
/// 是否超级管理员
/// </summary>
bool IsSuperAdmin { get; }
UserInfo User { get; }
}