cooperate_count.go 512 B

123456789101112131415161718192021
  1. package http_model
  2. type CooperateCountRequest struct {
  3. SupplierId int `json:"supplier_id"` // 服务商ID
  4. }
  5. type CooperateCountData struct {
  6. Status1 int64 `json:"status_1"` // 未处理
  7. Status2 int64 `json:"status_2"` // 已同意
  8. Status3 int64 `json:"status_3"` // 已拒绝
  9. }
  10. func NewCooperateCountRequest() *CooperateCountRequest {
  11. return new(CooperateCountRequest)
  12. }
  13. func NewCooperateCountResponse() *CommonResponse {
  14. resp := new(CommonResponse)
  15. resp.Data = new(CooperateCountData)
  16. return resp
  17. }