在Thinkphp中执行服务端报Failed to decode request contents.异常 #2860
Unanswered
beijin1949
asked this question in
Q&A
Replies: 1 comment
-
关闭debug |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
本人代码:
$config = [
'app_id' => env("WX_APP_ID"),
'secret' => env("WX_SECRET"),
'token' => env("WX_TOKEN"),
'aes_key'=> '',
];
$app = new Application($config);
$server = $app->getServer();
#0 [0]BadRequestException in Message.php line 62
Failed to decode request contents.
这个错误
Beta Was this translation helpful? Give feedback.
All reactions