v1

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchOperateReq added in v0.2.0

type BatchOperateReq struct {
	g.Meta `path:"/batch/operate" role:"admin" tags:"model" method:"post" summary:"模型批量操作接口"`
	model.ModelBatchOperateReq
}

模型批量操作接口请求参数

type BatchOperateRes added in v0.2.0

type BatchOperateRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

模型批量操作接口响应参数

type ChangeStatusReq

type ChangeStatusReq struct {
	g.Meta `path:"/change/status" role:"admin" tags:"model" method:"post" summary:"更改模型状态接口"`
	model.ModelChangeStatusReq
}

更改模型状态接口请求参数

type ChangeStatusRes

type ChangeStatusRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

更改模型状态接口响应参数

type CreateReq

type CreateReq struct {
	g.Meta `path:"/create" role:"admin" tags:"model" method:"post" summary:"新建模型接口"`
	model.ModelCreateReq
}

新建模型接口请求参数

type CreateRes

type CreateRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

新建模型接口响应参数

type DeleteReq

type DeleteReq struct {
	g.Meta `path:"/delete" role:"admin" tags:"model" method:"post" summary:"删除模型接口"`
	Id     string `json:"id"`
}

删除模型接口请求参数

type DeleteRes

type DeleteRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

删除模型接口响应参数

type DetailReq

type DetailReq struct {
	g.Meta `path:"/detail" role:"admin" tags:"model" method:"get" summary:"模型详情接口"`
	Id     string `json:"id"`
}

模型详情接口请求参数

type DetailRes

type DetailRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.ModelDetailRes
}

模型详情接口响应参数

type InitSyncReq added in v0.5.0

type InitSyncReq struct {
	g.Meta `path:"/init" role:"admin" tags:"model" method:"post" summary:"模型初始化同步接口"`
	model.ModelInitSyncReq
}

模型初始化同步接口请求参数

type InitSyncRes added in v0.5.0

type InitSyncRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

模型初始化同步接口响应参数

type ListReq

type ListReq struct {
	g.Meta `path:"/list" role:"user,admin" tags:"model" method:"get" summary:"模型列表接口"`
	model.ModelListReq
}

模型列表接口请求参数

type ListRes

type ListRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.ModelListRes
}

模型列表接口响应参数

type PageReq

type PageReq struct {
	g.Meta `path:"/page" role:"user,admin" tags:"model" method:"post" summary:"模型分页列表接口"`
	model.ModelPageReq
}

模型分页列表接口请求参数

type PageRes

type PageRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.ModelPageRes
}

模型分页列表接口响应参数

type TreeReq added in v0.5.0

type TreeReq struct {
	g.Meta `path:"/tree" role:"user,admin" tags:"model" method:"get" summary:"模型树接口"`
	model.ModelTreeReq
}

模型树接口请求参数

type TreeRes added in v0.5.0

type TreeRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.ModelTreeRes
}

模型树接口响应参数

type UpdateReq

type UpdateReq struct {
	g.Meta `path:"/update" role:"admin" tags:"model" method:"post" summary:"更新模型接口"`
	model.ModelUpdateReq
}

更新模型接口请求参数

type UpdateRes

type UpdateRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

更新模型接口响应参数

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL