|
|
@@ -3,6 +3,8 @@ package com.ningdatech.pmapi.ding.controller; |
|
|
|
import com.ningdatech.pmapi.ding.task.EmployeeBatchGetTask; |
|
|
|
import com.ningdatech.pmapi.ding.task.GovBusinessStripsTask; |
|
|
|
import com.ningdatech.pmapi.ding.task.OrganizationBatchGetTask; |
|
|
|
import com.ningdatech.pmapi.organization.manage.ProcDefManage; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
@@ -25,6 +27,8 @@ public class DingInfoPullController { |
|
|
|
private final GovBusinessStripsTask businessStripsTask; |
|
|
|
private final OrganizationBatchGetTask organizationBatchGetTask; |
|
|
|
|
|
|
|
private final ProcDefManage procDefManage; |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/employee") |
|
|
|
public void employeeBatchGet() { |
|
|
@@ -70,4 +74,10 @@ public class DingInfoPullController { |
|
|
|
public String getAuthToken() { |
|
|
|
return employeeBatchGetTask.getAuthToken(); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation(value = "系统流程配置初始化", notes = "系统流程配置初始化") |
|
|
|
@GetMapping("/init") |
|
|
|
public String init() { |
|
|
|
return procDefManage.init(); |
|
|
|
} |
|
|
|
} |