spring.applicat
package com.feng.cloud.producer; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; @RestController public class HelloController { @RequestMapping("/hello") public String index(@RequestParam String name) { return "hello "+name+",this is first messge"; } }
ion.name=producerserver.port=9000eureka.client.serviceUrl.defaultZone=http://localhost:8000/eureka/
asdfads
最新推荐文章于 2024-04-21 20:23:12 发布