bug fix
This commit is contained in:
parent
9011edad3f
commit
b21c0c605f
|
@ -9,6 +9,11 @@ use Illuminate\Support\Str;
|
|||
class InternalApi
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
app()->configure('internal_api');
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle an incoming request.
|
||||
*
|
||||
|
@ -54,8 +59,7 @@ class InternalApi
|
|||
|
||||
protected function sign($params)
|
||||
{
|
||||
$app = $params['appid'];
|
||||
$key = config('internal_api.server.' . $app);
|
||||
$key = config('internal_api.server.' . $params['appid']);
|
||||
unset($params['sign']);
|
||||
ksort($params);
|
||||
$str = http_build_query($params, null, '&');
|
||||
|
|
Loading…
Reference in New Issue
Block a user