TestController.java 730 Bytes
package com.huaheng.pc.common;

import com.huaheng.framework.web.controller.BaseController;
import com.huaheng.framework.web.domain.AjaxResult;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
@RestController
@RequestMapping("/test")
public class TestController extends BaseController {


    @GetMapping("/send")
    public AjaxResult sendMessage(String subject, String body, Integer type, String[] to, String[] cc) {
//        SendNoticeUtils.sendNotice(subject, body, type, to, cc);
        return AjaxResult.success();
    }
}