package v1

import "github.com/gogf/gf/v2/frame/g"

// UploadReq 广告数据上传请求
type UploadReq struct {
	g.Meta     `path:"/ads/upload" tags:"APP/Ads" method:"post" summary:"广告数据上传"`
	NodeUid    string `json:"node_uid"    dc:"节点ID"      v:"required"`
	DeviceCode string `json:"device_code" dc:"设备编号"    v:"required"`
	Data       string `json:"data"        dc:"广告数据"    v:"required"`
}

// UploadRes 广告数据上传响应
type UploadRes struct {
	Success bool `json:"success" dc:"是否成功"`
}
