golang 的 rabbitmq 消费项目
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.

11 maanden geleden
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. package md
  2. const RobotQrcodeMacLoginQueue = "cloud_issuance_async_mlogin"
  3. const CloudIssuanceMsgCallBackQueue = "cloud_issuance_msg_call_back" //云发单消息回调
  4. type CloudIssuanceAsyncMLogin struct {
  5. UserId string `json:"user_id"` //用户id
  6. MasterId string `json:"master_id"` //站长id
  7. WId string `json:"wId"` //实例id
  8. RobotId int `json:"robot_id"` //机器人id
  9. QrCodeUrl string `json:"qrCodeUrl"`
  10. }
  11. const UserWithdrawApplyExchange = "zhios.app.user.withdraw.apply.exchange"
  12. const ZhiosCapitalPoolOrderTotalExchange = "zhios.capital_pool.order_total.exchange"
  13. const CloudIssuanceMsgCallBackExchange = "zhios.cloud.issuance.msg.callback.exchange"
  14. const DouShenUserRegisterExchange = "zhios.doushen.user.register.exchange"
  15. const FastReturnOrder = "zhios.order.fast.return.exchange"
  16. const (
  17. DouShenUserRegisterRoutKeyForOfficial = "official" // 官方
  18. DouShenUserRegisterRoutKeyForOperationCenter = "operation_center" // 运营中心
  19. DouShenUserRegisterRoutKeyForMyRecommender = "my_recommender" // 我的推荐人
  20. DouShenUserRegisterRoutKeyForMyFans = "my_fans" // 我的粉丝
  21. DouShenUserRegisterRoutKeyForUserRegisterCommUpLv = "user_register_comm_up_lv" // 用户注册自动升级(给推荐人)
  22. FastReturnOrderRoutKeyForOrderPay = "order_pay"
  23. FastReturnOrderRoutKeyForOrderRefund = "order_refund"
  24. FastReturnOrderRoutKeyForOrderSuccess = "order_success"
  25. ZhiosCapitalPoolOrderTotalStr = "order_total"
  26. )
  27. type DouShenUserRegisterMessageStructForOfficial struct {
  28. MasterId string `json:"master_id"`
  29. Phone int64 `json:"phone"`
  30. Uid int64 `json:"uid"`
  31. }
  32. type DouShenUserRegisterMessageStructForMyFans struct {
  33. MasterId string `json:"master_id"`
  34. Phone int64 `json:"phone"`
  35. Uid int64 `json:"uid"`
  36. }
  37. type DouShenUserRegisterMessageStructForMyRecommender struct {
  38. MasterId string `json:"master_id"`
  39. Phone int64 `json:"phone"`
  40. Uid int64 `json:"uid"`
  41. RecommenderUid int64 `json:"recommender_uid"`
  42. RecommenderPhone string `json:"recommender_phone"`
  43. }
  44. type DouShenUserRegisterMessageStructForOperationCenter struct {
  45. MasterId string `json:"master_id"`
  46. Phone int64 `json:"phone"`
  47. Uid int64 `json:"uid"`
  48. OperationCenterUid int64 `json:"operation_center_uid"`
  49. OperationCenterPhone string `json:"operation_center_phone"`
  50. }
  51. type DouShenUserRegisterMessageStructForCommUpLv struct {
  52. MasterId string `json:"master_id"`
  53. Uid int64 `json:"uid"`
  54. }
  55. type ZhiosFatReturnOrderPay struct {
  56. Uid string `json:"uid"`
  57. Mid string `json:"mid"`
  58. Oid string `json:"oid"`
  59. Name string `json:"name"`
  60. Prd string `json:"prd"`
  61. }
  62. type ZhiosCapitalPoolOrderTotal struct {
  63. Uid []string `json:"uid"`
  64. Mid string `json:"mid"`
  65. Runtime int64 `json:"runtime"`
  66. TotalTime int64 `json:"totalTime"`
  67. BonusLevelType int `json:"bonusLevelType"`
  68. Level string `json:"level"`
  69. }