From 83b652cd2f1be2375d33a67366a7c359cf6e22c0 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 18 九月 2023 14:56:09 +0800
Subject: [PATCH] 支持几个配置,支持按配置选择plc驱动包

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

diff --git a/api/v1/plc.go b/api/v1/plc.go
index 1d528fb..8a2baf8 100644
--- a/api/v1/plc.go
+++ b/api/v1/plc.go
@@ -67,12 +67,10 @@
 // @Tags      鐢熶骇鏁伴噺
 // @Summary   瀹炴椂鑾峰彇鐢熶骇杩涘害
 // @Produce   application/json
-// @Param     object  body    request.SendProcessParams true  "鏌ヨ鍙傛暟"
 // @Success   200   {object}  contextx.Response{data=response.ProductProgress}  "鎴愬姛"
 // @Router    /v1/plc/productProgressRealTime [post]
 func (slf *PlcApi) GetProductProgressRealTime(c *gin.Context) {
-	var params request.GetProductProgress
-	ctx, ok := contextx.NewContext(c, &params)
+	ctx, ok := contextx.NewContext(c, nil)
 	if !ok {
 		return
 	}

--
Gitblit v1.8.0