智莺生活mysql模型库
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_request.go 7.4 KiB

5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
4 months ago
5 months ago
5 months ago
5 months ago
4 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. package md
  2. type BuyPackageRecordsRequest struct {
  3. Page int `json:"page"`
  4. Limit int `json:"limit"`
  5. }
  6. type BuyPackageRecordsResponse struct {
  7. Id int `json:"id"`
  8. OrdNo string `json:"ord_no"`
  9. TradeNo string `json:"trade_no"`
  10. PackageId int `json:"package_id"`
  11. Uid int `json:"uid"`
  12. Amount string `json:"amount"`
  13. State int `json:"state"`
  14. PayChannel int `json:"pay_channel"`
  15. Months int `json:"months"`
  16. PackageName string `json:"package_name"`
  17. CreateAt string `json:"create_at" `
  18. UpdateAt string `json:"update_at" `
  19. }
  20. type ActivityGroupListRequest struct {
  21. Page int `json:"page"`
  22. Limit int `json:"limit"`
  23. Name string `json:"name"`
  24. }
  25. type AddActivityGroupRequest struct {
  26. Name string `json:"name"`
  27. ChatRoomId string `json:"chat_room_id"`
  28. ChatRoomOwnerWxNickname string `json:"chat_room_owner_wx_nickname"`
  29. ChatRoomOwnerWxHeadUrl string `json:"chat_room_owner_wx_head_url"`
  30. ChatRoomOwner string `json:"chat_room_owner"`
  31. MemberCount int `json:"member_count"`
  32. BigHeadImgUrl string `json:"big_head_img_url"`
  33. SmallHeadImgUrl string `json:"small_head_img_url"`
  34. }
  35. type SetStateActivityGroup struct {
  36. Id int `json:"id"`
  37. State int `json:"state"`
  38. }
  39. type SourceGroupListRequest struct {
  40. Page int `json:"page"`
  41. Limit int `json:"limit"`
  42. }
  43. type SourceGroupIndexRequest struct {
  44. Page int `json:"page"`
  45. Limit int `json:"limit"`
  46. }
  47. type PreviewSourceRequest struct {
  48. ActivateGroupId int `json:"activate_group_id"`
  49. Page int `json:"page"`
  50. Limit int `json:"limit"`
  51. }
  52. type JoinSourceGroupRequest struct {
  53. FollowActivateGroupId int `json:"follow_activate_group_id"`
  54. Name string `json:"name"`
  55. FollowChatRoomId string `json:"follow_chat_room_id"`
  56. FollowChatRoomOwner string `json:"follow_chat_room_owner"`
  57. FollowChatMemberCount int `json:"follow_chat_member_count"`
  58. FollowBigHeadImgUrl string `json:"follow_big_head_img_url"`
  59. FollowSmallHeadImgUrl string `json:"follow_small_head_img_url"`
  60. JoinActivateGroupId int `json:"join_activate_group_id"`
  61. }
  62. type AddGroupWelcomeMessageListRequest struct {
  63. Page int `json:"page"`
  64. Limit int `json:"limit"`
  65. }
  66. type SetSateAddGroupWelcomeMessageRequest struct {
  67. ActivateGroupId int `json:"activate_group_id"`
  68. State int `json:"state"`
  69. }
  70. type UpdateSateAddGroupWelcomeMessageRequest struct {
  71. ActivateGroupId int `json:"activate_group_id"`
  72. Content string `json:"content"`
  73. }
  74. type KeywordReplyWithActivateGroupListRequest struct {
  75. Page int `json:"page"`
  76. Limit int `json:"limit"`
  77. }
  78. type SetSateKeywordReplyWithActivateGroupRequest struct {
  79. ActivateGroupId int `json:"activate_group_id"`
  80. State int `json:"state"`
  81. }
  82. type SetIsFollowOfficialKeywordReplyWithActivateGroupRequest struct {
  83. ActivateGroupId int `json:"activate_group_id"`
  84. IsFollowOfficial int `json:"is_follow_official"`
  85. }
  86. type UpdateKeywordReplyWithActivateGroupRequest struct {
  87. ActivateGroupId int `json:"activate_group_id"`
  88. List []struct {
  89. KeyWord string `json:"keyword"`
  90. Kind int `json:"kind"`
  91. ReplyContent string `json:"reply_content"`
  92. } `json:"list"`
  93. }
  94. type FollowGroupIndexResponse struct {
  95. List []FollowGroupAddRequest `json:"list"`
  96. FollowGroupUserNums int `json:"follow_group_user_nums"` //群跟发用户数量
  97. FollowGroupRelayNums int `json:"follow_group_relay_nums"` //群跟发可转发群数
  98. FollowGroupBindNums int `json:"follow_group_bind_nums"` //群跟发可绑定群数
  99. AlreadyFollowGroupBindNums int `json:"already_follow_group_bind_nums"` //群跟发已绑定群数
  100. }
  101. type FollowGroupAddRequest struct {
  102. Id int `json:"id"`
  103. ActivateGroupId int `json:"activate_group_id"`
  104. ChatRoomId string `json:"chat_room_id"`
  105. Name string `json:"name"`
  106. ChatRoomOwner string `json:"chat_room_owner"`
  107. BigHeadImgUrl string `json:"big_head_img_url"`
  108. SmallHeadImgUrl string `json:"small_head_img_url"`
  109. MemberCount string `json:"member_count"`
  110. State int `json:"state"`
  111. FollowUserList []RobotMacGetChatRoomMemberResponse `json:"follow_user_list"`
  112. FollowGroupList []struct {
  113. FollowActivateGroupId int `json:"follow_activate_group_id"`
  114. ChatRoomId string `json:"chat_room_id"`
  115. NickName string `json:"nick_name"`
  116. ChatRoomOwner string `json:"chat_room_owner"`
  117. BigHeadImgUrl string `json:"big_head_img_url"`
  118. SmallHeadImgUrl string `json:"small_head_img_url"`
  119. MemberCount string `json:"member_count"`
  120. } `json:"follow_group_list"`
  121. }
  122. type RobotMacGetChatRoomMemberResponse struct {
  123. UserName string `json:"user_name"` //微信号
  124. NickName string `json:"nick_name"` //昵称
  125. DisplayName string `json:"display_name"` //群昵称
  126. BigHeadImgUrl string `json:"big_head_img_url"` //头像
  127. SmallHeadImgUrl string `json:"small_head_img_url"` //头像(缩略图)
  128. InviteUser string `json:"invite_user"` //邀请人微信号
  129. }
  130. type FollowGroupIsUseRequest struct {
  131. Id int `json:"id"`
  132. State int `json:"state"`
  133. }
  134. type FollowGroupDeleteRequest struct {
  135. Id int `json:"id"`
  136. }
  137. type GroupManageSaveRequest struct {
  138. IsOpenOut int `json:"is_open_out"`
  139. OutSendFile int `json:"out_send_file"`
  140. OutSendCard int `json:"out_send_card"`
  141. OutSendLink int `json:"out_send_link"`
  142. OutSendApplet int `json:"out_send_applet"`
  143. OutAutoAddBlackList int `json:"out_auto_add_black_list"`
  144. }
  145. type GroupManageBlackListRequest struct {
  146. Name string `json:"name"`
  147. }
  148. type GroupManageBlackSaveRequest struct {
  149. ActivateGroupId int `json:"activate_group_id"`
  150. ChatRoomId string `json:"chat_room_id"`
  151. ChatRoomOwner string `json:"chat_room_owner"`
  152. BigHeadImgUrl string `json:"big_head_img_url"`
  153. SmallHeadImgUrl string `json:"small_head_img_url"`
  154. }
  155. type GroupManageWhiteListRequest struct {
  156. Name string `json:"name"`
  157. }
  158. type GroupManageWhiteSaveRequest struct {
  159. ActivateGroupId int `json:"activate_group_id"`
  160. ChatRoomId string `json:"chat_room_id"`
  161. ChatRoomOwner string `json:"chat_room_owner"`
  162. BigHeadImgUrl string `json:"big_head_img_url"`
  163. SmallHeadImgUrl string `json:"small_head_img_url"`
  164. }
  165. type GroupManageBlackWithUserListRequest struct {
  166. ActivateGroupId int `json:"activate_group_id"`
  167. ChatRoomId string `json:"chat_room_id"`
  168. }
  169. type GroupManageBlackWithUserSaveRequest struct {
  170. ActivateGroupId int `json:"activate_group_id"`
  171. WxIds []string `json:"wc_ids"`
  172. }
  173. type GroupManageWhiteWithUserListRequest struct {
  174. ActivateGroupId int `json:"activate_group_id"`
  175. ChatRoomId string `json:"chat_room_id"`
  176. }
  177. type GroupManageWhiteWithUserSaveRequest struct {
  178. ActivateGroupId int `json:"activate_group_id"`
  179. WxIds []string `json:"wc_ids"`
  180. }
  181. type OneClickGroupSendIndexRequest struct {
  182. Page int `json:"page"`
  183. Limit int `json:"limit"`
  184. }
  185. type OneClickGroupSendBindCategoryRequest struct {
  186. ActivateGroupId int `json:"activate_group_id"`
  187. CategoryId int `json:"category_id"`
  188. }