之前下载的图片可能是错的 (服务器忙), 现在重新下载!

This commit is contained in:
life
2016-04-16 16:57:26 +08:00
parent 30394e4149
commit 72059d8fb3
6 changed files with 52 additions and 19 deletions

6
node_modules/file.js generated vendored
View File

@@ -532,7 +532,7 @@ var File = {
} else {
// 远程取不到图片, 是没有网络? 还是远程真的没有了
// TODO
// console.log("cann't get server's image" + fileId);
console.log("cann't get server's image" + fileId);
callback(false);
// return me.e404(res);
}
@@ -547,8 +547,8 @@ var File = {
// console.log(fs.exists(fileLocalPath));
if(has && fileLocalPath) {
fs.exists(fileLocalPath, function(exists) {
if(exists) {
// console.log('本地存在');
if(exists) {
// console.log('本地存在 ' + fileId);
callback(fileLocalPath);
// me.retImage(fileLocalPath, res);
} else {