refactor(cloudfunc) add format

This commit is contained in:
coderaiser 2013-09-23 09:54:11 +00:00
parent cf0059fa2e
commit aa0d7ffa26
4 changed files with 19 additions and 16 deletions

View file

@ -382,7 +382,8 @@
}
function sendMsg(pParams, pMsg, pName) {
main.sendResponse(pParams, pMsg + ': ok("' + pName + '")');
var msg = CloudFunc.formatMsg(pMsg, pName);
main.sendResponse(pParams, msg);
}
})();