代码拉取完成,页面将自动刷新
// application/attachment/controller/Attachments.php
/**
* html代码远程图片本地化
* @chancelai string $content html代码
* @chancelai string $type 文件类型
*/
public function getUrlFile(){
// ...
// 小写化即可
$fileExt = strtolower(strrchr($vo, '.'));
// ...
}