图片同步

未解决: 从本地获取
This commit is contained in:
life
2015-01-23 20:43:21 +08:00
parent f6cc411735
commit 245bbb0236
13 changed files with 306 additions and 71 deletions

17
public/js/app/launch.js Normal file
View File

@@ -0,0 +1,17 @@
/**
* 入口, 转发
*/
// 服务器开启
ServerService.start();
// 判断是否登录
UserService.init(function(userInfo) {
if(userInfo) {
UserInfo = userInfo;
location.href = 'note.html';
} else {
alert(2);
location.href = 'login.html';
}
});