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>
16 lines
579 B
C#
16 lines
579 B
C#
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);
|
|
}
|