刷脸失败异常处理

This commit is contained in:
lijia 2024-11-27 14:20:00 +08:00
parent 61c22800f7
commit 6fc87c0d2e
2 changed files with 4 additions and 0 deletions

View File

@ -1277,6 +1277,8 @@ public class HomeFragment extends BaseFragment {
@Subscribe
public void processResult(HomeWaybillEvent home) {
if (home.getMessage() == 1) {
int curWaybillId = (int) SPUtils.get(con, "curWaybillId", -1);
hyr.startOrder(curWaybillId == -1 ? 0 : curWaybillId);
hyr.getHuoYuan(1, 100);
} else {
int curWaybillId = (int) SPUtils.get(con, "curWaybillId", -1);

View File

@ -133,6 +133,8 @@ public class HuoYunDelActivity extends BaseAppCompatActivity {
}
//finish();
} else {
EventBus.getDefault().post(new HomeWaybillEvent(1));
finish();
Toast.makeText(con, bb.getMsg(), Toast.LENGTH_SHORT).show();
customDialog.dismiss();
}