提交 54e7973f 编写于 作者: doc_wei's avatar doc_wei

桌面信息接口修改

上级 4fdf9d5e
......@@ -138,7 +138,7 @@ var AjaxPostUtil = {
xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xmlhttp.send(formateParams);
} else if("DELETE" === method.toUpperCase()){
// 如果是POST提交,设置请求头信息
// 如果是DELETE提交,设置请求头信息
xmlhttp.setRequestHeader("Content-Type", "application/json");
xmlhttp.send(formateParams);
}
......
......@@ -79,7 +79,7 @@ layui.config({
json.bean.winLockBgPicUrl = fileBasePath + json.bean.winLockBgPicUrl;
}
//获取桌面消息
AjaxPostUtil.request({url:reqBasePath + "login009", params: {language: languageType}, type:'json', callback:function(l){
AjaxPostUtil.request({url:reqBasePath + "login009", params: {language: languageType}, type:'json', method: "GET", callback:function(l){
if(l.returnCode == 0) {
var deskTopName = new Array();
var defaultName = (languageType == "zh" ? "默认桌面" : "Default desktop");
......
......@@ -52,7 +52,7 @@ layui.config({
//加载菜单数据
function loadMenuListToShow(){
//获取桌面消息
AjaxPostUtil.request({url:reqBasePath + "login009", params: {language: languageType}, type:'json', callback:function(l){
AjaxPostUtil.request({url:reqBasePath + "login009", params: {language: languageType}, type:'json', method: "GET", callback:function(l){
if(l.returnCode == 0) {
var str = "";//顶部桌面字符串
var menuBoxStr = "";//多个菜单的字符串
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册