php 的 curl 请求,记得加 try
try {
$code = "";
} catch (\Throwable $e) {
report($e);
return [];
}