From 93652ca875fc904a25a7f214adc548745573950a Mon Sep 17 00:00:00 2001
From: zm <zm@iemsoft.cn>
Date: Fri, 09 Apr 2021 15:02:07 +0800
Subject: [PATCH] 兑换订单的商家备注中增加卡号和密码信息

---
 forms/api/order/OrderSubmitJob.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/forms/api/order/OrderSubmitJob.php b/forms/api/order/OrderSubmitJob.php
index 8291b05..4f9c452 100644
--- a/forms/api/order/OrderSubmitJob.php
+++ b/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));
                 

--
Gitblit v1.8.0