refactor: 重构资产模型与DAO层实现
This commit is contained in:
@@ -2,6 +2,7 @@ package dto
|
||||
|
||||
import (
|
||||
"assets/consts/asset"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
@@ -39,7 +40,7 @@ type GetSpecsUnitRes struct {
|
||||
// GetTenantModuleTypeReq 获取租户模块类型请求
|
||||
type GetTenantModuleTypeReq struct {
|
||||
g.Meta `path:"/getTenantModuleType" method:"get" tags:"枚举管理" summary:"获取租户模块类型" dc:"获取租户模块类型"`
|
||||
AssetId string `json:"assetId" v:"required|in:physical,virtual,service" dc:"资产id"`
|
||||
AssetId int64 `json:"assetId" v:"required|in:physical,virtual,service" dc:"资产id"`
|
||||
}
|
||||
|
||||
// GetTenantModuleTypeRes 获取租户模块类型响应
|
||||
|
||||
Reference in New Issue
Block a user