|
123456789101112131415161718192021 |
- package svc
-
- import (
- "applet/app/cfg"
- rule "code.fnuoos.com/EggPlanet/egg_system_rules.git"
- "code.fnuoos.com/EggPlanet/egg_system_rules.git/rule/egg_energy"
- "fmt"
- "xorm.io/xorm"
- )
-
- func EggEnergyCommunityDividends(engine *xorm.Engine) {
- fmt.Println(">>>>>>>>>>>>>>>>>>EggEnergyCommunityDividends<<<<<<<<<<<<<<<<<<<")
- rule.Init(cfg.RedisAddr)
- err := egg_energy.StartCommunityDividends(engine)
- if err != nil {
- fmt.Println("err:::::00000", err.Error())
- return
- }
- fmt.Println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>EggEnergyCommunityDividends----end<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<")
- return
- }
|