首页>代码>SpringCloud微服务的项目架构搭建及Springboot应用实例>/demo/src/main/java/com/example/controller/ProviderController.java
package com.example.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @Author:qianjc
* 2019/5/20
*/
@RestController
public class ProviderController {
@RequestMapping("/provider/demo")
public String Demo(){
return "ProviderDemo";
}
}

最近下载
最近浏览