|
|
@@ -294,7 +294,7 @@ class OrderController extends BaseController
|
|
|
if ($sendType == dict::getDict('sendType', 'thirdSend')) {
|
|
|
$lat = $post['lat'] ?? '';
|
|
|
$lng = $post['long'] ?? '';
|
|
|
- if ((empty($lat) || empty($lng)) && dict::getDict('hasMap')==1) { // 当 hasMap 为1时,经纬数据是必要的
|
|
|
+ if ((empty($lat) || empty($lng)) && dict::getDict('hasMap') == 1) { // 当 hasMap 为1时,经纬数据是必要的
|
|
|
util::fail('缺少经纬数据');
|
|
|
}
|
|
|
$address = $post['address'] ?? '';
|
|
|
@@ -584,7 +584,8 @@ class OrderController extends BaseController
|
|
|
}
|
|
|
$ptItemId = $gatheringItemInfo->itemId ?? 0;
|
|
|
$classId = $gatheringItemInfo->classId ?? 0;
|
|
|
-
|
|
|
+ //收款码是否算收入由ext gatherRepeat决定
|
|
|
+ $post['repeat'] = $ext->gatherRepeat ?? 0;
|
|
|
$customId = $this->customId;
|
|
|
$custom = $this->custom;
|
|
|
$hdId = $this->hdId;
|
|
|
@@ -654,7 +655,7 @@ class OrderController extends BaseController
|
|
|
'unitType' => 0,
|
|
|
'property' => 1,
|
|
|
'unitPrice' => $actPrice,
|
|
|
- 'itemId' => $classId,
|
|
|
+ 'itemId' => $ptItemId,
|
|
|
'classId' => $classId
|
|
|
]];
|
|
|
$post['product'] = $product;
|