From 3d631dbadf98f3f77c6e955cb36219217ef73ab5 Mon Sep 17 00:00:00 2001 From: 唐浩 <15928265276@163.com> Date: 星期二, 09 九月 2025 12:56:48 +0800 Subject: [PATCH] change by tanghao --- app/src/main/java/com/ziang/driver/base/BaseEvent.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/app/src/main/java/com/ziang/driver/base/BaseEvent.java b/app/src/main/java/com/ziang/driver/base/BaseEvent.java index 278f7cc..b0612f6 100644 --- a/app/src/main/java/com/ziang/driver/base/BaseEvent.java +++ b/app/src/main/java/com/ziang/driver/base/BaseEvent.java @@ -55,6 +55,9 @@ public static final int APP_BACKGROUND = 10033; // App置于后台 public static final int APP_LOG= 10099; // 日志 + public static final int ORDER_GRAB_EVENT= 10100; // 订单被抢,关闭强单页 + public static final int GET_SMALL_ORDER= 10101; // 获取到推送的小程序订单显示在前台 + private String msg; private int code; @@ -111,6 +114,19 @@ this.typeTwo = typeTwo; } + public BaseEvent(int code, int type, int typeTwo,String msg) { + this.code = code; + this.type = type; + this.typeTwo = typeTwo; + this.msg = msg; + } + + public BaseEvent(int code, int type, String msg) { + this.code = code; + this.type = type; + this.msg = msg; + } + public BaseEvent(int code, String msg, String msgTwo, String msgthree) { this.msg = msg; this.code = code; -- Gitblit v1.7.1