// Package torder // @Link https://github.com/xiujiecn/xiu-admin // @Copyright Copyright (c) 2026 LiXiujie // @Author Lxj // @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE // @AutoGenerate Version package v1 //torder import ( "git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model" "git.5iot.com/iotlcm-public/iotlcm-admin-svr/internal/model/response" "github.com/gogf/gf/v2/frame/g" ) // ListReq 查询订单主表列表 type TOrderListReq struct { g.Meta `path:"/tOrder/list" method:"get" tags:"订单主表" summary:"获取订单主表列表" x-check-permission:"cpm:iot:tOrder:list"` model.TOrderListParam } type TOrderListRes struct { response.PageResult Items []*model.TOrderListModel `json:"items" dc:"数据列表"` } // ExportReq 导出订单主表列表 type TOrderExportReq struct { g.Meta `path:"/tOrder/export" method:"post" tags:"订单主表" summary:"导出订单主表列表" x-check-permission:"cpm:iot:tOrder:export"` model.TOrderListParam } type TOrderExportRes struct{} // ViewReq 获取订单主表指定信息 type TOrderViewReq struct { g.Meta `path:"/tOrder/view" method:"get" tags:"订单主表" summary:"获取订单主表指定信息" x-check-permission:"cpm:iot:tOrder:view"` model.TOrderViewParam } type TOrderViewRes struct { *model.TOrderViewModel } // EditReq 修改/新增订单主表 type TOrderEditReq struct { g.Meta `path:"/tOrder/edit" method:"post" tags:"订单主表" summary:"修改/新增订单主表" x-check-permission:"cpm:iot:tOrder:edit"` model.TOrderEditParam } type TOrderEditRes struct{} // DeleteReq 删除订单主表 type TOrderDeleteReq struct { g.Meta `path:"/tOrder/delete" method:"post" tags:"订单主表" summary:"删除订单主表" x-check-permission:"cpm:iot:tOrder:delete"` model.TOrderDeleteParam } type TOrderDeleteRes struct{} // SellListReq 获取销售订单列表 type TOrderSellListReq struct { g.Meta `path:"/tOrder/sellList" method:"get" tags:"订单主表" summary:"获取销售订单列表" x-check-permission:"cpm:iot:tOrder:sellList"` model.TOrderListParam } type TOrderSellListRes struct { response.PageResult Items []*model.TOrderListModel `json:"items" dc:"数据列表"` }