From e77e66d681cd2676675d194211f171744e23b479 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 14 九月 2023 19:05:54 +0800
Subject: [PATCH] 从云端获取plc配置和plc地址

---
 api/v1/plc.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/api/v1/plc.go b/api/v1/plc.go
index 907e8d8..7fdf89d 100644
--- a/api/v1/plc.go
+++ b/api/v1/plc.go
@@ -19,9 +19,9 @@
 // @Produce   application/json
 // @Param     object  body    request.SendProcessParams true  "鏌ヨ鍙傛暟"
 // @Success   200   {object}  contextx.Response{data=response.ProductProgress}  "鎴愬姛"
-// @Router    /v1/plc/productProgress [get]
+// @Router    /v1/plc/productProgress [post]
 func (slf *PlcApi) GetProductProgress(c *gin.Context) {
-	var params request.SendProcessParams
+	var params request.GetProductProgress
 	ctx, ok := contextx.NewContext(c, &params)
 	if !ok {
 		return

--
Gitblit v1.8.0