完善工作台

This commit is contained in:
2023-12-24 02:10:55 +08:00
parent d444a4c838
commit 55085ee563
11 changed files with 684 additions and 113 deletions

View File

@@ -4,11 +4,16 @@ import 'package:flutter/services.dart';
import './utils/utils.dart';
class Global {
static String appName = "Flutter Demo";
static const String appName = "捷兑通-商家版";
// 是否 release
static bool get isRelease => const bool.fromEnvironment("dart.vm.product");
static final baseUrl = isRelease
? "https://www.wanzhuanyongcheng.cn/app"
: "https://test.wanzhuanyongcheng.cn/app";
static String tokenKey = "token";
static String firstOpenKey = "device_first_open";