package com.esv.freight.file.module.test.controller;

import com.esv.freight.file.common.response.EResponse;
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;

/**
 * @description:
 * @project: freight-file-service
 * @name: com.esv.freight.file.module.test.controller.TestController
 * @author: 黄朝斌
 * @email: huangchaobin@esvtek.com
 * @createTime: 2020/04/07 15:30
 * @version:1.0
 */
@RestController
@RequestMapping("/test")
@Slf4j
public class TestController {

    @RequestMapping("/ping")
    public EResponse ping() {
        return EResponse.ok();
    }

}
