|
|
@ -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 = [];
|
|
|
|