上传文件

Note表是否要有Attachs信息呢? 还是只要一个attachNum ?
This commit is contained in:
life
2015-01-30 00:04:22 +08:00
parent ed37b1178c
commit 4a78441cad
4 changed files with 77 additions and 5 deletions

10
test.js
View File

@@ -20,9 +20,17 @@ Api.addNotebook({
User.userId = '54bdc65599c37b0da9000002';
// console.log(User.getCurActiveUserId());
Note.getDirtyNotes(function(ret) {
Api.updateNote(ret[2], function(ret2){
console.log(ret2);
});
// console.log(ret[2]);
/*
Api.addNote(ret[0], function(ret2){
console.log(ret2);
})
});
*/
});
/*
Note.getNoteByServerNoteId("54c6313799c37bdeec000008", function(ret){