正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
@@ -2,7 +2,6 @@ package main | @@ -2,7 +2,6 @@ package main | ||
2 | 2 | ||
3 | import ( | 3 | import ( |
4 | "fmt" | 4 | "fmt" |
5 | - "gitlab.fjmaimaimai.com/allied-creation/allied-creation-manufacture/pkg/port/mqtt" | ||
6 | "gitlab.fjmaimaimai.com/allied-creation/allied-creation-manufacture/pkg/port/task" | 5 | "gitlab.fjmaimaimai.com/allied-creation/allied-creation-manufacture/pkg/port/task" |
7 | 6 | ||
8 | "github.com/beego/beego/v2/server/web" | 7 | "github.com/beego/beego/v2/server/web" |
@@ -34,7 +33,7 @@ func main() { | @@ -34,7 +33,7 @@ func main() { | ||
34 | log.Logger.Debug("server start ....") | 33 | log.Logger.Debug("server start ....") |
35 | log.Logger.Debug(fmt.Sprintf("ENABLE_KAFKA_LOG:%v", constant.ENABLE_KAFKA_LOG)) | 34 | log.Logger.Debug(fmt.Sprintf("ENABLE_KAFKA_LOG:%v", constant.ENABLE_KAFKA_LOG)) |
36 | 35 | ||
37 | - go mqtt.Start() | 36 | + //go mqtt.Start() |
38 | go task.Run() | 37 | go task.Run() |
39 | cron := crontab.NewCrontabService(nil) | 38 | cron := crontab.NewCrontabService(nil) |
40 | cron.StartCrontabTask() | 39 | cron.StartCrontabTask() |
-
请 注册 或 登录 后发表评论