Files
zmkgC/api/video_hat/photomange10/pictures_model.go

24 lines
823 B
Go
Raw Normal View History

2025-07-07 20:11:59 +08:00
package photomange10
// 获取照片
type ResponseData struct {
Status bool `json:"status"`
Message string `json:"msg"`
Data []ImageInfo `json:"data"`
MsgCode string `json:"msg_code"`
}
type ImageInfo struct {
ID string `json:"i_id"`
UserID string `json:"user_id" dc:""`
ImageURL string `json:"image_url"`
XCoordinate string `json:"x_point"` // 将经纬度转换为浮点数类型
YCoordinate string `json:"y_point"`
Timestamp string `json:"time" ` // 需要使用time.Unix()反序列化时间戳
Extra string `json:"extra"`
TaskID string `json:"task_id"`
Content string `json:"content"`
FaceName string `json:"face_name"`
Temperature string `json:"temperature"` // 温度可能是字符串类型,如果需要转为数值类型请相应调整
}