Selaa lähdekoodia

update

one_orenge
DengBiao 8 kuukautta sitten
vanhempi
commit
0ddaf51965
2 muutettua tiedostoa jossa 8 lisäystä ja 5 poistoa
  1. +3
    -0
      consume/canal_user_virtual_coin_flow_consume.go
  2. +5
    -5
      consume/init.go

+ 3
- 0
consume/canal_user_virtual_coin_flow_consume.go Näytä tiedosto

@@ -89,6 +89,9 @@ func handleCanalUserVirtualCoinFlow(msg []byte) error {
}
if userPublicPlatoonDoubleNetworkUserCoinRecord == nil {
userProfile, err2 := db.UserProfileFindByIDSess(engine.NewSession(), canalMsg.Data[0].Uid)
if userProfile == nil {
return errors.New("用户不存在")
}
if err2 != nil {
return err2
}


+ 5
- 5
consume/init.go Näytä tiedosto

@@ -72,17 +72,17 @@ func initConsumes() {
//jobs[consumeMd.MallAddSupplyGoodsFunName] = MallAddSupplyGoodsConsume

//////////////////////////////////////// bigData /////////////////////////////////////////////////////
//jobs[consumeMd.CanalOrderConsumeFunName] = CanalOrderConsume
//jobs[consumeMd.CanalGuideOrderConsumeFunName] = CanalGuideOrderConsume
//jobs[consumeMd.ZhiOsUserVisitIpAddressConsumeFunName] = ZhiOsUserVisitIpAddressConsume
//jobs[consumeMd.CanalUserVirtualCcoinFlowFunName] = CanalUserVirtualCoinFlowConsume
jobs[consumeMd.CanalOrderConsumeFunName] = CanalOrderConsume
jobs[consumeMd.CanalGuideOrderConsumeFunName] = CanalGuideOrderConsume
jobs[consumeMd.ZhiOsUserVisitIpAddressConsumeFunName] = ZhiOsUserVisitIpAddressConsume
jobs[consumeMd.CanalUserVirtualCcoinFlowFunName] = CanalUserVirtualCoinFlowConsume

//////////////////////////////////////// oneCircles /////////////////////////////////////////////////////
//jobs[consumeMd.OneCirclesSignInGreenEnergyFunName] = OneCirclesSignInGreenEnergyConsume
//jobs[consumeMd.OneCirclesSignInCopyGreenEnergyFunName] = OneCirclesSignInCopyGreenEnergyConsume

//////////////////////////////////////// withdraw /////////////////////////////////////////////////////
jobs[consumeMd.WithdrawConsumeFunName] = WithdrawConsume
//jobs[consumeMd.WithdrawConsumeFunName] = WithdrawConsume
}

func Run() {


Ladataan…
Peruuta
Tallenna