mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 19:10:54 +00:00
fix type mismatch error
This commit is contained in:
parent
f6c508f138
commit
c43e3d6684
@ -294,7 +294,7 @@ func (b *beegoAppConfig) String(key string) string {
|
|||||||
|
|
||||||
func (b *beegoAppConfig) Strings(key string) []string {
|
func (b *beegoAppConfig) Strings(key string) []string {
|
||||||
if v := b.innerConfig.Strings(BConfig.RunMode + "::" + key); v[0] != "" {
|
if v := b.innerConfig.Strings(BConfig.RunMode + "::" + key); v[0] != "" {
|
||||||
return v[0]
|
return v
|
||||||
}
|
}
|
||||||
return b.innerConfig.Strings(key)
|
return b.innerConfig.Strings(key)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user