package attendanceMachine import ( "github.com/gogf/gf/v2/frame/g" commonApi "github.com/tiger1103/gfast/v3/api/v1/common" ) type EquipmentTimeClockReq struct { g.Meta `path:"/face" tags:"考勤机" method:"post" summary:"设备考勤打卡"` commonApi.Author Sn string `p:"sn"` Count int `json:"Count"` Logs []Log `json:"logs"` } type Log struct { UserID string `json:"user_id"` RecogType string `json:"recog_type"` RecogTime string `json:"recog_time"` Photo string `json:"photo"` Location struct { Longitude string `json:"longitude"` Latitude string `json:"latitude"` } `json:"location"` } type EquipmentTimeClockRes struct { Result string `json:"Result"` Msg string `json:"Msg"` }