mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-05 20:33:23 +08:00
优化test,增加泛型支持
This commit is contained in:
@@ -65,6 +65,13 @@ public class TestController implements QueryController<UserEntity, String, Query
|
||||
return ResponseMessage.ok(model);
|
||||
}
|
||||
|
||||
|
||||
@PutMapping("/testUpdateBatch")
|
||||
public ResponseMessage<List<UserModel>> testUpdate(@RequestBody List<UserModel> model) {
|
||||
return ResponseMessage.ok(model);
|
||||
}
|
||||
|
||||
|
||||
@PutMapping("/test/testPersonnel")
|
||||
public ResponseMessage<PersonnelAuthorization> testPersonnel() {
|
||||
return ResponseMessage.ok(PersonnelAuthorization.current().get());
|
||||
|
||||
Reference in New Issue
Block a user