fix(build): 修复安卓构建依赖并整理服务器配置

This commit is contained in:
Liubing\LB
2026-10-14 21:05:41 +08:00
parent 73ac2bf6f8
commit 8e848b63d8
11 changed files with 33 additions and 8 deletions

View File

@@ -101,7 +101,7 @@ public class ZZTimeHelper
HttpClient client = new HttpClient();
client.Timeout = TimeSpan.FromSeconds(5);
IConfig config = GContext.container.Resolve<IConfig>();
string apiUrl = config.Get<string>(GConstant.K_Event_API_URL, "http://s101.local:18080/");
string apiUrl = config.Get<string>(GConstant.K_Event_API_URL, CustomServerMgr.DefaultApiUrl);
string url = $"{apiUrl}account/svrtime";
var svrTimeStr = await client.GetStringAsync(url);
// var svrTimeStr = await client.GetStringAsync(timeUrl);