|
|
@@ -35,7 +35,7 @@ type TenantIDRequestParam interface {
|
|
|
}
|
|
|
|
|
|
type TenantIDJsonBody struct {
|
|
|
- TenantID string `json:"tenant_id" binding:"required" assign:"toField:TenantID"`
|
|
|
+ TenantID string `json:"tenantId" binding:"required" assign:"toField:TenantID"`
|
|
|
}
|
|
|
|
|
|
func (id *IDJsonBody) GetTenantID() string {
|
|
|
@@ -43,7 +43,7 @@ func (id *IDJsonBody) GetTenantID() string {
|
|
|
}
|
|
|
|
|
|
type TenantIDPathParam struct {
|
|
|
- TenantID string `uri:"tenant_id" binding:"required" assign:"toField:TenantID"`
|
|
|
+ TenantID string `uri:"tenantId" binding:"required" assign:"toField:TenantID"`
|
|
|
}
|
|
|
|
|
|
func (id *IDPathParam) GetTenantID() string {
|
|
|
@@ -51,7 +51,7 @@ func (id *IDPathParam) GetTenantID() string {
|
|
|
}
|
|
|
|
|
|
type TenantIDQueryParam struct {
|
|
|
- TenantID string `form:"tenant_id" binding:"required" assign:"toField:TenantID"`
|
|
|
+ TenantID string `form:"tenantId" binding:"required" assign:"toField:TenantID"`
|
|
|
}
|
|
|
|
|
|
func (id *IDQueryParam) GetTenantID() string {
|