Browse Source

更改

remove_uniapp
w-R 3 years ago
parent
commit
426b18fa49
  1. 8
      lib/retrofit/retrofit_api.dart
  2. 2
      lib/retrofit/retrofit_api.g.dart

8
lib/retrofit/retrofit_api.dart

@ -58,8 +58,8 @@ import 'data/vip_rule_details.dart';
part 'retrofit_api.g.dart';
const base_url = "https://pos.platform.lotus-wallet.com/app/"; ///
const baseUrl = "https://pos.platform.lotus-wallet.com/app/"; ///
// const base_url = "https://pos.platform.lotus-wallet.com/app/"; ///
// const baseUrl = "https://pos.platform.lotus-wallet.com/app/"; ///
// const base_url = "http://platform.prod.kunqi.lotus-wallet.com/app/"; ///222
// const baseUrl = "http://platform.prod.kunqi.lotus-wallet.com/app/"; ///222
@ -71,8 +71,8 @@ const baseUrl = "https://pos.platform.lotus-wallet.com/app/"; ///正式
// const baseUrl = "http://192.168.10.37:8766/app/";
// const base_url = "http://192.168.10.143:8766/app/";///
// const baseUrl = "http://192.168.10.143:8766/app/";///
const base_url = "http://192.168.10.96:8766/app/";///
const baseUrl = "http://192.168.10.96:8766/app/";///
@RestApi(baseUrl: baseUrl)
abstract class ApiService {

2
lib/retrofit/retrofit_api.g.dart

@ -9,7 +9,7 @@ part of 'retrofit_api.dart';
class _ApiService implements ApiService {
_ApiService(this._dio, {this.baseUrl}) {
ArgumentError.checkNotNull(_dio, '_dio');
baseUrl ??= 'https://pos.platform.lotus-wallet.com/app/';
baseUrl ??= 'http://192.168.10.96:8766/app/';
}
final Dio _dio;

Loading…
Cancel
Save