|
|
@@ -90,16 +90,7 @@ public class MallCooUserInfoServiceImpl implements MallCooUserInfoService { |
|
|
info.setUserName(basicInfo.getName()); |
|
|
info.setUserName(basicInfo.getName()); |
|
|
info.setBirthday(basicInfo.getBirthdate()); |
|
|
info.setBirthday(basicInfo.getBirthdate()); |
|
|
info.setGender(basicInfo.getSex()); |
|
|
info.setGender(basicInfo.getSex()); |
|
|
|
|
|
|
|
|
if(StringUtils.isNotBlank(basicInfo.getAddress())){ |
|
|
|
|
|
try{ |
|
|
|
|
|
JSONObject addressObject = JSONObject.parseObject(basicInfo.getAddress()); |
|
|
|
|
|
String address = addressObject.getString("address") + addressObject.getString("name"); |
|
|
|
|
|
mallCooUserInfo.setAddress(address); |
|
|
|
|
|
}catch(Exception e){ |
|
|
|
|
|
info.setAddress(basicInfo.getAddress()); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
info.setAddress(basicInfo.getAddressStr()); |
|
|
|
|
|
|
|
|
if(info.canToRequest()){ |
|
|
if(info.canToRequest()){ |
|
|
boolean flag = MallcooHelper.updateByMobile(config, basicInfo.getPhone(), info); |
|
|
boolean flag = MallcooHelper.updateByMobile(config, basicInfo.getPhone(), info); |
|
|
|