params.go 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. package main
  2. import (
  3. "xiaoniaokuaiyan.com/xiaoniao/entity"
  4. )
  5. type RegistParam struct {
  6. Mobile string `json:"mobile"`
  7. Password string `json:"password"`
  8. Vcode string `json:"vcode"`
  9. }
  10. type ResetPwdParam struct {
  11. Mobile string `json:"mobile"`
  12. Password string `json:"password"`
  13. NewPassword string `json:"newPassword"`
  14. }
  15. type ListOrderParam struct {
  16. CustomId int `json:"customId"`
  17. PageIndex int `json:"pageIndex"`
  18. PageSize int `json:"pageSize"`
  19. Status int `json:"status"`
  20. Mobile string `json:"mobile"`
  21. }
  22. type SMSParam struct {
  23. Mobile string `json:"mobile"`
  24. Type int `json:"type"`
  25. }
  26. type VcodeParam struct {
  27. Mobile string `json:"mobile"`
  28. Code string `json:"code"`
  29. CodeType int `json:"code_type"`
  30. }
  31. type CouponListParam struct {
  32. Mobile string `json:"mobile"`
  33. Status int `json:"status"`
  34. PageIndex int `json:"pageIndex"`
  35. PageSize int `json:"pageSize"`
  36. }
  37. type DetailOrderParam struct {
  38. OrderId string `json:"orderId"`
  39. CustomId int `json:"customId"`
  40. Type string `json:"type"`
  41. }
  42. type PtListParam struct {
  43. CityId int `json:"cityId"`
  44. FromDay string `json:"fromDay"`
  45. PtType int `json:"ptType"`
  46. KongFuType int `json:"kongFuType"`
  47. }
  48. type ExchangeParam struct {
  49. CodeStr string `json:"codeStr"`
  50. CustomId int `json:"customId"`
  51. Mobile string `json:"mobile"`
  52. }
  53. type CartParam struct {
  54. ProductIds []int `json:"pids"`
  55. CustomId int `json:"cid"`
  56. }
  57. type TagParam struct {
  58. CityId int `json:"cityId"`
  59. ParentId int `json:"pid"`
  60. }
  61. type GetProductParam struct {
  62. PageSize uint `json:"pageSize"`
  63. PageIndex uint `json:"pageIndex"`
  64. Tags []string `json:"tags"`
  65. CateId int `json:"cateId"`
  66. CityId int `json:"cityId"`
  67. }
  68. type GetProductByCateParam struct {
  69. PageSize int `json:"page_size"`
  70. PageIndex int `json:"page_index"`
  71. CateIds []int `json:"cate_ids"`
  72. CityId int `json:"city_id"`
  73. SortBy string `json:"sort_by"`
  74. SortDir int `json:"sort_dir"`
  75. }
  76. type SetOpenidParam struct {
  77. Mobile string `json:"mobile"`
  78. Openid string `json:"openid"`
  79. }
  80. type GetOrderListParam struct {
  81. Openid string `json:"openid"`
  82. Status int `json:"status"`
  83. PageIndex int `json:"pageIndex"`
  84. PageSize int `json:"pageSize"`
  85. }
  86. type HouseKeepingReportParam struct {
  87. Name string `json:"name"`
  88. IdNumber string `json:"id_number"`
  89. ProductId int `json:"product_id"`
  90. Mobile string `json:"mobile"`
  91. VCode string `json:"vcode"`
  92. }
  93. type GroupBloodParam struct {
  94. CustomId int `json:"custom_id"`
  95. SubjectId int `json:"subject_id"`
  96. OperType int `json:"oper"`
  97. Status int `json:"status"`
  98. }
  99. type YoukeParam struct {
  100. Mobile string `json:"mobile"`
  101. Vcode string `json:"vcode"`
  102. }
  103. type JDParam struct {
  104. Mobile string `json:"mobile"`
  105. Erp string `json:"erp"`
  106. IsMarried string `json:"is_married"`
  107. AddrId int `json:"addr_id"`
  108. FromDay string `json:"from_day"`
  109. OperType string `json:"oper_type"`
  110. Openid string `json:"openid"`
  111. }
  112. type NourseExamParam struct {
  113. Oper string `json:"oper"`
  114. Type string `json:"type"`
  115. Questions []entity.ExamQuestion `json:"quetions"`
  116. DUser *entity.DeliverUser `json:"deliver_user"`
  117. StudyLog entity.DeliverStudyLog `json:"study_log"`
  118. OrderId string `json:"order_id"`
  119. DeliverUserId int `json:"deliver_user_id"`
  120. City string `json:"city"`
  121. PageSize int `json:"page_size"`
  122. PageIndex int `json:"page_index"`
  123. Workdays []string `json:"workdays"`
  124. Money int `json:"money"`
  125. ChatMsg *entity.DeliverChatMsg `json:"chat_msg"`
  126. Openid string `json:"openid"`
  127. IsSkip string `json:"is_skip"`
  128. ProductId int `json:"product_id"` //20221009 护士加项考试传参
  129. Answers []entity.ProductQuestion `json:"product_answers"` //20221009 护士加项考试传参
  130. }
  131. type TopProductParam struct {
  132. Size int `json:"size"`
  133. CityId int `json:"city_id"`
  134. }
  135. type DictParam struct {
  136. Class string `json:"class"`
  137. Ordernum string `json:"ordernum"`
  138. }
  139. type ProductCoordinatesParam struct {
  140. Pid []int `json:"pid"`
  141. Coordinates string `json:"coordinates"`
  142. CityId int `json:"city_id"`
  143. }
  144. type ProductGuessParam struct {
  145. CityId int `json:"city_id"`
  146. Mobile string `json:"mobile"`
  147. }