@@ -335,6 +335,13 @@ public class OrgController extends ControllerSupport {
response.flushBuffer();
}
+ @ApiOperation(value = "查询logo")
+ @GetMapping("/getRootOrgByCode")
+ public Org getRootOrgByCode(@RequestParam("code") String code) throws IOException {
+ Org org = orgRepo.findRootOrg(code);
+ return org;
+ }
+
/**
* 方法注释
*