fix wechat redpack missing sign

This commit is contained in:
yansongda 2018-01-23 13:23:26 +08:00
parent 2901572d69
commit 1160d0ee42
2 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,8 @@ class GroupRedpackGateway extends Gateway
unset($payload['appid'], $payload['trade_type'], $payload['notify_url'], $payload['spbill_create_ip']);
$payload['sign'] = Support::generateSign($payload, $this->config->get('key'));
Log::debug('Paying A Groupredpack Order:', [$endpoint, $payload]);
return Support::requestApi(

View File

@ -25,6 +25,8 @@ class RedpackGateway extends Gateway
unset($payload['appid'], $payload['trade_type'], $payload['notify_url'], $payload['spbill_create_ip']);
$payload['sign'] = Support::generateSign($payload, $this->config->get('key'));
Log::debug('Paying A Redpack Order:', [$endpoint, $payload]);
return Support::requestApi(