实现资产双向换货链路查询

This commit is contained in:
2026-07-22 18:05:38 +09:00
parent 7c8a4cd328
commit c58773e35b
16 changed files with 1133 additions and 40 deletions

View File

@@ -97,6 +97,15 @@ const (
UserTypePersonalCustomer = 5 // 个人客户C端用户
)
const (
// AssetResolveTypeCard 表示统一资产详情中的卡类型。
AssetResolveTypeCard = "card"
// ExchangeTraceDirectionPrevious 表示换货链前代查询方向。
ExchangeTraceDirectionPrevious = "previous"
// ExchangeTraceDirectionNext 表示换货链后代查询方向。
ExchangeTraceDirectionNext = "next"
)
// RBAC 角色类型常量
const (
RoleTypePlatform = 1 // 平台角色(适用于平台用户)