21 lines
416 B
C#
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; }
|
|
}
|