From 9ccd59974993aa9914daf045aa6f2bbb5152047c Mon Sep 17 00:00:00 2001
From: weimingfei <fei_gaming@sina.com>
Date: 星期二, 28 十月 2025 09:49:08 +0800
Subject: [PATCH] 钥匙柜

---
 keyCabinet-android/app/src/main/java/com/doumee/keyCabinet/ui/keyCabinet/ManageCabinetVM.java |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/keyCabinet-android/app/src/main/java/com/doumee/keyCabinet/ui/keyCabinet/ManageCabinetVM.java b/keyCabinet-android/app/src/main/java/com/doumee/keyCabinet/ui/keyCabinet/ManageCabinetVM.java
index 2a338f5..94a9439 100644
--- a/keyCabinet-android/app/src/main/java/com/doumee/keyCabinet/ui/keyCabinet/ManageCabinetVM.java
+++ b/keyCabinet-android/app/src/main/java/com/doumee/keyCabinet/ui/keyCabinet/ManageCabinetVM.java
@@ -160,8 +160,8 @@
                     @Override
                     public void onNext(@NonNull BaseResponse response) {
                         if(200==response.getCode()){
+                            EventBus.getDefault().post(new HttpEvent("鎵归噺寮�闂� - 绠$悊鍛樻帴鍙f垚鍔�"));
                             if(isAll) {
-                                toast("鎵归噺寮�闂ㄦ垚鍔�");
                                 doAction(8);
                             }else {
                                 doAction(10);
@@ -195,8 +195,8 @@
                 .subscribe(new SimpleObserver<BaseResponse>(rxJavaGcManager) {
                     @Override
                     public void onNext(@NonNull BaseResponse response) {
+                        EventBus.getDefault().post(new HttpEvent("鏍囪鏌滄牸姝e父鎺ュ彛鎴愬姛"));
                         if(200==response.getCode()){
-                            toast("鏍囪鏌滄牸姝e父鎴愬姛");
                             getCabinetDetail();
                         }else {
                             toast(response.getMessage());
@@ -227,7 +227,7 @@
                     @Override
                     public void onNext(@NonNull BaseResponse response) {
                         if(200==response.getCode()){
-                            toast("鏍囪鏌滄牸鏁呴殰鎴愬姛");
+                            EventBus.getDefault().post(new HttpEvent("鏍囪鏌滄牸鏁呴殰鎺ュ彛鎴愬姛"));
                             getCabinetDetail();
                         }else {
                             toast(response.getMessage());
@@ -258,7 +258,7 @@
                     @Override
                     public void onNext(@NonNull BaseResponse response) {
                         if(200==response.getCode()){
-                            toast("鏍囪缁翠慨淇濆吇鎴愬姛");
+                            EventBus.getDefault().post(new HttpEvent("鏍囪缁翠慨淇濆吇鎺ュ彛鎴愬姛"));
                             getCabinetDetail();
                         }else {
                             toast(response.getMessage());
@@ -296,6 +296,7 @@
                     @Override
                     public void onNext(@NonNull BaseResponse response) {
                         if(response.getCode()==200){
+                            EventBus.getDefault().post(new HttpEvent("鍏抽棴鏌滄牸鎺ュ彛鎴愬姛"));
                             getCabinetDetail();
                             doAction(11);
                         }

--
Gitblit v1.9.3