| | |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | visitsService.resetPassword(resetPasswordDTO); |
| | | return ApiResponse.success("重置成功"); |
| | | } |
| | | |
| | | @ApiOperation("重新下发失败的预约") |
| | | @GetMapping("/visitResend") |
| | | @CloudRequiredPermission("business:visits:update") |
| | | public ApiResponse visitResend(@RequestParam Integer visitId) { |
| | | visitsService.visitResend(visitId); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | } |