完善工作台
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user