From 7c811247ecf143e08c576986a884bedadc57dd66 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期五, 05 六月 2020 18:29:41 +0800 Subject: [PATCH] add refresh token to resp --- controllers/gb28181.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/gb28181.go b/controllers/gb28181.go index 1aade15..9ff0955 100644 --- a/controllers/gb28181.go +++ b/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 } -- Gitblit v1.8.0