mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
e76fc8a496
commit
14f92cc116
1 changed files with 2 additions and 4 deletions
|
|
@ -15,8 +15,6 @@
|
|||
|
||||
var main = global.cloudcmd.main,
|
||||
Util = main.util,
|
||||
CloudFunc = main.cloudfunc,
|
||||
|
||||
OK = 200,
|
||||
Header = main.generateHeaders({
|
||||
name:'api.json'
|
||||
|
|
@ -84,7 +82,7 @@
|
|||
lCmd = pParams.command,
|
||||
lMethod = pParams.method;
|
||||
|
||||
if( Util.isContainStr(lCmd, CloudFunc.FS) )
|
||||
if( Util.isContainStr(lCmd, 'fs') )
|
||||
lResult = onFS({
|
||||
request : pParams.request,
|
||||
response: pParams.response,
|
||||
|
|
@ -114,7 +112,7 @@
|
|||
function onFS(pParams){
|
||||
var lResult,
|
||||
lMethod = pParams.method,
|
||||
lName = Util.removeStr(pParams.name, CloudFunc.FS);
|
||||
lName = Util.removeStr(pParams.name, 'fs');
|
||||
|
||||
switch(lMethod){
|
||||
case 'GET':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue