try { } catch (Exception $e) { $extra = [ 'code' => $e->getCode(), 'msg' => $e->getMessage(), 'line' => $e->getLine(), 'file' => $e->getFile() ]; return $this->apiError('接口请求失败', '', $extra); }
try { } catch (Exception $e) { $extra = [ 'code' => $e->getCode(), 'msg' => $e->getMessage(), 'line' => $e->getLine(), 'file' => $e->getFile() ]; return $this->apiError('接口请求失败', '', $extra); }