zm
2021-03-31 f015708b89c8e015a37042e9c513366a9c71cb3b
用户自助提货时,将发卡平台名称填写到商家订单备注中
3 files modified
9 ■■■■ changed files
forms/api/order/OrderSubmitForm.php 1 ●●●● patch | view | raw | blame | history
forms/api/order/OrderSubmitJob.php 6 ●●●●● patch | view | raw | blame | history
plugins/exchange/forms/api/CodeForm.php 2 ●●● patch | view | raw | blame | history
forms/api/order/OrderSubmitForm.php
@@ -468,6 +468,7 @@
            // $mchItem = $this->setOrderForm($mchItem);
            $mchItem = $this->setGoodsForm($mchItem);
            $mchItem['seller_remark'] = isset($mchItem['form_data']['card_platform'])?$mchItem['form_data']['card_platform']:'';
        }
forms/api/order/OrderSubmitJob.php
@@ -137,6 +137,12 @@
                        . $mchItem['address']['detail'];
                }
                $order->remark = $mchItem['remark'];
                // 发卡平台名称,填写到订单的商家备注中
                $order->seller_remark = isset($mchItem['seller_remark'])?$mchItem['seller_remark']:'';
                //\Yii::error('seller_remark:::::::::'.json_encode($mchItem));
                //\Yii::error('form_data==card_platform:::::::::'.json_encode($data));
                $order->order_form = $order->encodeOrderForm($mchItem['order_form_data']);
                $order->distance = isset($mchItem['form_data']['distance']) ? $mchItem['form_data']['distance'] : 0;//同城距离
                $order->words = '';
plugins/exchange/forms/api/CodeForm.php
@@ -101,7 +101,7 @@
                'data' => [
                    'codeModel' => $codeModel,
                    'rewards' => $rewards,
                    'card_platform' => $card_platform
                    'card_platform' => $card_platform['card_platform'],
                ],
            ];
        } catch (\Exception $exception) {