|
@@ -1285,7 +1285,6 @@ public class TAdminController {
|
|
|
String[] split = treePath.split(",");
|
|
|
if (split.length > 2) {
|
|
|
admin.setAreaId(Long.valueOf(split[2]));
|
|
|
-// System.out.println(split[2]);
|
|
|
tAdminService.updateById(admin);
|
|
|
}
|
|
|
}
|
|
@@ -1293,5 +1292,16 @@ public class TAdminController {
|
|
|
}
|
|
|
return R.ok();
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation("获取账号公司平台")
|
|
|
+ @GetMapping("/getCompanyTypeById")
|
|
|
+ public ResponseModel<?> getCompanyTypeById(String adminId) {
|
|
|
+ TAdmin admin = tAdminService.getById(adminId);
|
|
|
+ String companyType = "";
|
|
|
+ if (admin != null) {
|
|
|
+ companyType = admin.getCompanyType();
|
|
|
+ }
|
|
|
+ return R.ok(companyType);
|
|
|
+ }
|
|
|
}
|
|
|
|