Dockerfile

This commit is contained in:
2026-03-18 10:18:03 +08:00
parent 5c5dbc7420
commit b65f3439f3
189 changed files with 19027 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
package controller
import (
"assets/model/dto/enum"
"assets/service/enum"
"context"
)
type enum struct{}
// Enum 枚举控制器
var Enum = new(enum)
// init 初始化表单配置
func init() {
}
// GetAssetType 获取资产类型
func (c *enum) GetAssetType(ctx context.Context, req *dto.GetAssetTypeReq) (res *dto.GetAssetTypeRes, err error) {
return service.Enum.GetAssetType(ctx, req)
}
// GetCategoryAttrType 获取分类属性类型
func (c *enum) GetCategoryAttrType(ctx context.Context, req *dto.GetCategoryAttrTypeReq) (res *dto.GetCategoryAttrTypeRes, err error) {
return service.Enum.GetCategoryAttrType(ctx, req)
}
// GetSpecsUnit 获取规格单位
func (c *enum) GetSpecsUnit(ctx context.Context, req *dto.GetSpecsUnitReq) (res *dto.GetSpecsUnitRes, err error) {
return service.Enum.GetSpecsUnit(ctx, req)
}