修改bug

master
ljl 1 year ago
parent b2e63547e4
commit 50207a7299

@ -90,9 +90,9 @@ class YjlyClient
protected function sign($name, $params) protected function sign($name, $params)
{ {
$apiBizFieldMap = [ $apiBizFieldMap = [
'mail' => 'mailData', 'send-mail' => 'mailData',
'prop' => 'propData', 'send-props' => 'propData',
'pay' => 'moneyFen', 'send-gold' => 'moneyFen',
]; ];
$signFields = ['appId', 'serverId', 'roleId', 'userId', $apiBizFieldMap[$name], 'orderNum', 'time']; $signFields = ['appId', 'serverId', 'roleId', 'userId', $apiBizFieldMap[$name], 'orderNum', 'time'];
$signArray = []; $signArray = [];

Loading…
Cancel
Save