Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是不支持php 8.0吗? #14

Open
freehzw opened this issue Jul 21, 2021 · 0 comments
Open

是不支持php 8.0吗? #14

freehzw opened this issue Jul 21, 2021 · 0 comments

Comments

@freehzw
Copy link

freehzw commented Jul 21, 2021

php 8下,报错,

  Required parameter $method follows optional parameter $gzip

  at D:\phpstudy_pro\WWW\dcat-admin.local\vendor\getuilaboratory\getui-pushapi-php-client-v2\utils\GTHttpManager.php:82
     78▕         $result = GTHttpManager::exeBySetTimes(GTConfig::getHttpTryCount(), $curl);
     79▕         return $result;
     80▕     }
     81▕
  ➜  82▕     public static function httpRequest($url, $params,$headers, $gzip = false, $method)
     83▕     {
     84▕         $data = json_encode($params);
     85▕         $result = null;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant