diff --git a/api/v1/system/sys_dict_type.go b/api/v1/system/sys_dict_type.go index e76f2be..be62065 100644 --- a/api/v1/system/sys_dict_type.go +++ b/api/v1/system/sys_dict_type.go @@ -15,7 +15,7 @@ import ( ) type DictTypeSearchReq struct { - g.Meta `path:"/system/dict/type/list" tags:"字典管理" method:"get" summary:"字典类型列表"` + g.Meta `path:"/dict/type/list" tags:"字典管理" method:"get" summary:"字典类型列表"` DictName string `p:"dictName"` //字典名称 DictType string `p:"dictType"` //字典类型 Status string `p:"status"` //字典状态 @@ -29,7 +29,7 @@ type DictTypeSearchRes struct { } type DictTypeAddReq struct { - g.Meta `path:"/system/dict/type/add" tags:"字典管理" method:"post" summary:"添加字典类型"` + g.Meta `path:"/dict/type/add" tags:"字典管理" method:"post" summary:"添加字典类型"` DictName string `p:"dictName" v:"required#字典名称不能为空"` DictType string `p:"dictType" v:"required#字典类型不能为空"` Status uint `p:"status" v:"required|in:0,1#状态不能为空|状态只能为0或1"` @@ -40,7 +40,7 @@ type DictTypeAddRes struct { } type DictTypeGetReq struct { - g.Meta `path:"/system/dict/type/get" tags:"字典管理" method:"get" summary:"获取字典类型"` + g.Meta `path:"/dict/type/get" tags:"字典管理" method:"get" summary:"获取字典类型"` DictId uint `p:"dictId" v:"required#类型id不能为空"` } @@ -50,7 +50,7 @@ type DictTypeGetRes struct { } type DictTypeEditReq struct { - g.Meta `path:"/system/dict/type/edit" tags:"字典管理" method:"put" summary:"修改字典类型"` + g.Meta `path:"/dict/type/edit" tags:"字典管理" method:"put" summary:"修改字典类型"` DictId int64 `p:"dictId" v:"required|min:1#主键ID不能为空|主键ID必须为大于0的值"` DictName string `p:"dictName" v:"required#字典名称不能为空"` DictType string `p:"dictType" v:"required#字典类型不能为空"` @@ -62,7 +62,7 @@ type DictTypeEditRes struct { } type DictTypeDeleteReq struct { - g.Meta `path:"/system/dict/type/delete" tags:"字典管理" method:"delete" summary:"删除字典类型"` + g.Meta `path:"/dict/type/delete" tags:"字典管理" method:"delete" summary:"删除字典类型"` DictIds []int `p:"dictIds" v:"required#字典类型id不能为空"` } diff --git a/internal/app/common/model/entity/sys_dict_data.go b/internal/app/common/model/entity/sys_dict_data.go index 9ca7806..e1ebfa1 100644 --- a/internal/app/common/model/entity/sys_dict_data.go +++ b/internal/app/common/model/entity/sys_dict_data.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2022-04-16 16:32:52 // ================================================================================= package entity @@ -24,5 +24,4 @@ type SysDictData struct { Remark string `json:"remark" description:"备注"` CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"` UpdatedAt *gtime.Time `json:"updatedAt" description:"修改时间"` - DeletedAt *gtime.Time `json:"deletedAt" description:"删除时间"` } diff --git a/internal/app/common/model/entity/sys_dict_type.go b/internal/app/common/model/entity/sys_dict_type.go index 9a52692..142d2f8 100644 --- a/internal/app/common/model/entity/sys_dict_type.go +++ b/internal/app/common/model/entity/sys_dict_type.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2022-04-16 16:32:52 // ================================================================================= package entity @@ -19,5 +19,4 @@ type SysDictType struct { Remark string `json:"remark" description:"备注"` CreatedAt *gtime.Time `json:"createdAt" description:"创建日期"` UpdatedAt *gtime.Time `json:"updatedAt" description:"修改日期"` - DeletedAt *gtime.Time `json:"deletedAt" description:"删除日期"` } diff --git a/internal/app/common/service/internal/dao/internal/sys_dict_data.go b/internal/app/common/service/internal/dao/internal/sys_dict_data.go index 6b50b91..d485fde 100644 --- a/internal/app/common/service/internal/dao/internal/sys_dict_data.go +++ b/internal/app/common/service/internal/dao/internal/sys_dict_data.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2022-04-16 16:32:52 // ========================================================================== package internal @@ -33,7 +33,6 @@ type SysDictDataColumns struct { Remark string // 备注 CreatedAt string // 创建时间 UpdatedAt string // 修改时间 - DeletedAt string // 删除时间 } // sysDictDataColumns holds the columns for table sys_dict_data. @@ -52,7 +51,6 @@ var sysDictDataColumns = SysDictDataColumns{ Remark: "remark", CreatedAt: "created_at", UpdatedAt: "updated_at", - DeletedAt: "deleted_at", } // NewSysDictDataDao creates and returns a new DAO object for table data access. diff --git a/internal/app/common/service/internal/dao/internal/sys_dict_type.go b/internal/app/common/service/internal/dao/internal/sys_dict_type.go index 4af2fc2..2612e1a 100644 --- a/internal/app/common/service/internal/dao/internal/sys_dict_type.go +++ b/internal/app/common/service/internal/dao/internal/sys_dict_type.go @@ -1,5 +1,5 @@ // ========================================================================== -// Code generated by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2022-04-16 16:32:52 // ========================================================================== package internal @@ -28,7 +28,6 @@ type SysDictTypeColumns struct { Remark string // 备注 CreatedAt string // 创建日期 UpdatedAt string // 修改日期 - DeletedAt string // 删除日期 } // sysDictTypeColumns holds the columns for table sys_dict_type. @@ -42,7 +41,6 @@ var sysDictTypeColumns = SysDictTypeColumns{ Remark: "remark", CreatedAt: "created_at", UpdatedAt: "updated_at", - DeletedAt: "deleted_at", } // NewSysDictTypeDao creates and returns a new DAO object for table data access. diff --git a/internal/app/common/service/internal/do/sys_dict_data.go b/internal/app/common/service/internal/do/sys_dict_data.go index 1d8528d..dc355eb 100644 --- a/internal/app/common/service/internal/do/sys_dict_data.go +++ b/internal/app/common/service/internal/do/sys_dict_data.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2022-04-16 16:32:52 // ================================================================================= package do @@ -26,5 +26,4 @@ type SysDictData struct { Remark interface{} // 备注 CreatedAt *gtime.Time // 创建时间 UpdatedAt *gtime.Time // 修改时间 - DeletedAt *gtime.Time // 删除时间 } diff --git a/internal/app/common/service/internal/do/sys_dict_type.go b/internal/app/common/service/internal/do/sys_dict_type.go index 58500d4..682264d 100644 --- a/internal/app/common/service/internal/do/sys_dict_type.go +++ b/internal/app/common/service/internal/do/sys_dict_type.go @@ -1,5 +1,5 @@ // ================================================================================= -// Code generated by GoFrame CLI tool. DO NOT EDIT. +// Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2022-04-16 16:32:52 // ================================================================================= package do @@ -21,5 +21,4 @@ type SysDictType struct { Remark interface{} // 备注 CreatedAt *gtime.Time // 创建日期 UpdatedAt *gtime.Time // 修改日期 - DeletedAt *gtime.Time // 删除日期 }