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:
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="system", owner_code="system" 的启用字典项。
|
||||
/// 调用方自行合并优先级。
|
||||
/// </summary>
|
||||
Task<List<SysDictItem>> ListEnabledAsync(string tenantId, string ownerCode, IReadOnlyList<string>? categories);
|
||||
}
|
||||
Reference in new issue
Block a user