Files
biz_xfj_cloud/lib/common/values/constants.dart
T
2026-07-24 15:27:20 +08:00

37 lines
1010 B
Dart

/// 常量
class Constants {
// oauth2 APP模式客户端信息
static const oauth2AppClient = 'mini:mini';
// oauth2 登录的url
static const oauth2AppApiUrl = 'auth/oauth2/token';
// 前端加密密钥
static const pwdEncKey = 'pigxpigxpigxpigx';
/// 服务 url 线上
// static const apiUrl = 'https://dzc-test-1.fy.takin.cc';
static const apiUrl = 'https://www.zianxin.com/api';
// static const apiUrl = 'https://dzc-test-1.fy.takin.cc';
/// 静态资源 url
static const ossUrl = apiUrl;
/// 人脸识别 插件方法管道
static const facePlugsMethodChannel = 'local/face_discern';
/// 人脸识别 插件回调管道
static const facePlugsEventChannel = 'local/face_discern_event';
/// 人脸库注册进度管道
static const facePlugsRegistrationEventChannel =
'local/face_discern_registration_event';
/// 数据库名字
static const databaseName = 'cash_register.db';
/// 设备唯一编码
static const deviceUniqueCode = 'EjFJx0WQ';
}