From dd75b36c03049be232a94d97eff1c4a5cc751fb5 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 31 十月 2023 22:08:39 +0800 Subject: [PATCH] 支持设备ID切换 --- model/request/common.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/model/request/common.go b/model/request/common.go index 492de9d..c515c4e 100644 --- a/model/request/common.go +++ b/model/request/common.go @@ -9,6 +9,6 @@ ID uint `json:"id"` // 涓婚敭ID } -type GetByUserId struct { - UserId string `json:"userId"` // 鐢ㄦ埛ID +type SetCurrentDevice struct { + CurrentDeviceID string `json:"currentDeviceID,omitempty"` //褰撳墠閫夊畾鐨勭敓浜ц澶� } -- Gitblit v1.8.0