package com.diagbot.web;

import com.diagbot.annotation.SysLogger;
import com.diagbot.dto.RespDTO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @author: ztg
 * @time: 2019/2/27 9:58
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @PostMapping("/list")
    @SysLogger("list")
    public RespDTO<String> list() {
        return RespDTO.onSuc("OK");
    }
}
