| xqd
@@ -599,8 +599,14 @@ if (!function_exists('send_wechat_message')) {
|
|
|
trace(['发送微信订阅消息失败,请求参数' => $data ?? '', '返回数据' => $ret ?? ''], 'error');
|
|
|
}
|
|
|
}
|
|
|
+ else {
|
|
|
+ trace(['发送微信订阅消息的数据错误' => ['json' => $json, 'official_arr' => $subscribe_arr]], 'error');
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
+ else {
|
|
|
+ trace(['发送微信模板的数据错误' => ['json' => $json, 'official_arr' => $official_arr]], 'error');
|
|
|
+ }
|
|
|
} catch (Exception $e) {
|
|
|
trace(['发送微信消息失败' => $e->getMessage(), '请求参数' => $data ?? '', '返回数据' => $ret ?? ''], 'error');
|
|
|
}
|