package com.nokia.sms.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RequestMapping("/test")
@RestController
public class TestController {
    /**
     * 短信告警测试
     */
    @GetMapping("/alert")
    public Object alert() {
        log.error("短信告警测试");
        return "ok";
    }
}
