修改bug

master
ljl 1 year ago
parent 044c8faa0f
commit 137dbba3aa

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

Loading…
Cancel
Save