公众号报错
ClearSeve opened this issue · comments
打开url或者公众号接入都不对,提示
Failed to decode request contents.
所用到的代码是官方的例子
public function serve()
{
$server = app('easywechat.official_account')->getServer();
$server->with(function($message){
return "欢迎关注 overtrue!";
});
return $server->serve();
}
PHP 8.1
"laravel/framework": "^8.75",
"overtrue/laravel-wechat": "^7.0",
@ClearSeve Have you resolve this problem? I am stuck at this several days...