RemoteJflowProcessService.java 789 B

12345678910111213141516171819202122
  1. package com.boman.jflow.api;
  2. import com.alibaba.fastjson.JSONObject;
  3. import com.boman.domain.constant.ServiceNameConstants;
  4. import com.boman.domain.dto.AjaxResult;
  5. import com.boman.domain.dto.ProcessDto;
  6. import com.boman.domain.dto.TaskDto;
  7. import org.springframework.cloud.openfeign.FeignClient;
  8. import org.springframework.web.bind.annotation.GetMapping;
  9. import org.springframework.web.bind.annotation.PostMapping;
  10. import org.springframework.web.bind.annotation.RequestBody;
  11. /**
  12. * @author zhong.h
  13. * @date 2021年05月26日 15:09
  14. **/
  15. @FeignClient(contextId = "remoteJflowProcessService", name = ServiceNameConstants.JFLOW_SERVICE)
  16. public interface RemoteJflowProcessService {
  17. @PostMapping("/jflow/p/c/process/launch")
  18. AjaxResult launch(@RequestBody ProcessDto processDto);
  19. }