69 个回复 | 最后更新于 2018-01-20
回复#41 @keqijun :
Uploader.class.php里
/**
* 获取当前上传成功文件的各项信息
* @return array
*/
public function getFileInfo()
{
return array(
"state" => $this->stateInfo,
//"url" => $this->fullName,
"url" => '//cdn.94cb.com' . $this->fullName,
"title" => $this->fileName,
"original" => $this->oriName,
"type" => $this->fileType,
"size" => $this->fileSize
);
}这样,应该就好了。
登录后方可回帖


粤公网安备 44030602003677号
只要topic.function.js里把img全取出来加cdn域就好了。