mirror of
https://github.com/linux-do/new-api.git
synced 2025-12-27 00:55:57 +08:00
feat: 初步重构完成
This commit is contained in:
@@ -56,9 +56,9 @@ func GenRelayInfo(c *gin.Context) *RelayInfo {
|
||||
if info.BaseUrl == "" {
|
||||
info.BaseUrl = common.ChannelBaseURLs[channelType]
|
||||
}
|
||||
//if info.ChannelType == common.ChannelTypeAzure {
|
||||
// info.ApiVersion = GetAzureAPIVersion(c)
|
||||
//}
|
||||
if info.ChannelType == common.ChannelTypeAzure {
|
||||
info.ApiVersion = GetAzureAPIVersion(c)
|
||||
}
|
||||
return info
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user