查询司机失败提示优化
This commit is contained in:
parent
ac6906a1a5
commit
ebaa442309
@ -756,7 +756,7 @@ public class NewLJUtils {
|
|||||||
public void onCodeError(Context mContext, CommonResponseBean<CommonResponseBean> t) {
|
public void onCodeError(Context mContext, CommonResponseBean<CommonResponseBean> t) {
|
||||||
super.onCodeError(mContext, t);
|
super.onCodeError(mContext, t);
|
||||||
if (listener != null)
|
if (listener != null)
|
||||||
listener.onFailure(t.getCode(), TextUtils.isEmpty(t.getMessage()) ? "运单操作异常" : t.getMessage());
|
listener.onFailure(t.getCode(), TextUtils.isEmpty(t.getMessage()) ? "司机异常请联系管理员" : t.getMessage());
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user