소스 검색

update

master
dengbiao 3 달 전
부모
커밋
e511a22a59
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -0
      consume/init.go
  2. +1
    -1
      consume/one_circles_sign_in_consume.go

+ 1
- 0
consume/init.go 파일 보기

@@ -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 파일 보기

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


불러오는 중...
취소
저장