| | |
| | | map["orderType"] = orderType |
| | | callNet(this, Api.queryOrderInfo, map) { |
| | | orderBean = gson.fromJson(it, OrderBean::class.java) |
| | | MyApplication.upLog("TripActivity callOrder 订单状态:${orderBean.data.orderState}") |
| | | showUi(orderBean) |
| | | // Handler(Looper.getMainLooper()).postDelayed({ |
| | | // startActivity<SlabOrderOverActivity>("orderId" to orderBean.data.orderId.toString() , "orderType" to orderBean.data.type.toString()) |
| | |
| | | intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK; |
| | | intent.action = "wisdom.intent.action.topLight"; |
| | | intent.putExtra("state", 0) |
| | | sendBroadcast(intent); |
| | | sendBroadcast(intent) |
| | | MyApplication.upLog("TripActivity clickBroad():发送广播 ${intent.action} state:${0}") |
| | | } |
| | | |
| | | private fun startTimeStart(waitTime: Int) { |