🐛 fix xunfei request error
This commit is contained in:
parent
211a862d54
commit
c5aa59e297
@ -58,7 +58,7 @@ func (p *XunfeiProvider) getXunfeiAuthUrl(apiKey string, apiSecret string) (stri
|
||||
query := p.Context.Request.URL.Query()
|
||||
apiVersion := query.Get("api-version")
|
||||
if apiVersion == "" {
|
||||
apiVersion = p.Channel.Key
|
||||
apiVersion = p.Channel.Other
|
||||
}
|
||||
if apiVersion == "" {
|
||||
apiVersion = "v1.1"
|
||||
|
Loading…
Reference in New Issue
Block a user