Files
ttstd_family_care/lib/app/constants/app_constants.dart
T

25 lines
758 B
Dart
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/// 全局常量与端点配置。
class AppConstants {
const AppConstants._();
/// 生产环境基础地址。
static const String kBaseUrl = 'https://api.ttstd.com/api/';
/// 请求超时(毫秒)。
static const int kConnectTimeoutMs = 15000;
/// 响应超时(毫秒)。
static const int kReceiveTimeoutMs = 15000;
/// 安全存储键。
static const String kTokenKey = 'auth_token';
static const String kRefreshTokenKey = 'refresh_token';
static const String kDeviceIdKey = 'device_id';
/// 应用名称。
static const String kAppName = '家庭关怀';
/// 百度地图开放平台申请的 AK(Android / iOS 共用)。
static const String kBaiduMapAk = '请替换为百度地图开放平台申请的AK';
}