动态域名请求返回token,兼容本地ip测试
parent
3813b93dc5
commit
dedab4e6ba
|
|
@ -1872,6 +1872,11 @@ public class OSSService(IOptionsMonitor<ObjectStoreServiceOptions> options,
|
||||||
{
|
{
|
||||||
objectStoreUse = find.Primary;
|
objectStoreUse = find.Primary;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//本地localhost 时候,默认给值
|
||||||
|
objectStoreUse = ObjectStoreServiceOptions.ObjectStoreUse;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue