Bläddra i källkod

update

master
dengbiao 3 månader sedan
förälder
incheckning
e511a22a59
2 ändrade filer med 2 tillägg och 1 borttagningar
  1. +1
    -0
      consume/init.go
  2. +1
    -1
      consume/one_circles_sign_in_consume.go

+ 1
- 0
consume/init.go Visa fil

@@ -89,6 +89,7 @@ func initConsumes() {
jobs[consumeMd.OneCirclesActivityCoinAutoExchangeGreenEnergyForTeamFunName] = OneCirclesActivityCoinAutoExchangeGreenEnergyForTeamConsume
jobs[consumeMd.OneCirclesSettlementPublicGiveActivityCoinFunName] = OneCirclesSettlementPublicGiveActivityCoinConsume
jobs[consumeMd.OneCirclesAddPublicPlatoonUserRelationCommissionFunName] = OneCirclesAddPublicPlatoonUserRelationCommissionConsume

//jobs[consumeMd.OneCirclesSignInCopyGreenEnergyFunName] = OneCirclesSignInCopyGreenEnergyConsume

//////////////////////////////////////// withdraw /////////////////////////////////////////////////////


+ 1
- 1
consume/one_circles_sign_in_consume.go Visa fil

@@ -25,7 +25,7 @@ func OneCirclesSignInGreenEnergyConsume(queue md.MqQueue) {
//1、将自己绑定到交换机上
ch.Bind(queue.Name, queue.ExchangeName, queue.RoutKey)
//2、取出数据进行消费
ch.Qos(1)
ch.Qos(5)
delivery := ch.Consume(queue.Name, false)

one_circles.Init(cfg.RedisAddr)


Laddar…
Avbryt
Spara