创建项目

This commit is contained in:
Putoo
2026-04-21 16:54:18 +08:00
commit 6cdceccde7
59 changed files with 15320 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
namespace Application.Web
{
public class StateHelper
{
public static string userId
{
get {
var token = App.HttpContext.GetTokenInfo();
return token.Claims["userId"];
}
}
public static string sid
{
get
{
var token = App.HttpContext.GetTokenInfo();
return token.Claims["sid"];
}
}
}
}