/** * 返回后缀 如.jpg * * * @param string $url * @return string */ function file_ext($url) { return File::ext($url); }