智莺生活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.
 
 
 
 

192 lines
7.1 KiB

  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 PreviewSourceRequest struct {
  44. ActivateGroupId int `json:"activate_group_id"`
  45. Page int `json:"page"`
  46. Limit int `json:"limit"`
  47. }
  48. type JoinSourceGroupRequest struct {
  49. FollowActivateGroupId int `json:"follow_activate_group_id"`
  50. Name string `json:"name"`
  51. FollowChatRoomId string `json:"follow_chat_room_id"`
  52. FollowChatRoomOwner string `json:"follow_chat_room_owner"`
  53. FollowChatMemberCount int `json:"follow_chat_member_count"`
  54. FollowBigHeadImgUrl string `json:"follow_big_head_img_url"`
  55. FollowSmallHeadImgUrl string `json:"follow_small_head_img_url"`
  56. JoinActivateGroupId int `json:"join_activate_group_id"`
  57. }
  58. type AddGroupWelcomeMessageListRequest struct {
  59. Page int `json:"page"`
  60. Limit int `json:"limit"`
  61. }
  62. type SetSateAddGroupWelcomeMessageRequest struct {
  63. ActivateGroupId int `json:"activate_group_id"`
  64. State int `json:"state"`
  65. }
  66. type UpdateSateAddGroupWelcomeMessageRequest struct {
  67. ActivateGroupId int `json:"activate_group_id"`
  68. Content string `json:"content"`
  69. }
  70. type KeywordReplyWithActivateGroupListRequest struct {
  71. Page int `json:"page"`
  72. Limit int `json:"limit"`
  73. }
  74. type SetSateKeywordReplyWithActivateGroupRequest struct {
  75. ActivateGroupId int `json:"activate_group_id"`
  76. State int `json:"state"`
  77. }
  78. type SetIsFollowOfficialKeywordReplyWithActivateGroupRequest struct {
  79. ActivateGroupId int `json:"activate_group_id"`
  80. IsFollowOfficial int `json:"is_follow_official"`
  81. }
  82. type UpdateKeywordReplyWithActivateGroupRequest struct {
  83. ActivateGroupId int `json:"activate_group_id"`
  84. List []struct {
  85. KeyWord string `json:"keyword"`
  86. Kind int `json:"kind"`
  87. ReplyContent string `json:"reply_content"`
  88. } `json:"list"`
  89. }
  90. type FollowGroupIndexResponse struct {
  91. List []FollowGroupAddRequest `json:"list"`
  92. FollowGroupUserNums int `json:"follow_group_user_nums"` //群跟发用户数量
  93. FollowGroupRelayNums int `json:"follow_group_relay_nums"` //群跟发可转发群数
  94. FollowGroupBindNums int `json:"follow_group_bind_nums"` //群跟发可绑定群数
  95. AlreadyFollowGroupBindNums int `json:"already_follow_group_bind_nums"` //群跟发已绑定群数
  96. }
  97. type FollowGroupAddRequest struct {
  98. Id int `json:"id"`
  99. ActivateGroupId int `json:"activate_group_id"`
  100. ChatRoomId string `json:"chat_room_id"`
  101. Name string `json:"name"`
  102. ChatRoomOwner string `json:"chat_room_owner"`
  103. BigHeadImgUrl string `json:"big_head_img_url"`
  104. SmallHeadImgUrl string `json:"small_head_img_url"`
  105. MemberCount string `json:"member_count"`
  106. State int `json:"state"`
  107. FollowUserList []RobotMacGetChatRoomMemberResponse `json:"follow_user_list"`
  108. FollowGroupList []struct {
  109. FollowActivateGroupId int `json:"follow_activate_group_id"`
  110. ChatRoomId string `json:"chat_room_id"`
  111. NickName string `json:"nick_name"`
  112. ChatRoomOwner string `json:"chat_room_owner"`
  113. BigHeadImgUrl string `json:"big_head_img_url"`
  114. SmallHeadImgUrl string `json:"small_head_img_url"`
  115. MemberCount string `json:"member_count"`
  116. } `json:"follow_group_list"`
  117. }
  118. type RobotMacGetChatRoomMemberResponse struct {
  119. UserName string `json:"user_name"` //微信号
  120. NickName string `json:"nick_name"` //昵称
  121. DisplayName string `json:"display_name"` //群昵称
  122. BigHeadImgUrl string `json:"big_head_img_url"` //头像
  123. SmallHeadImgUrl string `json:"small_head_img_url"` //头像(缩略图)
  124. InviteUser string `json:"invite_user"` //邀请人微信号
  125. }
  126. type FollowGroupIsUseRequest struct {
  127. Id int `json:"id"`
  128. State int `json:"state"`
  129. }
  130. type FollowGroupDeleteRequest struct {
  131. Id int `json:"id"`
  132. }
  133. type GroupManageSaveRequest struct {
  134. IsOpenOut int `json:"is_open_out"`
  135. OutSendFile int `json:"out_send_file"`
  136. OutSendCard int `json:"out_send_card"`
  137. OutSendLink int `json:"out_send_link"`
  138. OutSendApplet int `json:"out_send_applet"`
  139. OutAutoAddBlackList int `json:"out_auto_add_black_list"`
  140. }
  141. type GroupManageBlackListRequest struct {
  142. Name string `json:"name"`
  143. }
  144. type GroupManageBlackSaveRequest struct {
  145. ActivateGroupId int `json:"activate_group_id"`
  146. ChatRoomId string `json:"chat_room_id"`
  147. ChatRoomOwner string `json:"chat_room_owner"`
  148. BigHeadImgUrl string `json:"big_head_img_url"`
  149. SmallHeadImgUrl string `json:"small_head_img_url"`
  150. }
  151. type GroupManageWhiteListRequest struct {
  152. Name string `json:"name"`
  153. }
  154. type GroupManageWhiteSaveRequest struct {
  155. ActivateGroupId int `json:"activate_group_id"`
  156. ChatRoomId string `json:"chat_room_id"`
  157. ChatRoomOwner string `json:"chat_room_owner"`
  158. BigHeadImgUrl string `json:"big_head_img_url"`
  159. SmallHeadImgUrl string `json:"small_head_img_url"`
  160. }
  161. type GroupManageBlackWithUserListRequest struct {
  162. ActivateGroupId int `json:"activate_group_id"`
  163. ChatRoomId string `json:"chat_room_id"`
  164. }
  165. type GroupManageBlackWithUserSaveRequest struct {
  166. ActivateGroupId int `json:"activate_group_id"`
  167. WxIds []string `json:"wc_ids"`
  168. }
  169. type GroupManageWhiteWithUserListRequest struct {
  170. ActivateGroupId int `json:"activate_group_id"`
  171. ChatRoomId string `json:"chat_room_id"`
  172. }
  173. type GroupManageWhiteWithUserSaveRequest struct {
  174. ActivateGroupId int `json:"activate_group_id"`
  175. WxIds []string `json:"wc_ids"`
  176. }