| | |
| | | import com.okgoincar.netUtls.getUserId |
| | | import com.okgoincar.slab.MySlabBaseActivity |
| | | import com.okgoincar.utils.Cache.CacheKey |
| | | import com.tencent.bugly.crashreport.CrashReport |
| | | import org.jetbrains.anko.toast |
| | | import org.json.JSONObject |
| | | import java.security.SecureRandom |
| | |
| | | // PlatformConfig.setWeixin("wx65d2c03f04352f90", "7a3a57f9ba78c1f400b75298eec4c7c0") |
| | | // PlatformConfig.setQQZone("101877032", "eab94b262bf9789eec770cde42a6e71e") //qq互联 |
| | | // LogUtils.OpenLog(true) |
| | | CrashReport.initCrashReport(applicationContext, "666d35fada", false) |
| | | initUpPoint() |
| | | initSocket() |
| | | } |
| | |
| | | bean.data = dataBean |
| | | NettyClient.getInstance() |
| | | .sendMessage(Gson().toJson(bean)) |
| | | // Handler(Looper.getMainLooper()).post { |
| | | Handler(Looper.getMainLooper()).post { |
| | | // toast("发送location --> $dataBean") |
| | | // } |
| | | } |
| | | sysErr(dataBean.toString()) |
| | | } |
| | | } |