Authored by chenchao

fix import class path com.yoho.tools.common.beans

1 package com.yohoufo.order.service.proxy; 1 package com.yohoufo.order.service.proxy;
2 2
3 -import com.alibaba.fastjson.JSON;  
4 import com.alibaba.fastjson.JSONArray; 3 import com.alibaba.fastjson.JSONArray;
5 import com.alibaba.fastjson.JSONObject; 4 import com.alibaba.fastjson.JSONObject;
6 import com.google.common.base.Throwables; 5 import com.google.common.base.Throwables;
@@ -9,11 +8,10 @@ import com.yoho.core.rest.client.ServiceCaller; @@ -9,11 +8,10 @@ import com.yoho.core.rest.client.ServiceCaller;
9 import com.yoho.error.ServiceError; 8 import com.yoho.error.ServiceError;
10 import com.yoho.error.exception.ServiceException; 9 import com.yoho.error.exception.ServiceException;
11 import com.yoho.service.model.request.UserAddressReqBO; 10 import com.yoho.service.model.request.UserAddressReqBO;
12 -import com.yoho.service.model.social.request.UicUserReqBO;  
13 import com.yoho.service.model.social.response.UserInfoRspBO; 11 import com.yoho.service.model.social.response.UserInfoRspBO;
  12 +import com.yohobuy.ufo.model.order.vo.AddressInfo;
14 import com.yohoufo.common.ApiResponse; 13 import com.yohoufo.common.ApiResponse;
15 import com.yohoufo.order.convert.AddressInfoConvertor; 14 import com.yohoufo.order.convert.AddressInfoConvertor;
16 -import com.yohobuy.ufo.model.order.vo.AddressInfo;  
17 import com.yohoufo.order.service.IStoredSellerService; 15 import com.yohoufo.order.service.IStoredSellerService;
18 import org.apache.commons.collections.CollectionUtils; 16 import org.apache.commons.collections.CollectionUtils;
19 import org.apache.commons.lang3.StringUtils; 17 import org.apache.commons.lang3.StringUtils;
@@ -191,7 +189,7 @@ public class UserProxyService extends AbsProxyService{ @@ -191,7 +189,7 @@ public class UserProxyService extends AbsProxyService{
191 private static final String API_ISREALNAMECERT = "ufo.user.isRealNameCert"; 189 private static final String API_ISREALNAMECERT = "ufo.user.isRealNameCert";
192 190
193 public boolean checkRealNameCert(int uid){ 191 public boolean checkRealNameCert(int uid){
194 - ApiResponse resp; 192 + com.yoho.tools.common.beans.ApiResponse resp;
195 boolean result ; 193 boolean result ;
196 String serviceName = API_ISREALNAMECERT; 194 String serviceName = API_ISREALNAMECERT;
197 try{ 195 try{
  1 +package com.yohoufo.order.service.proxy;
  2 +
  3 +import com.yohoufo.order.BaseWebTest;
  4 +import org.junit.Test;
  5 +import org.springframework.beans.factory.annotation.Autowired;
  6 +
  7 +public class UserProxyServiceTest extends BaseWebTest {
  8 + @Autowired
  9 + private UserProxyService userProxyService;
  10 + @Test
  11 + public void testCheckRealName(){
  12 + int uid = 500028136;
  13 + boolean result = userProxyService.checkRealNameCert(uid);
  14 + }
  15 +}