Commit 9beac2aa by fudahua

群发定时触发任务 测试接口

parent 7d95ebb6
......@@ -4,7 +4,6 @@ import com.gic.haoban.common.utils.HaobanResponse;
import com.gic.haoban.manage.api.service.HandoverOperationApiService;
import com.gic.haoban.manage.web.controller.WebBaseController;
import com.gic.haoban.manage.web.errCode.HaoBanErrCode;
import com.gic.haoban.task.manage.api.service.IGroupSendDetailApiService;
import com.gic.haoban.task.manage.api.service.TaskQuartzCallbackApiService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -71,6 +70,23 @@ public class TestTaskController extends WebBaseController {
return resultResponse(HaoBanErrCode.ERR_1);
}
@RequestMapping("/setTest")
@ResponseBody
public HaobanResponse setTest(String str) {
if (StringUtils.isBlank(str)) {
return resultResponse(HaoBanErrCode.ERR_2);
}
taskQuartzCallbackApiService.setTest(str);
return resultResponse(HaoBanErrCode.ERR_1);
}
@RequestMapping("/delTest")
@ResponseBody
public HaobanResponse delTest() {
taskQuartzCallbackApiService.delTest();
return resultResponse(HaoBanErrCode.ERR_1);
}
@RequestMapping("/dealQywxEnterpriseHandover")
@ResponseBody
public HaobanResponse dealQywxEnterpriseHandover(String str) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment