From 0457f96716de8125560f332fcf718100b9f754eb Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 13 九月 2023 21:03:56 +0800 Subject: [PATCH] 适应性改动 --- 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, ¶ms) if !ok { return -- Gitblit v1.8.0