var loadList = function(){ cicada.ax.postJSON(CONSTANT_ENV.local+"/helpDoc/getDefaultHelpDocInfo",{ "style": "", "data": { "token": token, "clientType" : window.isIOS, "limitCount":9 }, "clientInfo": {} },function (res) { if(res.rtnCode == "0000000"){ var html = template('helpListTmp', {list: res.bizData}); document.getElementById('helpList').innerHTML = html; console.log("data"); } else{ alert(res.msg); } }); }
var loadListByCateLog = function(){ cicada.ax.postJSON(CONSTANT_ENV.local+"/helpDoc/getHelpDocInfoByCatalog",{ "style": "", "data": { "token": "4e10b388-d2a0-4e59-baf0-3b503425e032" }, "clientInfo": {} },function (res) { if(res.rtnCode == "0000000"){ var html = template('helpListTmp', {list: res.bizData}); document.getElementById('helpList').innerHTML = html; console.log("data"); } else{ alert(res.msg); } }); }