...
|
...
|
@@ -582,11 +582,16 @@ class Course extends Api |
|
|
],
|
|
|
];
|
|
|
|
|
|
echo '微信请求:'.json_encode($data);
|
|
|
|
|
|
try {
|
|
|
echo '进入try:';
|
|
|
$return = $template->send($data);
|
|
|
echo json_encode($return);exit;
|
|
|
} catch (InvalidResponseException $e) {
|
|
|
echo '抛出1:'.json_encode($e->getMessage());exit;
|
|
|
} catch (LocalCacheException $e) {
|
|
|
echo '抛出2:'.json_encode($e->getMessage());exit;
|
|
|
}
|
|
|
|
|
|
}
|
...
|
...
|
|