From e991da6dca71cf4c8451dcf503d7a00575e9a8a1 Mon Sep 17 00:00:00 2001 From: denghui <1016848185@qq.com> Date: Thu, 10 Jul 2025 19:08:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/auth/v1/auth.go | 6 +++--- api/desktop/v1/desktop.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/auth/v1/auth.go b/api/auth/v1/auth.go index 4c1a565..5262f81 100644 --- a/api/auth/v1/auth.go +++ b/api/auth/v1/auth.go @@ -49,7 +49,7 @@ type MerchantRegisterRes struct { } type StoreLoginReq struct { - g.Meta `path:"/store/login" method:"post" tags:"Backend/Store" summary:"(商户门店后台)门店登录"` + g.Meta `path:"/store/login" method:"post" tags:"PC-Server" summary:"(商户门店后台)门店登录"` Username string `json:"username" v:"required" dc:"用户名"` Password string `json:"password" v:"required" dc:"密码"` } @@ -63,9 +63,9 @@ type StoreLoginRes struct { } type Quan8AutologinReq struct { - g.Meta `path:"/quan8/autologin" method:"post" tags:"PC/Auth" summary:"8圈用户自动登录该系统"` + g.Meta `path:"/quan8/autologin" method:"post" tags:"PC-Server" summary:"8圈用户自动登录该系统"` UUID string `json:"uuid" v:"required#UUID不能为空" dc:"UUID"` - StoreId int64 + StoreId int64 `json:"storeId" v:"required#门店ID不能为空" dc:"门店ID"` } type Quan8AutologinRes struct { Token string `json:"token"` diff --git a/api/desktop/v1/desktop.go b/api/desktop/v1/desktop.go index cd4262c..409de73 100644 --- a/api/desktop/v1/desktop.go +++ b/api/desktop/v1/desktop.go @@ -3,7 +3,7 @@ package v1 import "github.com/gogf/gf/v2/frame/g" type GetReq struct { - g.Meta `path:"/desktop" method:"get" tags:"PC/Desktop" summary:"(PC)获取桌面信息"` + g.Meta `path:"/desktop" method:"get" tags:"PC-Server" summary:"(PC)获取桌面信息"` StoreId int64 `json:"storeId" v:"required#请选择店铺" dc:"门店id"` } type GetRes struct {