广告平台(总站长使用)
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.
 
 
 
 
 
 

56 lines
1.2 KiB

  1. package md
  2. import (
  3. "code.fnuoos.com/zhimeng/model.git/src/super/model"
  4. )
  5. type SmsListReq struct {
  6. Limit int `json:"limit"`
  7. Page int `json:"page" `
  8. Name string `json:"name" example:"站长名称"`
  9. Uuid string `json:"uuid" example:"站长ID"`
  10. }
  11. type SmsListResp struct {
  12. List []SmsList `json:"list" `
  13. Total int64 `json:"total"`
  14. }
  15. type SmsList struct {
  16. Uuid string `json:"uuid" example:"站长ID"`
  17. Name string `json:"name" example:"站长名称"`
  18. Num int64 `json:"num"` //短信条数
  19. }
  20. type SmsDetailReq struct {
  21. Limit int `json:"limit"`
  22. Page int `json:"page" `
  23. Uuid string `json:"uuid" example:"站长ID"`
  24. }
  25. type SmsDetailResp struct {
  26. List []SmsDetail `json:"list" `
  27. Total int64 `json:"total"`
  28. }
  29. type SmsDetail struct {
  30. Id int `json:"id"`
  31. Phone string `json:"phone" example:"接收号码"`
  32. StateZh string `json:"state_zh" example:"发送状态"`
  33. CreateAt string `json:"create_at" example:"创建时间"`
  34. }
  35. type SmsUpdateReq struct {
  36. Num int `json:"num"` //短信条数
  37. Uuid string `json:"uuid" example:"站长ID"`
  38. }
  39. type MasterWithSmsNumList struct {
  40. model.UserList
  41. model.SmsNumList
  42. }
  43. func (MasterWithSmsNumList) TableName() string {
  44. return "user_list"
  45. }