/**
* 获取老师最初来到教室工夫
* @param $courseId
*/
public function getTeacherLastEndTime($courseId)
{$rst = $response->getBody()->getContents();
$replayRes = json_decode($rst, true);
Log::info("get teacher last end time | return info" . $rst . "| course id is {$courseId}");
if (! $replayRes || ! isset($replayRes['error_code']) || $replayRes['error_code'] != Code::SUCCESS) {Log::error('getTeacherLastEndTime Fail', ['trace_id']);
}
return $replayRes;
}