Browse Source

update

master
shenjiachi 1 month ago
parent
commit
616ed7e8ac
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      consume/egg_energy_fund_data_consume.go
  2. +2
    -0
      consume/init.go

+ 1
- 1
consume/egg_energy_fund_data_consume.go View File

@@ -42,7 +42,7 @@ func EggEnergyDealFundDataConsume(queue md.MqQueue) {
for { for {
res, ok = <-delivery res, ok = <-delivery
if ok == true { if ok == true {
err = handleEggEnergyStartLevelDividendConsume(res.Body)
err = handleEggEnergyDealFundDataConsume(res.Body)
if err != nil { if err != nil {
fmt.Println("EggEnergyDealFundDataConsume_ERR:::::", err.Error()) fmt.Println("EggEnergyDealFundDataConsume_ERR:::::", err.Error())
utils2.FilePutContents("EggEnergyDealFundDataConsume_ERR", utils2.SerializeStr(map[string]interface{}{ utils2.FilePutContents("EggEnergyDealFundDataConsume_ERR", utils2.SerializeStr(map[string]interface{}{


+ 2
- 0
consume/init.go View File

@@ -18,6 +18,8 @@ func Init() {
// 增加消费任务队列 // 增加消费任务队列
func initConsumes() { func initConsumes() {
jobs[consumeMd.EggEnergyStartLevelDividendFunName] = EggEnergyStartLevelDividendConsume jobs[consumeMd.EggEnergyStartLevelDividendFunName] = EggEnergyStartLevelDividendConsume
jobs[consumeMd.EggEnergyDealPlatformRevenueDataFunName] = EggEnergyDealPlatformRevenueDataConsume
jobs[consumeMd.EggEnergyDealFundDataFunName] = EggEnergyDealFundDataConsume
} }


func Run() { func Run() {


Loading…
Cancel
Save