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(), ]);