mac
2024-05-10 43c0a28db7e43959561036dbde0eb5cb37a7e324
app/src/main/java/com/hdl/photovoltaic/uni/HDLUniMP.java
@@ -79,7 +79,7 @@
    public final static String UNI_EVENT_REPLY_OTHER_UNI_LOG = "uni_log";//收集uni日志
    public final static String UNI_EVENT_REPLY_OTHER_BACK = "back";//首页返回
    public final static String UNI_EVENT_REPLY_OTHER_APPLICATION_CONFLICT = "application_conflict";//应用冲突
    public final static String UNI_EVENT_REPLY_OTHER_LOGOUT = "uni_logout";//退出登录
    /*********C端【我的】模块*********/
@@ -97,8 +97,9 @@
    /*********Wifi模块*********/ //卫锦定义
    public final static String UNI_EVENT_REPLY_WIFI_MODEL = "uni_wifi_model";//wifi模块(大类)
    public final static String UNI_EVENT_REPLY_WIFI_LIST = "list";//获取wifi列表
    public final static String UNI_EVENT_REPLY_WIFI_INFO = "info";//获取当前wifi信息
    public final static String UNI_EVENT_REPLY_WIFI_CONNECT = "connect";//连接wifi
    public final static String UNI_EVENT_REPLY_WIFI_PHONE_INFO = "wifi_phone_info";//获取当前wifi信息
    public final static String UNI_EVENT_REPLY_WIFI_SET_DEVICE = "wifi_set_device";//设置wifi给设备
    public final static String UNI_EVENT_REPLY_OPEN_WIFI_SETTINGS = "open_wifi_settings";//调用打开手机Wifi设置界面
    //endregion
    //region --------【原生】主动发送到【小程序】--------
@@ -135,18 +136,18 @@
    public static class UniCallBackBaseBean implements Serializable {
        private int code;//状态码
        private String mes;//信息描述
        private String msg;//信息描述
        private String type;//功能类型
        private Object data;//附加json数据
        public UniCallBackBaseBean(int code, String mes) {
        public UniCallBackBaseBean(int code, String msg) {
            this.code = code;
            this.mes = mes;
            this.msg = msg;
        }
        public UniCallBackBaseBean() {
            this.code = 0;
            this.mes = "成功";
            this.msg = "成功";
        }
@@ -158,12 +159,12 @@
            this.code = code;
        }
        public String getMes() {
            return mes == null ? "" : mes;
        public String getMsg() {
            return msg == null ? "" : msg;
        }
        public void setMes(String mes) {
            this.mes = mes;
        public void setMsg(String msg) {
            this.msg = msg;
        }
        public Object getData() {