From aab066ab2d90d235848f67d4aac3b15c8f778b3c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 19 八月 2023 18:37:07 +0800 Subject: [PATCH] 增加获取完成进度接口 --- router/index.go | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/router/index.go b/router/index.go index a4360b4..f84d9a1 100644 --- a/router/index.go +++ b/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 -- Gitblit v1.8.0