| | |
| | | @ApiOperation("全量部门信息同步 - 钉钉") |
| | | @PostMapping("/syncAllDingding") |
| | | // @CloudRequiredPermission("business:company:sync") |
| | | public ApiResponse syncAllDingding() throws ApiException { |
| | | public ApiResponse syncAllDingding() { |
| | | companyService.syncDDCompany(); |
| | | return ApiResponse.success("同步成功"); |
| | | } |
| | | @ApiOperation("全量部门信息同步 - 钉钉") |
| | | @PostMapping("/syncAllJdy") |
| | | // @CloudRequiredPermission("business:company:sync") |
| | | public ApiResponse syncAllJyd() throws ApiException { |
| | | companyService.syncJdyCompany(); |
| | | return ApiResponse.success("同步成功"); |
| | | } |
| | | |
| | | |
| | | |