554325746@qq.com
2020-02-19 970f48f48d1080c568c1d976e40e2570353ee232
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
  }