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>
21 lines
527 B
C#
21 lines
527 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using WmsLite.Api.Models;
|
|
|
|
namespace WmsLite.Api.Services.Interfaces;
|
|
|
|
public interface ITemplateFieldValidationService
|
|
{
|
|
Task<SysTemplate?> ValidateAttrsAsync(
|
|
string tenantId,
|
|
string ownerCode,
|
|
string? bizType,
|
|
Dictionary<string, object>? attrs);
|
|
|
|
Task<SysTemplate?> ValidateSearchParamAsync(
|
|
string tenantId,
|
|
string ownerCode,
|
|
string? bizType,
|
|
Dictionary<string, object>? searchParam);
|
|
}
|