| | |
| | | * @param type |
| | | */ |
| | | public void showOrder(String orderId, String orderType, int time, int type) { |
| | | UtilKtKt.calldetailOrderIsYy(this, orderId, orderType, b -> { |
| | | if (b) { |
| | | // UtilKtKt.calldetailOrderIsYy(this, orderId, orderType, b -> { |
| | | // if (b) { |
| | | MyApplication.Companion.getTTsManager().setVideoText("OK出行,有一条新的订单"); |
| | | Intent intent = new Intent(MySlabBaseActivity.this, SlabGetOrderFragment.class); |
| | | intent.putExtra("orderId", orderId); |
| | |
| | | intent.putExtra("time", time); |
| | | intent.putExtra("type", type); |
| | | startActivity(intent); |
| | | } else { |
| | | // } else { |
| | | // toast("收到预约单"); |
| | | } |
| | | }); |
| | | // } |
| | | // }); |
| | | } |
| | | |
| | | |