初始化项目
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package model
|
||||
|
||||
type BaseResponse struct {
|
||||
Status bool `json:"status"` // 是否成功
|
||||
Message string `json:"message"` // 提示信息
|
||||
Data interface{} `json:"data,omitempty"` // 泛型数据,用 interface{} 接收任意类型
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package model
|
||||
|
||||
type Record struct {
|
||||
DeviceId string
|
||||
LicensePlate string
|
||||
LicensePlateImage string
|
||||
VehicleType string
|
||||
VehicleImage string
|
||||
}
|
||||
Reference in New Issue
Block a user