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 }