Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightAggregationTerminal
This commit is contained in:
commit
2334555c7b
13 files changed
+206
-41
No files matched your search
@@ -70,6 +70,19 @@ public partial class ProfilePage : ContentPage
|
||||
AppModels.Updata(sql);
|
||||
}
|
||||
}
|
||||
private async void ServerHTTP_Tapped(object sender, TappedEventArgs e)
|
||||
{
|
||||
string result = await DisplayPromptAsync("", "服务器地址");
|
||||
|
||||
// 处理结果
|
||||
if (!string.IsNullOrWhiteSpace(result))
|
||||
{
|
||||
App.GlobalData.ServerID = result;
|
||||
string sql = @"UPDATE Users SET ServerHTTP = '" + App.GlobalData.ServerID
|
||||
+ "' WHERE User='" + App.GlobalData.User + "';";
|
||||
AppModels.Updata(sql);
|
||||
}
|
||||
}
|
||||
private async void ProxyID_Tapped(object sender, TappedEventArgs e)
|
||||
{
|
||||
string result = await DisplayPromptAsync("", "代理");
|
||||
|
||||
Reference in new issue
Block a user