package v1 import ( "git.5iot.com/iotlcm-public/iotlcm-app/internal/model" "github.com/gogf/gf/v2/frame/g" ) type CustomerListReq struct { g.Meta `path:"/customer/list" method:"get" tags:"APP-客户" summary:"企业用户查询下级客户列表" x-check-permission:"cpm:agent:dept:list,cpm:agent:tAgentEnterprise:list"` model.AppCustomerListParam } type CustomerListRes struct { Items []*model.AppCustomerModel `json:"items" dc:"客户列表"` Total int `json:"total" dc:"总数"` } type CustomerDetailReq struct { g.Meta `path:"/customer/detail" method:"get" tags:"APP-客户" summary:"企业用户查询客户详情" x-check-permission:"cpm:agent:tAgentEnterprise:view,cpm:agent:tAgentEnterprise:list"` model.AppCustomerDetailParam } type CustomerDetailRes struct { Customer *model.AppCustomerDetailModel `json:"customer" dc:"客户详情"` }