// Path: java/dubbo-demo/dubbo-interface/src/main/java/com/dubbo/demo_interface/api/IUserService.java
// public interface IUserService {
// 
//     String select() throws Exception;
//     String select(String id) throws Exception;
//     String select(String[] ids) throws Exception;
// 
// }


import com.dubbo.demo_interface.api.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import javax.servlet.http.HttpServletRequest;

package com.dubbo.consumer;



/**
 * Created by anyang on 2018/6/25.
 */
@Controller
public class UserController {

    @Autowired

// Path: java/dubbo-demo/dubbo-interface/src/main/java/com/dubbo/demo_interface/api/IUserService.java
// public interface IUserService {
// 
//     String select() throws Exception;
//     String select(String id) throws Exception;
//     String select(String[] ids) throws Exception;
// 
// }


// Path: java/dubbo-demo/dubbo-consumer/src/main/java/com/dubbo/consumer/UserController.java
import com.dubbo.demo_interface.api.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import javax.servlet.http.HttpServletRequest;

package com.dubbo.consumer;



/**
 * Created by anyang on 2018/6/25.
 */
@Controller
public class UserController {

    @Autowired

    private IUserService userService;
