Browse Source

runtime

master
燕鹏 4 years ago
parent
commit
a050a8b15e
  1. 4
      src/main/java/com/example/demo/controller/HolidayController.java

4
src/main/java/com/example/demo/controller/HolidayController.java

@ -3,6 +3,7 @@ package com.example.demo.controller;
import com.example.demo.entity.Holiday;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.activiti.api.task.runtime.TaskRuntime;
import org.activiti.engine.ProcessEngine;
import org.activiti.engine.RepositoryService;
import org.activiti.engine.RuntimeService;
@ -34,6 +35,9 @@ public class HolidayController {
@Autowired
private ProcessEngine processEngine;
@Autowired
private TaskRuntime taskRuntime;
@ApiOperation(value = "发布工作流")
@GetMapping("deploy")
public void deploy() {

Loading…
Cancel
Save