瀏覽代碼

三天不审批

master
PoffyZhang 1 年之前
父節點
當前提交
88e6c9fc74
共有 3 個檔案被更改,包括 15 行新增8 行删除
  1. +4
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/ding/controller/DingInfoPullController.java
  2. +11
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/ding/task/EmployeeBatchGetTask.java
  3. +0
    -7
      pmapi/src/main/java/com/ningdatech/pmapi/sys/controller/SysProcDefController.java

+ 4
- 1
pmapi/src/main/java/com/ningdatech/pmapi/ding/controller/DingInfoPullController.java 查看文件

@@ -87,5 +87,8 @@ public class DingInfoPullController {
System.out.println(JSON.toJSONString(forEntity));
}


@GetMapping("/getToken")
public String getToken() {
return employeeBatchGetTask.getToken();
}
}

+ 11
- 0
pmapi/src/main/java/com/ningdatech/pmapi/ding/task/EmployeeBatchGetTask.java 查看文件

@@ -53,6 +53,9 @@ public class EmployeeBatchGetTask {
private ZwddClient zwddClient;

@Autowired
private ZwddAuthClient zwddAuthClient;

@Autowired
private IDingOrganizationService iDingOrganizationService;

@Autowired
@@ -466,4 +469,12 @@ public class EmployeeBatchGetTask {
getEmployeeByCode(employee.getEmployeeCode());
}
}

/**
* 获取token
*/
public String getToken() {
GenericResult<String> accessToken = zwddClient.getAccessToken();
return accessToken.getData();
}
}

+ 0
- 7
pmapi/src/main/java/com/ningdatech/pmapi/sys/controller/SysProcDefController.java 查看文件

@@ -72,11 +72,4 @@ public class SysProcDefController {
public String deploy(@Validated @PathVariable String formId) {
return processModelService.deployProcess(formId,null);
}

@ApiOperation(value = "流程初始化", notes = "流程初始化")
@GetMapping("/process/init")
@WebLog("系统流程初始化")
public String processInit() {
return menuManage.init();
}
}

Loading…
取消
儲存