|
|
@@ -18,19 +18,20 @@ func Init() { |
|
|
|
// 增加消费任务队列 |
|
|
|
func initConsumes() { |
|
|
|
jobs[consumeMd.EggEnergyStartLevelDividendFunName] = EggEnergyStartLevelDividendConsume |
|
|
|
jobs[consumeMd.EggEnergyDealPlatformRevenueDataFunName] = EggEnergyDealPlatformRevenueDataConsume |
|
|
|
jobs[consumeMd.EggEnergyDealFundDataFunName] = EggEnergyDealFundDataConsume |
|
|
|
jobs[consumeMd.AliyunSmsRecordFunName] = AliyunSmsRecordConsume //阿里云短信 |
|
|
|
jobs[consumeMd.JpushRecordFunName] = JpushRecordConsume //极光推送 |
|
|
|
jobs[consumeMd.AdvertisingSmashConsume] = AdvertisingSmashConsume //砸蛋 |
|
|
|
jobs[consumeMd.AdvertisingSignConsume] = AdvertisingSignConsume //签到 |
|
|
|
jobs[consumeMd.EggEnergyDealUserVirtualCoinDataFunName] = EggEnergyDealUserVirtualCoinDataConsume |
|
|
|
jobs[consumeMd.IMEggEnergyBatchSendMessageDataFunName] = IMEggEnergyBatchSendMessageDataConsume |
|
|
|
jobs[consumeMd.IMEggEnergyDelFriendCircleDataFunName] = IMEggEnergyDelFriendCircleDataConsume |
|
|
|
jobs[consumeMd.EggFinWithdrawApplyDataConsumeFunName] = EggFinWithdrawApplyDataConsume |
|
|
|
jobs[consumeMd.EggEnergyDealPlatformRevenueDataFunName] = EggEnergyDealPlatformRevenueDataConsume // 平台营收 |
|
|
|
jobs[consumeMd.EggEnergyDealFundDataFunName] = EggEnergyDealFundDataConsume // 资金数据 |
|
|
|
jobs[consumeMd.AliyunSmsRecordFunName] = AliyunSmsRecordConsume //阿里云短信 |
|
|
|
jobs[consumeMd.JpushRecordFunName] = JpushRecordConsume //极光推送 |
|
|
|
jobs[consumeMd.AdvertisingSmashConsume] = AdvertisingSmashConsume //砸蛋 |
|
|
|
jobs[consumeMd.AdvertisingSignConsume] = AdvertisingSignConsume //签到 |
|
|
|
jobs[consumeMd.EggEnergyDealUserVirtualCoinDataFunName] = EggEnergyDealUserVirtualCoinDataConsume // 视频奖励给相应团队发放积分 |
|
|
|
jobs[consumeMd.IMEggEnergyBatchSendMessageDataFunName] = IMEggEnergyBatchSendMessageDataConsume // 批量发送信息 |
|
|
|
jobs[consumeMd.IMEggEnergyDelFriendCircleDataFunName] = IMEggEnergyDelFriendCircleDataConsume // 删除朋友圈 |
|
|
|
jobs[consumeMd.EggFinWithdrawApplyDataConsumeFunName] = EggFinWithdrawApplyDataConsume // 支付宝打款 |
|
|
|
jobs[consumeMd.EggEnergySettlementPublicGiveActivityCoinFunName] = EggEnergySettlementPublicGiveActivityCoinConsume |
|
|
|
jobs[consumeMd.EggEnergyStartExchangeGreenEnergyFunName] = EggEnergyStartExchangeGreenEnergyConsume |
|
|
|
jobs[consumeMd.EggEnergyAutoExchangeGreenEnergyFunName] = EggEnergyAutoExchangeGreenEnergyConsume |
|
|
|
jobs[consumeMd.EggEnergyNewUserRegisterDataFunName] = EggEnergyNewUserRegisterDataConsume // 新用户注册 |
|
|
|
} |
|
|
|
|
|
|
|
func Run() { |
|
|
|