Kaynağa Gözat

update

three
DengBiao 1 yıl önce
ebeveyn
işleme
e1cd7253ea
4 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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)


Yükleniyor…
İptal
Kaydet