feat: support plugin for ali channel (close #797)

This commit is contained in:
JustSong
2023-12-10 17:22:52 +08:00
parent 01f7b0186f
commit 379074f7d0
3 changed files with 19 additions and 0 deletions

View File

@@ -89,6 +89,8 @@ func Distribute() func(c *gin.Context) {
c.Set("api_version", channel.Other)
case common.ChannelTypeAIProxyLibrary:
c.Set("library_id", channel.Other)
case common.ChannelTypeAli:
c.Set("plugin", channel.Other)
}
c.Next()
}