mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-20 09:52:14 +08:00
fix #112
This commit is contained in:
@@ -39,7 +39,7 @@ public class UserSettingController {
|
||||
@PathVariable String id) {
|
||||
UserSettingEntity entity = userSettingService.selectByUser(authentication.getUser().getId(), key, id);
|
||||
if (entity != null && entity.hasPermission(R, RW)) {
|
||||
return ResponseMessage.ok();
|
||||
return ResponseMessage.ok(entity);
|
||||
}
|
||||
return ResponseMessage.ok();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user