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