|
@@ -44,8 +44,8 @@ type TenantIDJsonBody struct {
|
|
|
TenantID string `json:"tenantId" binding:"required" assign:"toField:TenantID"`
|
|
TenantID string `json:"tenantId" binding:"required" assign:"toField:TenantID"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-func (id *IDJsonBody) GetTenantID() string {
|
|
|
|
|
- return id.ID
|
|
|
|
|
|
|
+func (id *TenantIDJsonBody) GetTenantID() string {
|
|
|
|
|
+ return id.TenantID
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// TenantIDQueryParam 查询参数中包含租户ID字段的定义结构
|
|
// TenantIDQueryParam 查询参数中包含租户ID字段的定义结构
|