Skip to content

Commit

Permalink
优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
yansongda committed Jan 6, 2018
1 parent 66468bf commit a4b8679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gateways/Alipay/Support.php
Expand Up @@ -184,7 +184,7 @@ public static function getSignContent(array $data, $verify = false): string
*
* @return array
*/
public static function encoding($data, $to = 'utf-8', $from = null): array
public static function encoding($data, $to = 'utf-8', $from = 'gb2312'): array
{
return Arr::encoding((array) $data, $to, $from);
}
Expand Down

0 comments on commit a4b8679

Please sign in to comment.