This commit is contained in:
zhou-hao
2019-02-13 22:25:07 +08:00
parent eb3a60273e
commit a2e5af5317

View File

@@ -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();
}