v1

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 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

type BatchOperateReq struct {
	g.Meta `path:"/batch/operate" method:"post" auth:"true" role:"admin" tags:"provider" summary:"提供商批量操作接口"`
	model.ProviderBatchOperateReq
}

提供商批量操作接口请求参数

type BatchOperateRes

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

提供商批量操作接口响应参数

type ChangePublicReq

type ChangePublicReq struct {
	g.Meta `path:"/change/public" method:"post" auth:"true" role:"admin" tags:"provider" summary:"更改提供商公开状态接口"`
	model.ProviderChangePublicReq
}

更改提供商公开状态接口请求参数

type ChangePublicRes

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

更改提供商公开状态接口响应参数

type ChangeStatusReq

type ChangeStatusReq struct {
	g.Meta `path:"/change/status" method:"post" auth:"true" role:"admin" tags:"provider" summary:"更改提供商状态接口"`
	model.ProviderChangeStatusReq
}

更改提供商状态接口请求参数

type ChangeStatusRes

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

更改提供商状态接口响应参数

type CreateReq

type CreateReq struct {
	g.Meta `path:"/create" method:"post" auth:"true" role:"admin" tags:"provider" summary:"新建提供商接口"`
	model.ProviderCreateReq
}

新建提供商接口请求参数

type CreateRes

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

新建提供商接口响应参数

type DeleteReq

type DeleteReq struct {
	g.Meta `path:"/delete" method:"post" auth:"true" role:"admin" tags:"provider" 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" method:"get" auth:"true" role:"admin" tags:"provider" summary:"提供商详情接口"`
	Id     string `json:"id"`
}

提供商详情接口请求参数

type DetailRes

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

提供商详情接口响应参数

type ListReq

type ListReq struct {
	g.Meta `path:"/list" method:"get" auth:"true" role:"user,reseller,admin" tags:"provider" summary:"提供商列表接口"`
	model.ProviderListReq
}

提供商列表接口请求参数

type ListRes

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

提供商列表接口响应参数

type PageReq

type PageReq struct {
	g.Meta `path:"/page" method:"post" auth:"true" role:"admin" tags:"provider" summary:"提供商分页列表接口"`
	model.ProviderPageReq
}

提供商分页列表接口请求参数

type PageRes

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

提供商分页列表接口响应参数

type UpdateReq

type UpdateReq struct {
	g.Meta `path:"/update" method:"post" auth:"true" role:"admin" tags:"provider" summary:"更新提供商接口"`
	model.ProviderUpdateReq
}

更新提供商接口请求参数

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