// ========================================================================== // GFast自动生成api操作代码。 // 生成日期:2025-08-08 15:02:58 // 生成路径: api/v1/businesses/domesti_distribuion.go // 生成人:gfast // desc:国内分布相关参数 // company:云南奇讯科技有限公司 // ========================================================================== package businesses import ( "github.com/gogf/gf/v2/frame/g" commonApi "github.com/tiger1103/gfast/v3/api/v1/common" "github.com/tiger1103/gfast/v3/internal/app/businesses/model" ) // DomestiDistribuionSearchReq 分页请求参数 type DomestiDistribuionSearchReq struct { g.Meta `path:"/list" tags:"国内分布" method:"get" summary:"国内分布列表"` commonApi.Author model.DomestiDistribuionSearchReq } // DomestiDistribuionSearchRes 列表返回结果 type DomestiDistribuionSearchRes struct { g.Meta `mime:"application/json"` *model.DomestiDistribuionSearchRes } // DomestiDistribuionAddReq 添加操作请求参数 type DomestiDistribuionAddReq struct { g.Meta `path:"/add" tags:"国内分布" method:"post" summary:"国内分布添加"` commonApi.Author *model.DomestiDistribuionAddReq } // DomestiDistribuionAddRes 添加操作返回结果 type DomestiDistribuionAddRes struct { commonApi.EmptyRes } // DomestiDistribuionEditReq 修改操作请求参数 type DomestiDistribuionEditReq struct { g.Meta `path:"/edit" tags:"国内分布" method:"put" summary:"国内分布修改"` commonApi.Author *model.DomestiDistribuionEditReq } // DomestiDistribuionEditRes 修改操作返回结果 type DomestiDistribuionEditRes struct { commonApi.EmptyRes } // DomestiDistribuionGetReq 获取一条数据请求 type DomestiDistribuionGetReq struct { g.Meta `path:"/get" tags:"国内分布" method:"get" summary:"获取国内分布信息"` commonApi.Author Id int `p:"id" v:"required#主键必须"` //通过主键获取 } // DomestiDistribuionGetRes 获取一条数据结果 type DomestiDistribuionGetRes struct { g.Meta `mime:"application/json"` *model.DomestiDistribuionInfoRes } // DomestiDistribuionDeleteReq 删除数据请求 type DomestiDistribuionDeleteReq struct { g.Meta `path:"/delete" tags:"国内分布" method:"delete" summary:"删除国内分布"` commonApi.Author Ids []int `p:"ids" v:"required#主键必须"` //通过主键删除 Version []int `p:"version"` } // DomestiDistribuionDeleteRes 删除数据返回 type DomestiDistribuionDeleteRes struct { commonApi.EmptyRes }