package com.younike.web.controller.common;

import com.younike.common.core.domain.AjaxResult;
import lombok.extern.log4j.Log4j2;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chenpengfei
 */
@RestController
@RequestMapping("demo")
@Log4j2
public class DemoController {

    @GetMapping("")
    public AjaxResult test(){
        return AjaxResult.success();
    }

}
