...
|
...
|
@@ -63,8 +63,7 @@ public class OrderPushConsumer implements CommonMessageConsumer { |
|
|
|
|
|
|
|
|
// 将从订单那边传过来的union_data 存进db
|
|
|
JSONObject jsonObject = JSON.parseObject(orderData);
|
|
|
String unionData = jsonObject.getString("union_data");
|
|
|
String unionData = userOrders.getUnionData();
|
|
|
|
|
|
if (org.apache.commons.lang3.StringUtils.isNotBlank(unionData)){
|
|
|
UserOrdersRelation userOrdersRelation = new UserOrdersRelation();
|
...
|
...
|
@@ -81,6 +80,8 @@ public class OrderPushConsumer implements CommonMessageConsumer { |
|
|
JSONObject jsonObject = JSON.parseObject(orderData);
|
|
|
JSONObject unionCookie = JSONObject.parseObject(jsonObject.getString("unionCookie"));
|
|
|
UserOrders userOrders = new UserOrders();
|
|
|
|
|
|
userOrders.setUnionData(unionCookie.getString("union_data"));
|
|
|
//联盟id
|
|
|
userOrders.setUid(jsonObject.getString("clientId"));
|
|
|
|
...
|
...
|
|