| | |
| | | @Resource |
| | | private ITyService tyService; |
| | | |
| | | @ApiOperation(value = "设置相机模式", notes = "actionParam值:1-拍照,2-录像") |
| | | @ApiOperationSupport(order = 1) |
| | | @PostMapping("/updateCameraMode") |
| | | public AjaxResult updateCameraMode(@RequestBody CameraModeDTO cameraModeDTO) { |
| | | tyService.updateCameraMode(cameraModeDTO); |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | @ApiOperation("拍照") |
| | | @ApiOperationSupport(order = 1) |
| | |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | @ApiOperation("格式化存储卡") |
| | | @ApiOperationSupport(order = 9) |
| | | @PostMapping("/formatSdCard") |
| | | public AjaxResult formatSdCard(@RequestBody FormatSdCardDTO formatSdCardDTO) { |
| | | tyService.formatSdCard(formatSdCardDTO); |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "打开或关闭照片回传", notes = "actionParam值:0-关闭,1-打开") |
| | | @ApiOperationSupport(order = 10) |
| | | @PostMapping("/photoReturnToggle") |
| | |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | |
| | | |
| | | } |