From dd2562d8dc2b01bcdfca3152f82f09efbbd09259 Mon Sep 17 00:00:00 2001 From: zuoxiao <lf_zuo@163.com> Date: 星期三, 25 六月 2025 19:49:48 +0800 Subject: [PATCH] fix(generallibrary): 优化卡片处理和支付方式获取逻辑- 修复地区卡处理逻辑,增加对"00"类型卡的特殊处理 - 优化用户卡数据解析和显示逻辑,提高容错性 - 改进支付方式获取方法,增加错误处理和日志记录 -调整充值接口调用参数,确保正确传递当前余额等信息- 修复 AreaCard 中 areaNumber 类型,改为字符串处理 --- app/build.gradle | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c32469c..6a96054 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,7 @@ android { signingConfigs { debug { - storeFile file('../dycz.jks') + storeFile file("${project.rootDir}/dycz.jks") storePassword 'dycz@2023' keyAlias 'dayu' keyPassword 'dycz@2023' @@ -16,20 +16,22 @@ applicationId "com.dayu.recharge" minSdk 23 targetSdk 26 - versionCode 256 - versionName "2.5.6" + versionCode 266 + versionName "2.6.6" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" ndk { abiFilters 'armeabi-v7a','arm64-v8a' } signingConfig signingConfigs.debug - } buildTypes { release { - minifyEnabled false + //琛ㄧず鍚敤浠g爜娣锋穯銆� + minifyEnabled true + // 琛ㄧず绉婚櫎鏈娇鐢ㄧ殑璧勬簮鏂囦欢銆� + shrinkResources true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } @@ -65,14 +67,15 @@ runtimeOnly("androidx.room:room-common:2.3.0") annotationProcessor "androidx.room:room-compiler:2.3.0" - implementation 'com.google.zxing:core:3.4.1' +// implementation 'com.google.zxing:core:3.4.1' implementation group: 'net.sourceforge.jexcelapi', name: 'jxl', version: '2.6.12' - implementation 'com.wang.avi:library:2.1.3' +// implementation 'com.wang.avi:library:2.1.3' implementation project(':henanlibrary') implementation project(':baselibrary') implementation project(':qihealonelibrary') implementation project(':qiheonlinelibrary') + implementation project(':generallibrary') implementation 'com.tencent.bugly:crashreport:4.1.9.3' // 澶勭悊鍥剧墖 @@ -80,7 +83,7 @@ //鏉冮檺鐢宠 implementation 'com.github.getActivity:XXPermissions:18.5' //婊氬姩閫夋嫨妗� - implementation 'com.contrarywind:Android-PickerView:4.1.9' +// implementation 'com.contrarywind:Android-PickerView:4.1.9' //鍒楄〃 implementation 'io.github.scwang90:refresh-layout-kernel:2.0.5' -- Gitblit v1.8.0