Browse Source

fuwuqi

null_safety
fmk 4 years ago
parent
commit
045cd493f6
  1. 4
      lib/retrofit/retrofit_api.dart
  2. 2
      lib/union/union_details_page.dart

4
lib/retrofit/retrofit_api.dart

@ -17,8 +17,8 @@ import 'package:shared_preferences/shared_preferences.dart';
part 'retrofit_api.g.dart'; part 'retrofit_api.g.dart';
const base_url = "http://platform.test.api.lotus-wallet.com/app/"; const base_url = "http://platform.test.api.lotus-wallet.com/app/";
// const baseUrl = "http://platform.test.api.lotus-wallet.com/app/"; const baseUrl = "http://platform.test.api.lotus-wallet.com/app/";
const baseUrl = "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/"; // const baseUrl = "http://192.168.10.129:8766/app/";
@RestApi(baseUrl: baseUrl) @RestApi(baseUrl: baseUrl)

2
lib/union/union_details_page.dart

@ -956,7 +956,7 @@ class _UnionDetailsPage extends State<UnionDetailsPage> {
"tenantCode": storeInfo.tenantCode, "tenantCode": storeInfo.tenantCode,
if (latitude != null && longitude != null) if (latitude != null && longitude != null)
"position": "$latitude,$longitude", "position": "$latitude,$longitude",
"baseURL": "http://192.168.10.236:8765/app/", "baseURL": "https://pos-test.api.lotus-wallet.com/app/",
"uid": userId, "uid": userId,
"userInfo": { "userInfo": {
"nickname": nickname, "nickname": nickname,

Loading…
Cancel
Save