|
|
|
@ -14,12 +14,11 @@ import 'package:shared_preferences/shared_preferences.dart';
|
|
|
|
|
|
|
|
|
|
part 'retrofit_api.g.dart'; |
|
|
|
|
|
|
|
|
|
// const base_url = "http://platform.test.api.lotus-wallet.com/app/";/// 测试 |
|
|
|
|
const base_url = "https://pos.platform.lotus-wallet.com/app/"; |
|
|
|
|
// const baseUrl = "http://platform.test.api.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://192.168.10.236:8766/app/"; |
|
|
|
|
// const baseUrl = "http://192.168.10.236:8766/app/";/// 本地 |
|
|
|
|
// const baseUrl = "http://192.168.10.129:8766/app/"; /// 本地 |
|
|
|
|
|
|
|
|
|
@RestApi(baseUrl: baseUrl) |
|
|
|
|
abstract class ApiService { |
|
|
|
|