(self, request, *args, **kwargs)
| 68 | |
| 69 | @action(methods=['get'], detail=False, url_path='suggestions') |
| 70 | def match(self, request, *args, **kwargs): |
| 71 | with tmp_to_root_org(): |
| 72 | return super().match(request, *args, **kwargs) |
| 73 | |
| 74 | def get_serializer(self, *args, **kwargs): |
| 75 | """重写 get_serializer, 用于设置用户的角色缓存 |
no test coverage detected