package com.sckw.slope.detection.controller;

import com.sckw.core.annotation.Log;
import com.sckw.slope.detection.service.MysqlDemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lfdc
 * @description
 * @date 2023-10-24 13:10:04
 */
@RestController
@RequestMapping("/mysql")
public class MysqlDemoController {

    @Autowired
    MysqlDemoService mysqlDemoService;

    @Log(description = "mysqlDemo")
    @RequestMapping(value = "/mysqlDemo",method = RequestMethod.GET)
    public void mysqlDemo(){
        mysqlDemoService.mysqlDemo();
    }
}
