mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 01:47:35 +00:00
feature(rest) read: log if query
This commit is contained in:
parent
39e52ee701
commit
412c6cea8a
1 changed files with 4 additions and 1 deletions
|
|
@ -37,10 +37,13 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
};
|
||||
|
||||
this.read = function(url, callback) {
|
||||
var isQuery = Util.isContainStr(url, '?');
|
||||
|
||||
sendRequest({
|
||||
method : 'GET',
|
||||
url : CloudFunc.FS + url,
|
||||
callback : callback
|
||||
callback : callback,
|
||||
notLog : !isQuery
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue