Browse Source

d更改

zyh
w-R 3 years ago
parent
commit
4a603df497
  1. 4
      lib/retrofit/min_api.dart
  2. 2
      lib/retrofit/min_api.g.dart
  3. 4
      lib/retrofit/retrofit_api.dart
  4. 2
      lib/retrofit/retrofit_api.g.dart

4
lib/retrofit/min_api.dart

@ -39,8 +39,8 @@ part 'min_api.g.dart';
// const baseUrl = "http://192.168.10.236:8765/app/";/// // const baseUrl = "http://192.168.10.236:8765/app/";///
const base_url = "http://192.168.10.154:8775/app/";/// const base_url = "http://192.168.10.114:8775/app/";///
const baseUrl = "http://192.168.10.154:8775/app/";/// const baseUrl = "http://192.168.10.114:8775/app/";///
// const base_url = "http://192.168.10.37:8766/app/"; // const base_url = "http://192.168.10.37:8766/app/";

2
lib/retrofit/min_api.g.dart

@ -9,7 +9,7 @@ part of 'min_api.dart';
class _MinApiService implements MinApiService { class _MinApiService implements MinApiService {
_MinApiService(this._dio, {this.baseUrl}) { _MinApiService(this._dio, {this.baseUrl}) {
ArgumentError.checkNotNull(_dio, '_dio'); ArgumentError.checkNotNull(_dio, '_dio');
baseUrl ??= 'http://192.168.10.154:8775/app/'; baseUrl ??= 'http://192.168.10.114:8775/app/';
} }
final Dio _dio; final Dio _dio;

4
lib/retrofit/retrofit_api.dart

@ -71,8 +71,8 @@ part 'retrofit_api.g.dart';
// const baseUrl = "http://192.168.10.37:8766/app/"; // const baseUrl = "http://192.168.10.37:8766/app/";
const base_url = "http://192.168.10.154:8776/app/";/// const base_url = "http://192.168.10.114:8776/app/";///
const baseUrl = "http://192.168.10.154:8776/app/";/// const baseUrl = "http://192.168.10.114:8776/app/";///
@RestApi(baseUrl: baseUrl) @RestApi(baseUrl: baseUrl)
abstract class ApiService { abstract class ApiService {

2
lib/retrofit/retrofit_api.g.dart

@ -9,7 +9,7 @@ part of 'retrofit_api.dart';
class _ApiService implements ApiService { class _ApiService implements ApiService {
_ApiService(this._dio, {this.baseUrl}) { _ApiService(this._dio, {this.baseUrl}) {
ArgumentError.checkNotNull(_dio, '_dio'); ArgumentError.checkNotNull(_dio, '_dio');
baseUrl ??= 'http://192.168.10.154:8776/app/'; baseUrl ??= 'http://192.168.10.114:8776/app/';
} }
final Dio _dio; final Dio _dio;

Loading…
Cancel
Save