From 372e5032b10eddc00b7a87a862a71dea6705609c Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 01 十一月 2023 10:58:15 +0800
Subject: [PATCH] update doc

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

diff --git a/api/v1/device.go b/api/v1/device.go
index ab7f965..02cf81b 100644
--- a/api/v1/device.go
+++ b/api/v1/device.go
@@ -16,14 +16,14 @@
 
 type DeviceApi struct{}
 
-// Set
+// SetCurrentDeviceId
 // @Tags      璁惧
 // @Summary   璁剧疆褰撳墠璁惧id
 // @Produce   application/json
 // @Param     object  body    request.SetCurrentDevice true  "鏌ヨ鍙傛暟"
 // @Success   200   {object}  contextx.Response{}  "鎴愬姛"
-// @Router    /v1/device/set [post]
-func (slf *DeviceApi) Set(c *gin.Context) {
+// @Router    /v1/device/setCurrentDeviceId [post]
+func (slf *DeviceApi) SetCurrentDeviceId(c *gin.Context) {
 	var params request.SetCurrentDevice
 	ctx, ok := contextx.NewContext(c, &params)
 	if !ok {

--
Gitblit v1.8.0