Add WmsLite monorepo with JWT auth, tenant context, and project READMEs.

Implement API security baseline (sys_user, JWT, audit fields, transactions,
unique constraints) and Web real login with 401 handling. Document setup
and development workflows in root, WmsLite.Api, and WmsLite.Web README files.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zhougfandCursor committed 2026-05-24 14:17:47 +08:00
commit fa1b286463
241 files changed
+31188

No files matched your search

@@ -0,0 +1,15 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using WmsLite.Api.Models;
namespace WmsLite.Api.Repositories.Interfaces;
/// <summary>查询字典行(租户 + platform system 默认)。</summary>
public interface ISysDictItemRepository
{
/// <summary>
/// 读取当前租户 scope 以及 tenant_id=&quot;system&quot;, owner_code=&quot;system&quot; 的启用字典项。
/// 调用方自行合并优先级。
/// </summary>
Task<List<SysDictItem>> ListEnabledAsync(string tenantId, string ownerCode, IReadOnlyList<string>? categories);
}