瀏覽代碼

update

three
DengBiao 1 年之前
父節點
當前提交
e1cd7253ea
共有 4 個檔案被更改,包括 6 行新增0 行删除
  1. +1
    -0
      consume/dou_shen_user_register_for_my_my_fans.go
  2. +2
    -0
      consume/dou_shen_user_register_for_my_my_recommender.go
  3. +1
    -0
      consume/dou_shen_user_register_for_official_consume.go
  4. +2
    -0
      consume/dou_shen_user_register_for_operation_center.go

+ 1
- 0
consume/dou_shen_user_register_for_my_my_fans.go 查看文件

@@ -54,6 +54,7 @@ func DouShenUserRegisterConsumeForMyFans(queue md.MqQueue) {
}

func handleDouShenUserRegisterConsumeForMyFans(msgData []byte) error {
time.Sleep(time.Duration(3) * time.Second)
//1、解析mq中queue的数据结构体
var msg *md.DouShenUserRegisterMessageStructForMyFans
err := json.Unmarshal(msgData, &msg)


+ 2
- 0
consume/dou_shen_user_register_for_my_my_recommender.go 查看文件

@@ -13,6 +13,7 @@ import (
"errors"
"fmt"
"github.com/streadway/amqp"
"time"
)

func DouShenUserRegisterConsumeForMyRecommender(queue md.MqQueue) {
@@ -50,6 +51,7 @@ func DouShenUserRegisterConsumeForMyRecommender(queue md.MqQueue) {
}

func handleDouShenUserRegisterConsumeForMyRecommender(msgData []byte) error {
time.Sleep(time.Duration(3) * time.Second)
//1、解析mq中queue的数据结构体
var msg *md.DouShenUserRegisterMessageStructForMyRecommender
err := json.Unmarshal(msgData, &msg)


+ 1
- 0
consume/dou_shen_user_register_for_official_consume.go 查看文件

@@ -53,6 +53,7 @@ func DouShenUserRegisterConsumeForOfficial(queue md.MqQueue) {
}

func handleDouShenUserRegisterConsumeForOfficial(msgData []byte) error {
time.Sleep(time.Duration(3) * time.Second)
//1、解析mq中queue的数据结构体
var msg *md.DouShenUserRegisterMessageStructForOfficial
err := json.Unmarshal(msgData, &msg)


+ 2
- 0
consume/dou_shen_user_register_for_operation_center.go 查看文件

@@ -13,6 +13,7 @@ import (
"errors"
"fmt"
"github.com/streadway/amqp"
"time"
)

func DouShenUserRegisterConsumeForOperationCenter(queue md.MqQueue) {
@@ -50,6 +51,7 @@ func DouShenUserRegisterConsumeForOperationCenter(queue md.MqQueue) {
}

func handleDouShenUserRegisterConsumeForOperationCenter(msgData []byte) error {
time.Sleep(time.Duration(3) * time.Second)
//1、解析mq中queue的数据结构体
var msg *md.DouShenUserRegisterMessageStructForOperationCenter
err := json.Unmarshal(msgData, &msg)


Loading…
取消
儲存