package com.pingpang.test;

/*
 * import org.apache.dubbo.config.annotation.DubboReference; import
 * org.springframework.http.ResponseEntity; import
 * org.springframework.web.bind.annotation.GetMapping; import
 * org.springframework.web.bind.annotation.RequestMapping; import
 * org.springframework.web.bind.annotation.RequestParam; import
 * org.springframework.web.bind.annotation.ResponseBody; import
 * org.springframework.web.bind.annotation.RestController;
 * 
 * import com.pingpang.test.service.TestHelloService;
 * 
 * @RestController
 * 
 * @RequestMapping("/demo/say") public class TestController {
 * 
 * @DubboReference private TestHelloService testHelloService;
 * 
 * @GetMapping("/sayHello")
 * 
 * @ResponseBody public ResponseEntity<String> sayHello(@RequestParam("name")
 * String name) { return
 * ResponseEntity.ok(testHelloService.sayHelloByName(name)); } }
 */
