用户自助提货时,将发卡平台名称填写到商家订单备注中
| | |
| | | |
| | | // $mchItem = $this->setOrderForm($mchItem); |
| | | $mchItem = $this->setGoodsForm($mchItem); |
| | | $mchItem['seller_remark'] = isset($mchItem['form_data']['card_platform'])?$mchItem['form_data']['card_platform']:''; |
| | | } |
| | | |
| | | |
| | |
| | | . $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 = ''; |
| | |
| | | 'data' => [ |
| | | 'codeModel' => $codeModel, |
| | | 'rewards' => $rewards, |
| | | 'card_platform' => $card_platform |
| | | 'card_platform' => $card_platform['card_platform'], |
| | | ], |
| | | ]; |
| | | } catch (\Exception $exception) { |