liuxiaolong
2020-06-05 7c811247ecf143e08c576986a884bedadc57dd66
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
  }