From 71b0e418839dda386043fb6cad1ec335bcdc06c6 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 09 十一月 2023 14:08:21 +0800 Subject: [PATCH] 增加设置是否跳过设置工艺参数接口 --- api/v1/device.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1/device.go b/api/v1/device.go index eb079eb..e2d0385 100644 --- a/api/v1/device.go +++ b/api/v1/device.go @@ -56,14 +56,14 @@ ctx.Ok() } -// SetDeviceConfig +// Config // @Tags 璁惧 // @Summary 璁剧疆璁惧涓�浜涢厤缃� // @Produce application/json // @Param object body request.DeviceConfig true "鏌ヨ鍙傛暟" // @Success 200 {object} contextx.Response{} "鎴愬姛" // @Router /v1/device/config [post] -func (slf *DeviceApi) config(c *gin.Context) { +func (slf *DeviceApi) Config(c *gin.Context) { var params request.DeviceConfig ctx, ok := contextx.NewContext(c, ¶ms) if !ok { -- Gitblit v1.8.0