| | |
| | | import com.ruoyi.system.dto.SysVisitorRecordPageRequest; |
| | | import com.ruoyi.system.service.ISysVisitorRecordService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | * 分页查询访客登记记录 |
| | | */ |
| | | @Log(title = "访客登记记录", businessType = BusinessType.SELECT) |
| | | @PreAuthorize("@ss.hasPermi('visitor:record:view')") |
| | | @PostMapping("/page") |
| | | public AjaxResult page(@RequestBody(required = false) SysVisitorRecordPageRequest request) |
| | | { |
| | |
| | | * 查看访客登记详情 |
| | | */ |
| | | @Log(title = "访客登记记录", businessType = BusinessType.SELECT) |
| | | @PreAuthorize("@ss.hasPermi('visitor:record:view')") |
| | | @PostMapping("/detail") |
| | | public AjaxResult detail(@RequestBody SysVisitorRecordDetailRequest request) |
| | | { |
| | |
| | | * 删除访客登记记录 |
| | | */ |
| | | @Log(title = "访客登记记录", businessType = BusinessType.DELETE) |
| | | @PreAuthorize("@ss.hasPermi('visitor:record:remove')") |
| | | @PostMapping("/delete") |
| | | public AjaxResult delete(@RequestBody SysVisitorRecordDeleteRequest request) |
| | | { |