| | |
| | | |
| | | @PutMapping("approve") |
| | | @ApiOperation(value = "审核") |
| | | public Response approve(@RequestBody DeviceResourceApply resourceApply){ |
| | | public Response approve(@RequestParam Integer id,@RequestParam Integer status){ |
| | | |
| | | return null; |
| | | return service.approve(id,status); |
| | | } |
| | | |
| | | @GetMapping("applyInfo") |
| | | @ApiOperation(value = "查询单个申请状态-根据设备id") |
| | | public Response applyInfo(@RequestBody DeviceResourceApply resourceApply){ |
| | | @ApiOperation(value = "查询单个申请状态-根据申请id") |
| | | public Response getApplyInfo(@RequestParam Integer id){ |
| | | |
| | | return null; |
| | | return service.getApplyInfo(id); |
| | | } |
| | | } |