Files
customer-server/model/dto/account_websocket_dto.go

15 lines
543 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package dto
import (
"customer-server/consts/account"
"github.com/gogf/gf/v2/frame/g"
)
// AccountWebSocketConnectReq WebSocket 连接请求
type AccountWebSocketConnectReq struct {
g.Meta `path:"/accountConnect" method:"get" tags:"AccountWebSocket" summary:"WebSocket连接" dc:"建立WebSocket连接用于实时消息推送"`
AccountName string `json:"accountName" v:"required#客服账号不能为空" dc:"客服账号"`
Platform account.Platform `json:"platform" v:"required#平台不能为空" dc:"平台"`
}