From fe119cf1a14e09a3e1edf2b96b0dead577f50e97 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Fri, 26 Jan 2024 12:03:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=A3=E9=87=91=E5=86=99?= =?UTF-8?q?=E5=85=A5=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/dao/store/consumption/CommissionDao.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/common/dao/store/consumption/CommissionDao.php b/app/common/dao/store/consumption/CommissionDao.php index afba4b43..aa2bea0f 100755 --- a/app/common/dao/store/consumption/CommissionDao.php +++ b/app/common/dao/store/consumption/CommissionDao.php @@ -142,11 +142,11 @@ class CommissionDao $timestamp = time(); $json = ['timestamp' => $timestamp, 'data' => ['order_id' => $order['order_id'], 'order_sn' => $order['order_sn'], 'order_money' => bcmul($order['pay_price'], 100), 'promotion_code' => $promotionCode]]; if ($type == 3) { - $json['street_code'] = $promotionCode; + $json['data']['street_code'] = $promotionCode; } elseif ($type == 4) { - $json['courier_phone'] = $promotionCode; + $json['data']['courier_phone'] = $promotionCode; } else { - $json['promotion_code'] = $promotionCode; + $json['data']['promotion_code'] = $promotionCode; } $aes = new \AES(); $iv = $aes->buildIv($timestamp);