You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
543 B
23 lines
543 B
3 years ago
|
package response
|
||
|
|
||
|
type Response struct {
|
||
|
Code int `json:"code"`
|
||
|
Message string `json:"message"`
|
||
|
Data interface{} `json:"data"`
|
||
|
}
|
||
|
type Data struct {
|
||
|
KeyName string `json:"keyName"`
|
||
|
Line string `json:"line"`
|
||
|
Machine string `json:"machine"`
|
||
|
CreateTime string `json:"createTime"`
|
||
|
UploadTime string `json:"uploadTime"`
|
||
|
|
||
|
Url string `json:"url"` //添加信息
|
||
|
Size string `json:"size"` //添加信息
|
||
|
Tags []Tag `json:"tags"`
|
||
|
}
|
||
|
type Tag struct {
|
||
|
Key string `json:"key"`
|
||
|
Value string `json:"value"`
|
||
|
}
|