feat: channel support weight (#85)

*  feat: channel support weight

* 💄 improve: show version

* 💄 improve: Channel add copy operation

* 💄 improve: Channel support batch add
This commit is contained in:
Buer
2024-03-06 18:01:43 +08:00
committed by GitHub
parent 7c78ed9fad
commit dd3e79a20d
44 changed files with 1425 additions and 1019 deletions

View File

@@ -114,7 +114,7 @@ func TokenAuth() func(c *gin.Context) {
abortWithMessage(c, http.StatusForbidden, "无效的渠道 Id")
return
}
c.Set("channelId", channelId)
c.Set("specific_channel_id", channelId)
} else {
abortWithMessage(c, http.StatusForbidden, "普通用户不支持指定渠道")
return