Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public RestResponse all() {
}

@PostMapping("get")
@RequiresPermissions("setting:view")
public RestResponse get(String key) {
Setting setting = settingService.get(key);
return RestResponse.success(setting);
Expand Down Expand Up @@ -111,6 +112,7 @@ public RestResponse updateEmail(SenderEmail senderEmail) {
}

@PostMapping("check/hadoop")
@RequiresPermissions("setting:view")
public RestResponse checkHadoop() throws IOException {
HadoopUtils.hdfs().getStatus();
return RestResponse.success(true);
Expand Down
Loading