fix(sdk-core): 从 config.xuqm 读取 platformUrl 时 serverUrl 回退到 baseUrl
config.xuqm 生成时使用 baseUrl 字段;SDK 只读 serverUrl 导致 回退到公有平台地址(404),修复为优先读 serverUrl,回退到 baseUrl。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
这个提交包含在:
父节点
da6c5f59e5
当前提交
cb6b06e92d
@ -83,7 +83,7 @@ object XuqmSDK {
|
|||||||
"Please download the correct config file for this app."
|
"Please download the correct config file for this app."
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
initialize(context, configFile.appKey, configFile.serverUrl, logLevel)
|
initialize(context, configFile.appKey, configFile.serverUrl ?: configFile.baseUrl, logLevel)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
正在加载...
在新工单中引用
屏蔽一个用户