Authored by caoyan

订单管理

... ... @@ -580,14 +580,14 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService {
String url = "http://" + uicServerIpAndPort + UIC_GETUSERPROFILE_URL;
JSONObject jsonObject;
try {
jsonObject = serviceCaller.post("uic.getProfileAction", url, request, JSONObject.class, null).get(1);
jsonObject = serviceCaller.post("uic.getUserProfileAction", url, request, JSONObject.class, null).get(1);
} catch (Exception e) {
LOGGER.error("call"+ url + " fail!!! uid is {}", uid);
return "";
}
if(null != jsonObject.getJSONObject("data") && null != jsonObject.getJSONObject("data").getInteger("profile_name")) {
return jsonObject.getJSONObject("data").getString("profile_name");
if(null != jsonObject) {
return jsonObject.getString("profile_name");
}
return "";
... ...