package com.example.demo.controller;

import com.netflix.discovery.DiscoveryClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author FXF
 * @date 2018-09-11
 */
@RestController
public class TestController {
    @RequestMapping("/hello")
    @ResponseBody
    public String index(){
        return "ok333";
    }
}
