| | |
| | | package com.okgoincar.bean.websocket; |
| | | |
| | | |
| | | import android.view.View; |
| | | |
| | | import com.okgoincar.base.MyApplication; |
| | | import com.okgoincar.netUtls.NetKitKt; |
| | | import com.okgoincar.utils.Cache.CacheKey; |
| | | |
| | | import cn.sinata.xldutils.utils.Utils; |
| | | |
| | | public class HeartBean { |
| | | private int code = 200; |
| | |
| | | public static class DataBean{ |
| | | private int type = 2; |
| | | private int userId = NetKitKt.getUserId(); |
| | | private String device = "carDevice"; |
| | | private String token; |
| | | private String version; |
| | | |
| | | public DataBean() { |
| | | type = 2; |
| | | userId = NetKitKt.getUserId(); |
| | | device = "carDevice"; |
| | | version = Utils.getAppVersion(MyApplication.Companion.getAppContext()); |
| | | token = CacheKey.INSTANCE.getToken(); |
| | | } |
| | | } |
| | | |