@RestController @RequestMapping(value="/user-setting") @Authorize public class UserSettingController extends Object
| 构造器和说明 |
|---|
UserSettingController() |
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseMessage<List<UserSettingEntity>> |
get(org.hswebframework.web.authorization.Authentication authentication,
String key) |
ResponseMessage<UserSettingEntity> |
get(org.hswebframework.web.authorization.Authentication authentication,
String key,
String id) |
ResponseMessage<String> |
save(org.hswebframework.web.authorization.Authentication authentication,
String key,
UserSettingEntity userSettingEntity) |
@GetMapping(value="/me/{key}/{id}")
@Authorize(merge=false)
public ResponseMessage<UserSettingEntity> get(org.hswebframework.web.authorization.Authentication authentication,
@PathVariable
String key,
@PathVariable
String id)
@GetMapping(value="/me/{key}")
@Authorize(merge=false)
public ResponseMessage<List<UserSettingEntity>> get(org.hswebframework.web.authorization.Authentication authentication,
@PathVariable
String key)
@PatchMapping(value="/me/{key}")
@Authorize(merge=false)
public ResponseMessage<String> save(org.hswebframework.web.authorization.Authentication authentication,
@PathVariable
String key,
@Validated @RequestBody
UserSettingEntity userSettingEntity)
Copyright © 2016–2019. All rights reserved.