蛋蛋星球 后台端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

md_customer_service.go 1.5 KiB

3 weeks ago
1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package md
  2. type PageCustomerServiceReq struct {
  3. Page int `json:"page"`
  4. PageSize int `json:"page_size"`
  5. State int `json:"state"` //状态
  6. Memo string `json:"memo" example:"备注"`
  7. }
  8. type PageCustomerServiceResp struct {
  9. Page int `json:"page"`
  10. PageSize int `json:"page_size"`
  11. Total int64 `json:"total"`
  12. List []struct {
  13. Id int64 `json:"id"` //记录id
  14. Phone string `json:"phone" example:"手机号"`
  15. Nickname string `json:"nickname" example:"昵称"`
  16. Weight int32 `json:"weight"` // 权重
  17. State int32 `json:"state"` // 状态(1:正常 2:冻结)
  18. HaasUserNums int `json:"has_user_nums"` // 拥有用户数量
  19. Memo string `json:"memo" example:"备注"` // 备注
  20. CreateTime string `json:"create_time" example:"创建时间"` // 创建时间
  21. UpdateTime string `json:"update_time" example:"更新时间"` // 更新时间
  22. } `json:"list"`
  23. }
  24. type AddCustomerServiceReq struct {
  25. Phone string `json:"phone" example:"手机号"`
  26. Memo string `json:"memo" example:"备注"` // 备注
  27. Weight int32 `json:"weight"` // 权重
  28. }
  29. type SetCustomerServiceStateReq struct {
  30. Id int `json:"id"` // 拥有用户数量
  31. State int32 `json:"state"` // 状态
  32. }
  33. type UpdateCustomerServiceMemoReq struct {
  34. Id int `json:"id"` // 拥有用户数量
  35. Memo string `json:"memo" example:"备注"` // 备注
  36. }