add filesystem(file explorer) support, done

This commit is contained in:
hzsunshx
2015-09-22 17:16:46 +08:00
parent b258837757
commit 1dccda5e2a
11 changed files with 174 additions and 74 deletions

View File

@@ -231,6 +231,12 @@ module.exports = function ControlServiceFactory(
})
}
this.fslist = function(dir){
return sendTwoWay('fs.list', {
dir: dir,
})
}
this.checkAccount = function(type, account) {
return sendTwoWay('account.check', {
type: type