From 740a5b830079f05458f7dfecd41c610dcd94cc6e Mon Sep 17 00:00:00 2001 From: liup <1454939542@qq.com> Date: Wed, 13 Nov 2024 16:18:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E6=96=B9=E6=A8=A1?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/deploymentTargetSelector.xml | 4 +- app/build.gradle | 10 + app/release/output-metadata.json | 2 +- .../bonait/bnframework/MainApplication.java | 3 + .../java/com/bonait/bnframework/api/Api.java | 44 +-- ...{CommonResponse.java => BaseResponse.java} | 50 ++-- .../bnframework/api/BaseUpResponse.java | 130 ++++++++ .../com/bonait/bnframework/api/Constant.java | 40 +++ .../bonait/bnframework/api/IHttpCallBack.java | 2 +- .../bonait/bnframework/api/ServerManager.java | 110 +++++-- .../api/interceptor/AccountSNInterceptor.kt | 51 ---- .../api/interceptor/RequestInterceptor.java | 21 -- .../api/interceptor/StbInfoInterceptor.java | 73 ----- .../bnframework/api/{ => net}/HttpUtil.java | 12 +- .../interceptor/ConnectRetryInterceptor.java | 14 +- .../net/interceptor/RequestInterceptor.java | 24 ++ .../bnframework/business/ConfigData.java | 282 ++++-------------- .../bonait/bnframework/business/MainInit.java | 23 +- .../common/constant/ConfigName.java | 85 +++--- .../common/db/util/GoodsDBUtil.java | 1 + .../db/util/GoodsProcessDetailDBUtil.java | 2 +- .../common/helper/AuthorizeHelper.java | 56 ++-- .../common/helper/CrashHandler.java | 3 +- .../bnframework/common/helper/HttpServer.java | 26 +- .../common/utils/ProcessValueUtil.java | 6 +- .../bnframework/model/ProcessModelIdBean.java | 77 +++++ .../bonait/bnframework/model/ResResult.java | 66 ++++ .../bonait/bnframework/model/UploadTData.java | 45 +++ .../activity/BottomNavigation2Activity.java | 5 +- .../activity/BottomNavigationNewActivity.java | 17 +- .../home/fragment/from/DiyUpdateActivity.java | 2 +- .../home/fragment/from/LogRecordActivity.java | 5 + .../welcome/activity/LoginActivity.java | 10 +- .../ui/activity/DiyProcessActivity.java | 10 +- .../ui/adapter/goods/CloudGoodsAdapter.java | 12 +- .../ui/adapter/goods/LocalGoodsAdapter.java | 16 +- .../ui/fragment/goods/CloudGoodsFragment.java | 4 +- .../ui/fragment/goods/LocalGoodsFragment.java | 2 +- .../bnframework/ui/util/LogLongUtil.java | 123 ++++++++ .../ui/viewmodel/HomeGoodsViewModel.java | 10 +- .../ui/viewmodel/UpdateAllDataService.java | 126 ++++++-- .../ui/viewmodel/UpdateDataService.java | 110 ++++++- .../ui/widget/ProcessValueView.java | 4 +- .../main/res/layout/activity_log_record.xml | 17 +- .../layout/dialog_with_cancel_confirm.xml | 2 +- .../layout/item/layout/item_cloud_goods.xml | 3 +- .../layout/item/layout/item_local_goods.xml | 3 +- .../main/res/mipmap-xxxhdpi/loading123.png | Bin 87373 -> 77563 bytes 48 files changed, 1075 insertions(+), 668 deletions(-) rename app/src/main/java/com/bonait/bnframework/api/{CommonResponse.java => BaseResponse.java} (58%) create mode 100644 app/src/main/java/com/bonait/bnframework/api/BaseUpResponse.java create mode 100644 app/src/main/java/com/bonait/bnframework/api/Constant.java delete mode 100644 app/src/main/java/com/bonait/bnframework/api/interceptor/AccountSNInterceptor.kt delete mode 100644 app/src/main/java/com/bonait/bnframework/api/interceptor/RequestInterceptor.java delete mode 100644 app/src/main/java/com/bonait/bnframework/api/interceptor/StbInfoInterceptor.java rename app/src/main/java/com/bonait/bnframework/api/{ => net}/HttpUtil.java (82%) rename app/src/main/java/com/bonait/bnframework/api/{ => net}/interceptor/ConnectRetryInterceptor.java (88%) create mode 100644 app/src/main/java/com/bonait/bnframework/api/net/interceptor/RequestInterceptor.java create mode 100644 app/src/main/java/com/bonait/bnframework/model/ProcessModelIdBean.java create mode 100644 app/src/main/java/com/bonait/bnframework/model/ResResult.java create mode 100644 app/src/main/java/com/bonait/bnframework/model/UploadTData.java create mode 100644 app/src/main/java/com/bonait/bnframework/ui/util/LogLongUtil.java diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index adc32a36..62a7602e 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -4,10 +4,10 @@