mingyoung / dingtalk

[已停止维护]
MIT License
561 stars 117 forks source link

laravel8.0 getUserByCode 不能用,报错 #95

Open goofy-he opened 3 years ago

goofy-he commented 3 years ago

laravel8.0 getUserByCode 不能用,报错 无效码 laravel7 正常

mingyoung commented 3 years ago

报错信息提供下

zm-john commented 3 years ago

@mingyoung

zm-john commented 3 years ago

是 guzzle/http 从 6. 升级到 7. 导致的 bug

可以这样解决,

  1. 将 guzzle/http 降到 6.*
    composer require "guzzlehttp/guzzle:^6.3"
  2. 重新安装, 按顺序来,不然会报依赖 overtrue/http 版本的错误
    composer remove mingyoung/dingtalk
    composer require "mingyoung/dingtalk: ^2.0"