feat: update login, home and product inbound UI
This commit is contained in:
70
app/src/main/java/com/ckkj/griddlebiz/EventMessage.java
Normal file
70
app/src/main/java/com/ckkj/griddlebiz/EventMessage.java
Normal file
@@ -0,0 +1,70 @@
|
||||
package com.ckkj.griddlebiz;
|
||||
|
||||
//import com.amap.api.location.AMapLocation;
|
||||
|
||||
|
||||
/**
|
||||
* eventbus回调
|
||||
*/
|
||||
public class EventMessage {
|
||||
|
||||
public static final String DATA_REFRESH_EVENT = "data_refresh_event";
|
||||
public static final String USER_LOGIN_LOST = "user_login_lost";
|
||||
public static final String CODE_LOGIN_LOST = "code_login_lost";
|
||||
public static final String WX_PAY_SUCCESS = "wx_pay_success";
|
||||
public static final String USER_LOGIN_SUCCESS = "user_login_success";
|
||||
public static final String HISTORY_SESSIONID_DELETE_SUCCESS = "history_sessionid_delete_success";
|
||||
public static final String SWITCH_TO_FATE_FRAGMENT = "switch_to_fate_fragment";
|
||||
public int result_code;
|
||||
public String eventStrKey;
|
||||
public String msg;
|
||||
// public AMapLocation aMapLocation;
|
||||
|
||||
|
||||
public String getEventStrKey() {
|
||||
return eventStrKey;
|
||||
}
|
||||
|
||||
public void setEventStrKey(String eventStrKey) {
|
||||
this.eventStrKey = eventStrKey;
|
||||
}
|
||||
|
||||
public EventMessage(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
/* 高德定位依赖已移除
|
||||
public EventMessage(String msg,AMapLocation aMapLocation) {
|
||||
this.msg = msg;
|
||||
this.aMapLocation = aMapLocation;
|
||||
}
|
||||
*/
|
||||
|
||||
public EventMessage(String eventStr, String msg) {
|
||||
this.eventStrKey = eventStr;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public EventMessage(int result_code, String msg) {
|
||||
this.result_code = result_code;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public int getResult_code() {
|
||||
return result_code;
|
||||
}
|
||||
|
||||
public void setResult_code(int result_code) {
|
||||
this.result_code = result_code;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user