router/index.go
@@ -50,6 +50,12 @@ configGroup.POST("plc", configApi.PlcUpdate) // 设置plc } plcApi := new(v1.PlcApi) plcGroup := v1Group.Group("plc") { plcGroup.GET("productProgress", plcApi.GetProductProgress) // 获取网络配置 } InitPlcBrandRouter(v1Group) return Router