new: delete all in settings page

This commit is contained in:
lollipopkit
2023-08-30 18:52:28 +08:00
parent be62767d45
commit c899a84b29
10 changed files with 74 additions and 41 deletions

View File

@@ -2,8 +2,8 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 515;
static const int build = 517;
static const String engine = "3.13.1";
static const String buildAt = "2023-08-30 16:31:26.338447";
static const int modifications = 3;
static const String buildAt = "2023-08-30 17:23:28.418667";
static const int modifications = 2;
}

View File

@@ -1,5 +1,5 @@
const backendUrl = 'https://res.lolli.tech';
const baseUrl = '$backendUrl/serverbox';
const joinQQGroupUrl = 'https://jq.qq.com/?_wv=1027&k=G0hUmPAq';
const baseResUrl = '$backendUrl/serverbox';
const myGithub = 'https://github.com/lollipopkit';
const appHelpUrl = '$myGithub/flutter_server_box#-help';
const appWikiUrl = '$myGithub/flutter_server_box/wiki';

View File

@@ -5,7 +5,7 @@ import '../res/url.dart';
class AppService {
Future<AppUpdate> getUpdate() async {
final resp = await Dio().get('$baseUrl/update.json');
final resp = await Dio().get('$baseResUrl/update.json');
return AppUpdate.fromJson(resp.data);
}
}