service/carService.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
service/carService.go
@@ -7,6 +7,7 @@ "encoding/json" "fmt" "github.com/astaxie/beego" "strconv" ) type CarService struct { hikUtil *reqUtil.HikHttpUtil @@ -207,6 +208,18 @@ } //} //} if len(resultList) == 0 { for i:=1;i<89;i++ { pi := models.PosInfo { SpaceNo: strconv.Itoa(i), PosNo: "", State: 1, PlateNo: "", IsMine: false, } resultList = append(resultList, pi) } } return resultList }