longz
2026-06-30 bcfeaf551a586ab6898bf6dc5c5995e2e03a4f11
DriverYKDTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/crossCity/controller/OrderCrossCityController.java
@@ -150,7 +150,7 @@
    /**
     * 司机响应改派申请
     * @param reassignId
     * @param reassignIds
     * @param responseType
     * @param request
     * @return
@@ -159,14 +159,14 @@
    @PostMapping("/api/orderCrossCity/respondReassign")
    @ApiOperation(value = "司机响应改派申请(跨城)", tags = {"司机端-改派"}, notes = "")
    @ApiImplicitParams({
            @ApiImplicitParam(value = "改派ID", name = "reassignId", required = true, dataType = "int"),
            @ApiImplicitParam(value = "改派ID列表(逗号分隔)", name = "reassignIds", required = true, dataType = "string"),
            @ApiImplicitParam(value = "响应类型(1=同意,2=拒绝)", name = "responseType", required = true, dataType = "int"),
            @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....")
    })
    public ResultUtil respondReassign(Integer reassignId, Integer responseType, HttpServletRequest request) {
    public ResultUtil respondReassign(String reassignIds, Integer responseType, HttpServletRequest request) {
        try {
            Integer driverId = ShiroKit.getUser().getId();
            return reassignService.respondReassign(reassignId, driverId, responseType);
            return reassignService.respondReassignBatch(reassignIds, driverId, responseType);
        } catch (Exception e) {
            e.printStackTrace();
            return ResultUtil.error("操作失败");