|
|
|
@ -302,4 +302,14 @@ public class CustomerAgencyController { |
|
|
|
public Result<String> getAreaCodeSwitch(@PathVariable("customerId")String customerId){ |
|
|
|
return new Result<String>().ok(customerOrgParameterService.getAreaCodeSwitch(customerId)); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 【通讯录】查询当前人员所属组织、组织下部门/网格树 |
|
|
|
* @author sun |
|
|
|
**/ |
|
|
|
@PostMapping("orgtree") |
|
|
|
Result<ExtStaffPermissionResultDTO> orgTree(@LoginUser TokenDto tokenDto){ |
|
|
|
return new Result<ExtStaffPermissionResultDTO>().ok(customerAgencyService.staffPermissionExt(tokenDto.getUserId())); |
|
|
|
} |
|
|
|
|
|
|
|
} |