|
@@ -4,7 +4,6 @@ import (
|
|
|
"eta_gn/eta_bridge/global"
|
|
|
"eta_gn/eta_bridge/services"
|
|
|
"eta_gn/eta_bridge/services/index_data"
|
|
|
- "fmt"
|
|
|
"github.com/robfig/cron/v3"
|
|
|
)
|
|
|
|
|
@@ -16,10 +15,10 @@ func InitTask() {
|
|
|
}
|
|
|
|
|
|
// 修复数据
|
|
|
- if global.CONFIG.Gn.DataHost != `` {
|
|
|
- fmt.Println("开始修复数据了")
|
|
|
- index_data.FixData()
|
|
|
- }
|
|
|
+ //if global.CONFIG.Gn.DataHost != `` {
|
|
|
+ // fmt.Println("开始修复数据了")
|
|
|
+ // index_data.FixData()
|
|
|
+ //}
|
|
|
|
|
|
// 角色-用户-部门-分组同步
|
|
|
//go services.ListenSyncRole()
|