This commit is contained in:
2025-07-07 20:11:59 +08:00
parent ab0fdbc447
commit 06e3aa2eb3
2009 changed files with 193082 additions and 0 deletions

51
third/ys7/struct.go Normal file
View File

@ -0,0 +1,51 @@
package ys7
const OK = "200"
//type Public struct {
// Code string `json:"code"`
// Msg string `json:"msg"`
//}
type TP struct {
Public
Data struct {
AccessToken string `json:"accessToken"`
ExpireTime int64 `json:"expireTime"`
} `json:"data"`
}
type HelMet struct {
Public
RequestId string `json:"requestId"`
Data []struct {
Id string `json:"id"`
Height string `json:"height"`
TargetList []struct {
BodyRect struct {
VmodelHF string `json:"vmodel_h_f"`
VmodelWF string `json:"vmodel_w_f"`
VmodelXF string `json:"vmodel_x_f"`
VmodelYF string `json:"vmodel_y_f"`
} `json:"body_rect"`
AlarmFlg int `json:"alarm_flg"`
UniformType int `json:"uniform_type"`
ID int `json:"ID"`
HelmetType int `json:"helmet_type"`
HeadRect struct {
VmodelHF string `json:"vmodel_h_f"`
VmodelWF string `json:"vmodel_w_f"`
VmodelXF string `json:"vmodel_x_f"`
VmodelYF string `json:"vmodel_y_f"`
} `json:"head_rect"`
ColorType int `json:"color_type"`
} `json:"target_list"`
Width string `json:"width"`
RuleInfo []interface{} `json:"rule_info"`
RuleList [][]struct {
Y string `json:"y"`
X string `json:"x"`
} `json:"rule_list"`
ErrorCode int `json:"errorCode"`
} `json:"data"`
}