feat: 添加用户和租户状态管理功能,包括状态列表和状态更新接口
This commit is contained in:
10
backend/app/requests/label.go
Normal file
10
backend/app/requests/label.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package requests
|
||||
|
||||
type KV struct {
|
||||
Key string `json:"key,omitempty"`
|
||||
Value any `json:"value,omitempty"`
|
||||
}
|
||||
|
||||
func NewKV(k string, v any) KV {
|
||||
return KV{Key: k, Value: v}
|
||||
}
|
||||
Reference in New Issue
Block a user