Browse Source

修改

null_safety
哈哈哈 4 years ago
parent
commit
68cc9b4842
  1. 5
      android/app/src/main/AndroidManifest.xml
  2. 2
      lib/integral/integral_page.dart
  3. 6
      lib/login/login_page.dart
  4. 9
      lib/retrofit/retrofit_api.dart
  5. 2
      lib/union/union_page.dart

5
android/app/src/main/AndroidManifest.xml

@ -65,9 +65,8 @@
<!-- 通过自定义 data 块内容指定您的完整 scheme,按照您的配置,将会组成形如"语义名://主机名/路径名"的 url 标识 -->
<!-- 为防止和其他应用的跳转目标页面冲突,您可以使用带有 app 名称、app 包名等可以唯一标记应用的字段进行配置-->
<data
android:scheme="语义名"
android:host="主机名"
android:path="/路径名" />
android:scheme="huixiang"
android:host="com.zsw.huixiang"/>
</intent-filter>
</activity>
<meta-data

2
lib/integral/integral_page.dart

@ -67,7 +67,7 @@ class _IntegralPage extends State<IntegralPage> {
.indexWhere((element) => element.id == userinfo.memberRankVo.id) +
1);
}
SmartDialog.dismiss();
SmartDialog.dismiss(closeType: 3);
if (baseData != null && baseData.isSuccess) {
signInfo = SignInfo.fromJson(baseData.data);
setState(() {});

6
lib/login/login_page.dart

@ -289,11 +289,7 @@ class _MyLoginPageState extends State<LoginPage> with TickerProviderStateMixin {
xgFlutterPlugin.bindWithIdentifier(
identify: mobile, bindType: XGBindType.account);
if (widget.arguments != null) {
Navigator.of(context).pop();
} else {
Navigator.of(context).popAndPushNamed('/router/main_page');
}
Navigator.of(context).pushNamedAndRemoveUntil('/router/main_page', (route) => false);
} else {
SmartDialog.showToast("${value.msg}", alignment: Alignment.center);
}

9
lib/retrofit/retrofit_api.dart

@ -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 {

2
lib/union/union_page.dart

@ -269,7 +269,7 @@ class _UnionPage extends State<UnionPage>
PreferredSize(
preferredSize: Size(double.infinity, 52.h),
child: Container(
padding: EdgeInsets.only(top: 26.5.h),
padding: EdgeInsets.only(top: 20.h),
color: Color(0xFFFAFAFA),
child: ItemTitle(
text: S.of(context).jingbilianmenghuiyuandian,

Loading…
Cancel
Save