From 139e08edba82918d107b1bf101f0d96c20fc0989 Mon Sep 17 00:00:00 2001 From: quzard <1191890118@qq.com> Date: Thu, 8 Jun 2023 22:20:48 +0800 Subject: [PATCH] get key --- controller/channel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/channel.go b/controller/channel.go index 8afc0eed..2fda865e 100644 --- a/controller/channel.go +++ b/controller/channel.go @@ -57,7 +57,7 @@ func GetChannel(c *gin.Context) { }) return } - channel, err := model.GetChannelById(id, false) + channel, err := model.GetChannelById(id, true) if err != nil { c.JSON(http.StatusOK, gin.H{ "success": false,