|
|
@@ -418,7 +418,7 @@ func commReq(c *gin.Context, req md.RegisterReq) { |
|
|
|
return |
|
|
|
} |
|
|
|
defer ch.Release() |
|
|
|
ch.Publish(md3.EggAppExchange, utils.SerializeStr(md3.AddPublicPlatoonUserRelationCommissionReq{RecommendUid: utils.Int64ToStr(parentUid), Uid: utils.Int64ToStr(user.Id)}), md3.EggRoutKeyForAddPublicPlatoonUserRelationCommission) |
|
|
|
ch.Publish(md3.EggAppExchange, md3.AddPublicPlatoonUserRelationCommissionReq{RecommendUid: utils.Int64ToStr(parentUid), Uid: utils.Int64ToStr(user.Id)}, md3.EggRoutKeyForAddPublicPlatoonUserRelationCommission) |
|
|
|
} |
|
|
|
//TODO::推入mq处理 |
|
|
|
ch, err := rabbit.Cfg.Pool.GetChannel() |
|
|
|