feat: 初步重构完成
This commit is contained in:
1 parent
1735981217
commit
436afe925e
30 files changed
+240
-195
No files matched your search
@@ -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