|
@@ -52,8 +52,6 @@ func StartEventServer() {
|
|
Width: bestMatch.Width,
|
|
Width: bestMatch.Width,
|
|
Length: bestMatch.Length,
|
|
Length: bestMatch.Length,
|
|
Volume: bestMatch.Volume,
|
|
Volume: bestMatch.Volume,
|
|
- Count: 1,
|
|
|
|
- Time: time.Now(),
|
|
|
|
}
|
|
}
|
|
cars = append(cars, newCar) //将新创建的车辆信息添加到cars切片的末尾
|
|
cars = append(cars, newCar) //将新创建的车辆信息添加到cars切片的末尾
|
|
// 保存到数据库
|
|
// 保存到数据库
|