8.6
liugl
2020-08-06 3f55faa0a1298bc2320d1e749f0b08b25b85d671
app/src/main/java/com/okgoincar/bean/websocket/HeartBean.java
@@ -2,6 +2,7 @@
import com.okgoincar.netUtls.NetKitKt;
import com.okgoincar.utils.Cache.CacheKey;
public class HeartBean {
    private int code = 200;
@@ -44,10 +45,14 @@
    public static class DataBean{
        private int type = 2;
        private int userId = NetKitKt.getUserId();
        private String device = "carDevice";
        private String token;
        public DataBean() {
            type = 2;
            userId =  NetKitKt.getUserId();
            device = "carDevice";
            token = CacheKey.INSTANCE.getToken();
        }
    }