service/carService.go
@@ -1,10 +1,11 @@ package service import ( "car-service/models" reqUtil "car-service/extend/util" "car-service/models" "encoding/json" "fmt" "github.com/astaxie/beego" "strconv" ) type CarService struct { @@ -16,7 +17,7 @@ hikUtil: &reqUtil.HikHttpUtil{ AppKey: hikAppKey, AppSecret: hikAppSecret, ReqHost: "https://172.16.35.50:1443", ReqHost: beego.AppConfig.String("hikUrl"), }, } }