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

v6
Chaim 4 years ago
parent 810cf5a798
commit 0c3af92241

@ -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([

Loading…
Cancel
Save