提交 0c3af922 编写于 作者: 李光春's avatar 李光春

- 优化报错,支持微信通知

上级 810cf5a7
......@@ -73,7 +73,7 @@ class ThinkException extends Handle
}
if (!empty($nt) && $nt == 'wechat') {
$openid = config('dtapp.exception.wechat.openid', '');
if (!empty($access_token)) return HttpService::instance()
if (!empty($openid)) return HttpService::instance()
->url("https://api.dtapp.net/v1/wechatmp/tmplmsgWebError/openid/{$openid}")
->post()
->data([
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册