...
|
...
|
@@ -11,6 +11,7 @@ import com.yoho.service.model.request.UserAddressReqBO; |
|
|
import com.yoho.service.model.social.response.UserInfoRspBO;
|
|
|
import com.yohobuy.ufo.model.order.vo.AddressInfo;
|
|
|
import com.yohoufo.common.ApiResponse;
|
|
|
import com.yohoufo.common.utils.UserInfoHiddenHelper;
|
|
|
import com.yohoufo.dal.user.model.ZhiMaCert;
|
|
|
import com.yohoufo.order.convert.AddressInfoConvertor;
|
|
|
import com.yohoufo.order.service.IStoredSellerService;
|
...
|
...
|
@@ -61,6 +62,38 @@ public class UserProxyService extends AbsProxyService{ |
|
|
}
|
|
|
|
|
|
/**
|
|
|
* {
|
|
|
* "address":"国家广告产业园5栋",
|
|
|
* "address_id":2394872,
|
|
|
* "area":"江苏省 南京市 建邺区 建邺区新城科技园",
|
|
|
* "areaCode":"320105400",
|
|
|
* "consignee":"陈超",
|
|
|
* "isUpdate":"N",
|
|
|
* "mobile":"18061464565",
|
|
|
* "phone":"null",
|
|
|
* "zipCode":"null"}
|
|
|
* @param noHiddenAddress
|
|
|
* @return
|
|
|
*/
|
|
|
public static AddressInfo getHiddenAddressFromNotHidden(AddressInfo noHiddenAddress){
|
|
|
String address = UserInfoHiddenHelper.getHiddenAddress(noHiddenAddress.getAddress());
|
|
|
String consignee = UserInfoHiddenHelper.getHiddenUserNickName(noHiddenAddress.getConsignee());
|
|
|
String mobile = UserInfoHiddenHelper.hidePhoneNo(noHiddenAddress.getMobile());
|
|
|
//
|
|
|
AddressInfo hiddenAddress = new AddressInfo();
|
|
|
hiddenAddress.setAreaCode(noHiddenAddress.getAreaCode());
|
|
|
hiddenAddress.setArea(noHiddenAddress.getArea());
|
|
|
hiddenAddress.setAddress_id(noHiddenAddress.getAddress_id());
|
|
|
hiddenAddress.setIsUpdate(noHiddenAddress.getIsUpdate());
|
|
|
|
|
|
//hidden
|
|
|
hiddenAddress.setAddress(address);
|
|
|
hiddenAddress.setConsignee(consignee);
|
|
|
hiddenAddress.setMobile(mobile);
|
|
|
return hiddenAddress;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获取用户信息
|
|
|
* 地址不隐藏星号
|
|
|
* @param uid
|
...
|
...
|
|