|
|
@@ -124,7 +124,7 @@ class OrderClass extends BaseClass
|
|
|
$currentPrice = bcadd($price, $sendCost, 2);
|
|
|
$data['prePrice'] = $currentPrice;
|
|
|
//默认生成订单时需要打单
|
|
|
- $data['needPrint'] = isset($data['needPrint']) ?? dict::getDict('needPrint', 'need');
|
|
|
+ $data['needPrint'] = $data['needPrint'] ?? dict::getDict('needPrint', 'need');
|
|
|
if (isset($data['modifyPrice'])) {
|
|
|
//商家打折,修改金额
|
|
|
$modifyPrice = $data['modifyPrice'] ?? 0;
|