controllers/gb28181.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
router/router.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
controllers/gb28181.go
@@ -45,7 +45,7 @@ // @Router /data/api-v/gb28181/newGbId [get] func (gbc Gb28181Controller) NewGbId(c *gin.Context) { areaCode := c.Query("code") if areaCode == "" || len(areaCode) != 6{ if areaCode == "" { util.ResponseFormat(c, code.RequestParamError, "参数有误") return } router/router.go
@@ -96,7 +96,7 @@ gbApi := r.Group(urlPrefix + "/gb28181") { gbApi.GET("/findAreaByParentId", gb28181C.FindAreaByParentId) gbApi.GET("/newGbID",gb28181C.NewGbId) gbApi.GET("/newGbId",gb28181C.NewGbId) } //摄像机管理