迁移 Flutter 端与训练脚本,模型/训练产物移出 git(遵循纯代码约定)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/// 全局配置占位:接入真实支付前需替换以下值。
|
||||
class AppConfig {
|
||||
/// 后端服务器地址(订单创建/授权查询/套餐价格)
|
||||
/// 默认 Android 模拟器 10.0.2.2;iOS 模拟器构建时传
|
||||
/// --dart-define=API_BASE_URL=http://127.0.0.1:8080
|
||||
static const String apiBaseUrl =
|
||||
String.fromEnvironment('API_BASE_URL', defaultValue: 'http://10.0.2.2:8080');
|
||||
|
||||
/// 微信开放平台 AppID(需在微信开放平台注册包名+签名)
|
||||
static const String wechatAppId = 'wx0000000000000000';
|
||||
static const String wechatUniversalLink =
|
||||
'https://YOUR_DOMAIN.com/wechat/';
|
||||
|
||||
/// 支付宝开放平台 AppID
|
||||
static const String alipayAppId = '2020000000000000';
|
||||
static const String alipayUniversalLink =
|
||||
'https://YOUR_DOMAIN.com/alipay/';
|
||||
|
||||
/// iOS URL Scheme(微信/支付宝拉起回调,需与 Info.plist 一致)
|
||||
static const String wechatUrlScheme = 'wx0000000000000000';
|
||||
static const String alipayUrlScheme = 'alipay0000000000';
|
||||
}
|
||||
Reference in New Issue
Block a user