提交 87194f00 编写于 作者: A Aigio Liu

🐛 fix BaseUrl

上级 0ffe7912
Subproject commit a4c9adaff2e1e09d0f7910fe24a87b270fe4589d
Subproject commit d59883e75ece806e7a14a89ace08c7467d428b37
using Res = BD.WTTS.MicroServices.ClientSDK.Resources;
namespace BD.WTTS.Models;
/// <summary>
......@@ -131,21 +133,23 @@ public sealed partial class AppSettings : IMicroServiceClient.ISettings
{
var s = new AppSettings()
{
AesSecret = MicroServices.ClientSDK.Resources.aes_key,
RSASecret = MicroServices.ClientSDK.Resources.
AesSecret = Res.aes_key,
RSASecret = Res.
#if DEBUG
rsa_public_key_debug,
#else
rsa_public_key_release,
#endif
};
var apiBaseUrl =
#if DEBUG
s.ApiBaseUrl = UseLocalhostApiBaseUrl ?
UseLocalhostApiBaseUrl ?
Constants.Urls.BaseUrl_API_Debug :
"https://steampp.mossimo.net:8800";
Constants.Urls.BaseUrl_API_Development;
#else
s.ApiBaseUrl = Constants.Urls.BaseUrl_API_Production;
Constants.Urls.BaseUrl_API_Production;
#endif
s.ApiBaseUrl = Constants.Urls.ApiBaseUrl = apiBaseUrl;
return s;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册