add cocesdk

This commit is contained in:
2024-08-19 03:39:35 +08:00
parent 141846d79d
commit bd674dcc31
10 changed files with 406 additions and 54 deletions
+7 -1
View File
@@ -5,4 +5,10 @@ namespace SimApi.Communications;
/// <summary>
/// 登录信息中间件
/// </summary>
public record SimApiLoginItem(string Id, string[] Type,Dictionary<string,string>? Meta = null);
public class SimApiLoginItem
{
public string? Id { get; set; }
public string[] Type { get; set; } = new[] { "user" };
public Dictionary<string, string>? Meta { get; set; } = null;
public object? Extra { get; set; } = null;
};