Authored by chenchao

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

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