Merge remote-tracking branch 'origin/2.0-dev' into 2.0-dev

# Conflicts:
#	hai-service/src/main/java/com/hai/openApi/service/impl/ApiOrderServiceImpl.java
master
袁野 10 months ago
commit 7ed69e6279
  1. 4
      hai-service/src/main/java/com/hai/openApi/service/impl/ApiOrderServiceImpl.java

@ -58,16 +58,12 @@ public class ApiOrderServiceImpl implements ApiOrderService {
@Override @Override
@Transactional(rollbackFor=Exception.class,propagation= Propagation.REQUIRES_NEW)
public ApiOrder createOrder(JSONObject object) throws Exception { public ApiOrder createOrder(JSONObject object) throws Exception {
ApiOrder apiOrder = new ApiOrder(); ApiOrder apiOrder = new ApiOrder();
// 获取下单内容 // 获取下单内容
JSONObject dataObject = JSONObject.parseObject(object.getString("content")); JSONObject dataObject = JSONObject.parseObject(object.getString("content"));
CreateOrderModel createOrderModel = new CreateOrderModel(); CreateOrderModel createOrderModel = new CreateOrderModel();
createOrderModel.setChildOrderList(new ArrayList<>()); createOrderModel.setChildOrderList(new ArrayList<>());

Loading…
Cancel
Save