在./config/setting_user.php中配置参数,使上传下载都走服务器端(也就是实现走内网)

$config['settings']['ioFileOutServer'] = true;
$config['settings']['ioUploadServer'] = true;