Merge branch 'master' into docker_package
This commit is contained in:
commit
f5c66771be
|
@ -163,6 +163,16 @@ public class ResourceController {
|
|||
return new Result<>().ok(id);
|
||||
}
|
||||
|
||||
@PutMapping("/cancel_pin_top/{id}")
|
||||
@LogOperation(value = "取消置顶该能力资源")
|
||||
public Result cancelPinTop(@PathVariable("id") Long id) {
|
||||
ResourceDTO data = resourceService.get(id);
|
||||
data.setPinTop(0);
|
||||
data.setPinTopTime(new Date());
|
||||
resourceService.update(data);
|
||||
return new Result<>().ok(id);
|
||||
}
|
||||
|
||||
@GetMapping("/{id}")
|
||||
@ApiOperation("查询能力资源详细信息")
|
||||
@LogOperation("查询能力资源详细信息")
|
||||
|
|
Loading…
Reference in New Issue