Files
MookNote/lib/utils/server_config.dart
DelLevin-Home 00e948e580 1111
2026-06-25 02:11:11 +08:00

18 lines
462 B
Dart

import 'package:flutter/foundation.dart';
/// 服务端地址配置
class ServerConfig {
ServerConfig._();
static final String baseUrl = kDebugMode
? 'http://192.168.31.48:27047'
: 'http://api.mooknote.iletter.top';
static final String apiBase = '$baseUrl/api';
static final String vipBaseUrl = kDebugMode
// ? 'http://vipapi.mooknote.iletter.top'
? 'http://192.168.31.48:8081'
: 'http://vipapi.mooknote.iletter.top';
}