|
|
|
@@ -1,6 +1,7 @@ |
|
|
|
package com.iformall.controller; |
|
|
|
|
|
|
|
import com.iformall.common.ResultData; |
|
|
|
import com.iformall.mq.MessageProducer; |
|
|
|
import com.iformall.service.WxFlowService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiImplicitParam; |
|
|
|
@@ -21,6 +22,15 @@ public class WxFlowAbleController extends BaseController { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private WxFlowService wxFlowService; |
|
|
|
@Autowired |
|
|
|
private MessageProducer messageProducer; |
|
|
|
|
|
|
|
@ApiOperation(value = "mqSend",notes = "") |
|
|
|
@PostMapping("/mqSend") |
|
|
|
public ResultData mqSend() { |
|
|
|
messageProducer.sendMessage("aaaa","topic-1","tag1","key1"); |
|
|
|
return new ResultData(); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation(value = "启动流程",notes = "{\"businessId\":\"221178539888607232\",\"businessType\":1,\"remark\":\"意见意见。\",\"taskAssignee\":[{\"taskKey\":\"firstTaskUser\",\"assignee\":\"243650055783841792\"},{\"taskKey\":\"secondTaskUser\",\"assignee\":\"\"}],\"variables\":[{\"key\":\"contractType\",\"value\":\"1\"},{\"key\":\"contractNumber\",\"value\":\"1111\"}]}") |
|
|
|
@PostMapping("/start") |
|
|
|
|