|
|
@@ -166,6 +166,7 @@ class MtController extends PublicController
|
|
|
$shopImg[] = $shortUrl;
|
|
|
}
|
|
|
$hasGoods->shopImg = $shopImg;
|
|
|
+ Yii::$app->redis->executeCommand('SET', ['mt_goods_spu_' . $mtGoodsSpu, md5($imgString)]);
|
|
|
}
|
|
|
$hasGoods->name = $goodsName;
|
|
|
$hasGoods->price = $goodsPrice;
|
|
|
@@ -204,6 +205,7 @@ class MtController extends PublicController
|
|
|
$labourCost = $post['package_bag_money_yuan'] ?? 0;
|
|
|
//服务费和手续费
|
|
|
$serviceFee = bcadd($foodShareFeeChargeByPoi, $performanceServiceFee, 2);
|
|
|
+ $thirdSn = $post['day_seq'] ?? 0;
|
|
|
$orderData = [
|
|
|
'product' => $productList,
|
|
|
'fromType' => dict::getDict('fromType', 'mt'),
|
|
|
@@ -214,6 +216,7 @@ class MtController extends PublicController
|
|
|
'sjId' => $sjId,
|
|
|
'modifyPrice' => $modifyPrice,
|
|
|
'serviceFee' => $serviceFee,
|
|
|
+ 'thirdSn' => $thirdSn,
|
|
|
];
|
|
|
$hasPay = dict::getDict('hasPay', 'payed');
|
|
|
OrderService::createFinishOrder($orderData, $custom, $hasPay);
|