From 4829ff0e5b698aabc435c41d4b4091228448e497 Mon Sep 17 00:00:00 2001
From: zm <zm@iemsoft.cn>
Date: Wed, 31 Mar 2021 15:01:51 +0800
Subject: [PATCH] 提货bug修改

---
 plugins/exchange/forms/exchange/core/Create.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/exchange/forms/exchange/core/Create.php b/plugins/exchange/forms/exchange/core/Create.php
index 9bd075b..7c6a64b 100644
--- a/plugins/exchange/forms/exchange/core/Create.php
+++ b/plugins/exchange/forms/exchange/core/Create.php
@@ -45,12 +45,12 @@
         $codeModel->name = $extra_info['name'] ?? '';
         $codeModel->mobile = $extra_info['mobile'] ?? '';
         $codeModel->save();
-        $this->getLog($user, $codeModel->r_origin, $code, $codeModel->library_id);
+        $this->getLog($user, $codeModel->r_origin, $code, $codeModel->library_id,$codeModel->card_no);
     }
 
-    private function getLog($user, $origin, $code, $library_id)
+    private function getLog($user, $origin, $code, $library_id,$card_no)
     {
-        $log = new CreatdCodeLog($user->mall_id, $user->id, $origin, $code, 1, '兑换记录成功', $library_id);
+        $log = new CreatdCodeLog($user->mall_id, $user->id, $origin, $code, 1, '兑换记录成功', $library_id,$card_no);
         $log->save();
     }
 }

--
Gitblit v1.8.0