123456789101112131415161718192021222324252627282930 |
- package dto
- import (
- "gas-cylinder-api/common/dto"
- )
- type GasCylinderGetPageReq struct {
- dto.Pagination `search:"-"`
- InnerCode string `form:"innerCode" search:"type:contains;column:inner_code;table:dispatch_cost"` // 商品名称
- }
- func (m *GasCylinderGetPageReq) GetNeedSearch() interface{} {
- return *m
- }
- type GasCylinderGetReq struct {
- InnerCode string `uri:"inner_code"`
- }
- func (s *GasCylinderGetReq) GetInnerCode() interface{} {
- return s.InnerCode
- }
- type GasCylinderGetByUidReq struct {
- ChipUid string `json:"chipUid"`
- }
- func (s *GasCylinderGetByUidReq) GetChipUid() interface{} {
- return s.ChipUid
- }
|