935090232@qq.com
2022-02-20 c253b555c7905c5136d47cd615ef545fa50cc6ad
zq-erp/src/main/java/com/matrix/system/wechart/templateMsg/demo/MsgDemo3.java
New file
@@ -0,0 +1,29 @@
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");
    }
}