|
|
@@ -196,7 +196,7 @@ class DeliveryController extends BaseController
|
|
|
$ret = $ds->createOrder($Order, 'xhOrder', $this->shopId, $params);
|
|
|
|
|
|
if (isset($ret['code']) && $ret['code'] == 0) {
|
|
|
- $gdo = HdDeliveryOrderClass::getByCondition(['mainId' => $this->mainId, 'orderId' => $ret['data']['order_id']]);
|
|
|
+ $gdo = HdDeliveryOrderClass::getByCondition(['mainId' => $this->mainId, 'orderId' => $ret['data']['orderId']]);
|
|
|
if (empty($gdo)) {
|
|
|
$data = [
|
|
|
'mainId' => $this->mainId,
|