蛋蛋星球 后台端
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
596 B

  1. package svc
  2. import (
  3. "applet/app/cfg"
  4. rule "code.fnuoos.com/EggPlanet/egg_system_rules.git"
  5. "code.fnuoos.com/EggPlanet/egg_system_rules.git/rule/egg_energy"
  6. "fmt"
  7. "xorm.io/xorm"
  8. )
  9. func EggEnergyCommunityDividends(engine *xorm.Engine) {
  10. fmt.Println(">>>>>>>>>>>>>>>>>>EggEnergyCommunityDividends<<<<<<<<<<<<<<<<<<<")
  11. rule.Init(cfg.RedisAddr)
  12. err := egg_energy.StartCommunityDividends(engine)
  13. if err != nil {
  14. fmt.Println("err:::::00000", err.Error())
  15. return
  16. }
  17. fmt.Println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>EggEnergyCommunityDividends----end<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<")
  18. return
  19. }