From 137dbba3aa68f10a53140c37e771bb08031b24f2 Mon Sep 17 00:00:00 2001 From: ljl Date: Thu, 21 Sep 2023 09:58:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Tool/GameResource/YjlyClient.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Base/Tool/GameResource/YjlyClient.class.php b/Application/Base/Tool/GameResource/YjlyClient.class.php index 2bca6f45f..da34dc9b2 100644 --- a/Application/Base/Tool/GameResource/YjlyClient.class.php +++ b/Application/Base/Tool/GameResource/YjlyClient.class.php @@ -99,7 +99,7 @@ class YjlyClient foreach ($signFields as $field) { $data = $params[$field]; if (is_array($data)) { -// $data = json_encode($data); + $data = json_encode($data); } $signArray[] = $data; } @@ -208,7 +208,7 @@ class YjlyClient 'serverId' => $order['server_id'], 'roleId' => $order['role_id'], 'userId' => $order['user_id'], - 'mailData' => [['mailId' => $giftItem['id']]], + 'mailData' => json_encode([['mailId' => $giftItem['id']]]), 'orderNum' => date("YmdHis").$order['id'].$order['user_id'].$giftItem['id'].rand(1000, 9999), 'time' => time(), ]);