From dffaf9b4677c286997a1618abcb022facffa123d Mon Sep 17 00:00:00 2001 From: WinUser01 Date: Mon, 24 Jan 2022 15:26:07 +0800 Subject: [PATCH] =?UTF-8?q?hyzp=5Fybqx-Commit091=EF=BC=9A=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E6=9B=B4=E6=96=B0=E4=B8=BAversion:=201.4.15?= =?UTF-8?q?=E3=80=82=E4=BF=AE=E6=AD=A3=E9=97=AE=E9=A2=98=EF=BC=8C=E5=8C=BA?= =?UTF-8?q?=E5=8E=BFApp=E6=9B=B4=E6=96=B0=E5=B7=B2=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=EF=BC=8C=E5=B7=B2=E7=BB=8F=E5=AE=9E=E7=8E=B0=E6=89=AB=E6=8F=8F?= =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E4=B8=8B=E8=BD=BDapk=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E3=80=81Url=E4=B8=8B=E8=BD=BDapk=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/app/release/output.json | 2 +- lib/pages/Login/LoginByName2.dart | 17 +++++++++++++++++ lib/pages/tabs/page6_download.dart | 4 ++-- pubspec.yaml | 6 +++++- 4 files changed, 25 insertions(+), 4 deletions(-) diff --git a/android/app/release/output.json b/android/app/release/output.json index 4c2baba..b5dbb00 100644 --- a/android/app/release/output.json +++ b/android/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":20220124,"versionName":"1.4.14","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":20220124,"versionName":"1.4.15","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file diff --git a/lib/pages/Login/LoginByName2.dart b/lib/pages/Login/LoginByName2.dart index c31015c..d7d0864 100644 --- a/lib/pages/Login/LoginByName2.dart +++ b/lib/pages/Login/LoginByName2.dart @@ -164,6 +164,23 @@ class _LoginPageState extends State { print('登录成功'); print('response.data = ${response.data}'); + // if (bRemmberPW) { + // // SaveAccountPasswordManager.getUsers(); + // SaveAccountPasswordManager.saveUser( + // UserAccount(g_userInfo.username, g_userInfo.password)); + // SaveAccountPasswordManager.getUsers().then((listUsers) { + // print("listUsers =\n${listUsers}"); + // }); + // } else { + // SaveAccountPasswordManager.getUsers().then((listUsers) { + // // print("listUsers =\n${listUsers}"); + // for (var user in listUsers) { + // print("User = ${user}"); + // SaveAccountPasswordManager.delUser(user); + // } + // }); + // } + // 一套APP适应多个区县登录过程03、登录成功,保存登录信息 Storage.setString('userInfo', json.encode(response.data["data"])); g_userInfo diff --git a/lib/pages/tabs/page6_download.dart b/lib/pages/tabs/page6_download.dart index bb252d5..487829c 100644 --- a/lib/pages/tabs/page6_download.dart +++ b/lib/pages/tabs/page6_download.dart @@ -284,8 +284,8 @@ class _LoginPageState extends State { // ), Center( child: QrImage( - //data: download_url, //二维码文本内容 - data: "http://125.64.218.67:9909/downloads/hyzp_ybqx_1.4.13_20220121.apk", + data: download_url, //二维码文本内容 + // data: "http://125.64.218.67:9909/downloads/hyzp_ybqx_1.4.13_20220121.apk", size: 200, // embeddedImage: AssetImage('assets/images/ybsthbj.png'), ), diff --git a/pubspec.yaml b/pubspec.yaml index 8294466..dd878e1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -53,8 +53,9 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # 用下划线编译报错: # Error on line 53, column 10 of pubspec.yaml: Invalid version number: Could not parse "1.4.14_20220124". # version: 1.4.14 # 为规范起见,从该版本起取消后面的 +20220124 -version: 1.4.14+20220124 # 無法獲取flutter编译时间,只有通过这种方式获取,所以还是保留后面的 +20220124。 +#version: 1.4.14+20220124 # 無法獲取flutter编译时间,只有通过这种方式获取,所以还是保留后面的 +20220124。 # 上传软件时可以不加后面的 +20220124,否则二维码扫码后无法直接下载 +version: 1.4.15+20220124 environment: sdk: ">=2.7.0 <3.0.0" @@ -175,6 +176,9 @@ dependencies: # 二维码生成 https://pub.dev/packages/qr_flutter qr_flutter: ^3.2.0 + # Flutter 保存用户登录历史记录 ai_save_account +# ai_save_account: ^1.0.1 + dev_dependencies: flutter_test: sdk: flutter