zm
2021-04-09 93652ca875fc904a25a7f214adc548745573950a
兑换订单的商家备注中增加卡号和密码信息
2 files modified
7 ■■■■ changed files
forms/api/order/OrderSubmitJob.php 4 ●●● patch | view | raw | blame | history
plugins/exchange/forms/exchange/basic/Goods.php 3 ●●●● patch | view | raw | blame | history
forms/api/order/OrderSubmitJob.php
@@ -139,7 +139,9 @@
                $order->remark = $mchItem['remark'];
                // 发卡平台名称,填写到订单的商家备注中
                $order->seller_remark = isset($mchItem['seller_remark'])?$mchItem['seller_remark']:'';
                $sremark = $mchItem['seller_remark'].' 卡号:'.$mchItem['form_data']['card_no'].' 密码:'.$mchItem['form_data']['code'];
                $order->seller_remark = $sremark;
                //\Yii::error('seller_remark:::::::::'.json_encode($mchItem));
                //\Yii::error('form_data==card_platform:::::::::'.json_encode($data));
                
plugins/exchange/forms/exchange/basic/Goods.php
@@ -90,7 +90,8 @@
        $order->use_integral_num = 0;
        $order->integral_deduction_price = 0;
        $order->remark = '';
        $order->seller_remark = $this->extra_info['card_platform'] ?? '';
        $sremark = $this->extra_info['card_platform'].' 卡号:'.$this->codeModel->card_no.' 密码:'.$this->codeModel->code;
        $order->seller_remark = $sremark;
        $order->order_form = \Yii::$app->serializer->encode([]);
        $order->words = '';