用户端根据车辆编号获取寻车铃
This commit is contained in:
parent
c6de23b3fb
commit
1e31711338
@ -11,6 +11,8 @@ import org.springframework.web.bind.annotation.RequestParam;
|
|||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 用户端车辆基本信息 控制层
|
||||||
|
*
|
||||||
* @author yanglei
|
* @author yanglei
|
||||||
* @since 2026-01-27 10:52
|
* @since 2026-01-27 10:52
|
||||||
*/
|
*/
|
||||||
@ -21,6 +23,12 @@ public class EbikeBikeInfoController {
|
|||||||
@Resource
|
@Resource
|
||||||
private OperationsFeignClient operationsFeignClient;
|
private OperationsFeignClient operationsFeignClient;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据车辆编码获取寻车铃
|
||||||
|
*
|
||||||
|
* @param bikeCode 车辆编码
|
||||||
|
* @return true 成功 false 失败
|
||||||
|
*/
|
||||||
@GetMapping("/findBikeByBikeCode")
|
@GetMapping("/findBikeByBikeCode")
|
||||||
public JsonResult<?> findBikeByBikeCode(@RequestParam("bikeCode") String bikeCode) {
|
public JsonResult<?> findBikeByBikeCode(@RequestParam("bikeCode") String bikeCode) {
|
||||||
JsonResult<?> jsonResult = operationsFeignClient.findBikeByBikeCode(bikeCode);
|
JsonResult<?> jsonResult = operationsFeignClient.findBikeByBikeCode(bikeCode);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user