package com.matrix.system.wechart.templateMsg.demo; import com.matrix.core.pojo.AjaxResult; import com.matrix.system.wechart.templateMsg.Task.UniformMsgSentTask; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import java.io.IOException; @Controller @RequestMapping(value = "test3") public class MsgDemo3 { @Autowired UniformMsgSentTask uniformMsgSentTask; @RequestMapping("/template") @ResponseBody public AjaxResult template() throws IOException { return AjaxResult.buildSuccessInstance("1"); } }