puzhibing
2026-09-09 4a5e1477afc559cf870b34e4693f41d85e9580d1
ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/TVinManagementController.java
@@ -57,6 +57,14 @@
        return R.ok(service.unbindAppletVehicle(id, tokenService.getLoginUserApplet().getUserId()));
    }
    /**
     * 内部接口:根据VIN码查询未删除的VIN记录(订单侧VIN鉴权使用)
     */
    @GetMapping("/inner/get-by-vin")
    public R<TVinManagement> getByVin(@RequestParam("vin") String vin) {
        return R.ok(service.getByVin(vin));
    }
    @GetMapping("/inner/ids-by-app-user")
    public R<List<Long>> getVinIdsByAppUserId(@RequestParam Long appUserId) {
        return R.ok(service.getVinIdsByAppUserId(appUserId));