[5.2.8]
[shuttle_p] [错误日志]
This commit is contained in:
@@ -77,6 +77,10 @@ object TicketModel : StateChangeListener {
|
||||
}
|
||||
}
|
||||
|
||||
override fun onError() {
|
||||
super.onError()
|
||||
ScannerChainLogManager.writeChainLog(TAG +"onError","接口请求错误orderNo:${orderNo}__uid:${uid}")
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@ import com.mogo.och.shuttle.passenger.bean.request.PassengerWriteOffRequest
|
||||
import com.mogo.och.shuttle.passenger.bean.response.PassengerOperationStatusResponse
|
||||
import com.mogo.och.shuttle.passenger.bean.response.PassengerRoutesResponse
|
||||
import com.mogo.och.shuttle.passenger.bean.response.PassengerWriteOffResponse
|
||||
import com.mogo.och.shuttle.passenger.manager.scnner.ScannerChainLogManager
|
||||
|
||||
/**
|
||||
* Created on 2022/3/31
|
||||
@@ -24,6 +25,8 @@ object PassengerServiceManager {
|
||||
|
||||
private var driverSnCache = ""
|
||||
|
||||
private val TAG = "PassengerServiceManager"
|
||||
|
||||
private var mShuttleBusPassengerServiceApi =
|
||||
MoGoRetrofitFactory.getInstance(OchCommonConst.getShuttleUrl()).create(
|
||||
ServiceApi::class.java)
|
||||
@@ -94,6 +97,7 @@ object PassengerServiceManager {
|
||||
ticketInfo.sn = driverAppSn
|
||||
if(StringUtils.isEmpty(driverAppSn)){
|
||||
ToastUtils.showShort("请链接司机屏${ticketInfo.uid}")
|
||||
ScannerChainLogManager.writeChainLog(TAG +"onError","无司机屏sn请处理")
|
||||
return
|
||||
}
|
||||
mShuttleBusPassengerServiceApi.writeOffTicket(
|
||||
|
||||
Reference in New Issue
Block a user