骑行查看运营区
This commit is contained in:
parent
9a1c4a3b1b
commit
ceff4a5805
@ -53,7 +53,7 @@ public interface EbikeBikeOrderService extends IService<EbikeBikeOrder> {
|
|||||||
void acceptOrder(Long orderId);
|
void acceptOrder(Long orderId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 上传故障文件
|
* 上传工单文件
|
||||||
* @param file 上传文件
|
* @param file 上传文件
|
||||||
* @return 文件路径
|
* @return 文件路径
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -196,7 +196,7 @@ public class EbikeOrderImpl extends ServiceImpl<EbikeOrderMapper, EbikeOrder> im
|
|||||||
public FeignEbikeUserBikeInfo queryBikeInfo(String bikeCode) {
|
public FeignEbikeUserBikeInfo queryBikeInfo(String bikeCode) {
|
||||||
JsonResult<FeignEbikeUserBikeInfo> jsonResult = operationsFeignClient.bikeInfo(bikeCode);
|
JsonResult<FeignEbikeUserBikeInfo> jsonResult = operationsFeignClient.bikeInfo(bikeCode);
|
||||||
if (jsonResult.getCode() != Code.SUCCESS) {
|
if (jsonResult.getCode() != Code.SUCCESS) {
|
||||||
throw new EbikeException("获取半径内车辆错误");
|
throw new EbikeException("获取车辆详情");
|
||||||
}
|
}
|
||||||
return jsonResult.getData();
|
return jsonResult.getData();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user