mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-27 11:02:40 +00:00
25 lines
547 B
Go
25 lines
547 B
Go
/*
|
|
SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
package v2
|
|
|
|
import (
|
|
"stackChan/internal/model"
|
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
)
|
|
|
|
type GetDeviceUserInfoReq struct {
|
|
g.Meta `path:"/device/user" method:"get" tags:"Device" summary:"Get device information for StackChan device"`
|
|
}
|
|
|
|
type GetDeviceUserInfoRes *model.User
|
|
|
|
type UnbindDeviceReq struct {
|
|
g.Meta `path:"/device/unbind" method:"post" tags:"Device" summary:"Unbind device from current user for StackChan device"`
|
|
}
|
|
|
|
type UnbindDeviceRes bool
|