Authored by chaogeng

修改标签请求根路径

... ... @@ -96,7 +96,7 @@
status: $("#rewardstatus1").combobox("getValue"),
type: $("#rewardtype1").combobox("getValue")
},*/
url: contextPath + "/labelGroupManage/getLabelGroupList",
url: serverContextPath + "/labelGroupManage/getLabelGroupList",
method: 'POST',
loadFilter: function (data) {
var tmp = defaultLoadFilter(data);
... ... @@ -168,7 +168,7 @@
index = $(this).attr("index");
$.messager.confirm("确认", "确认删除该分组吗?", function (flag) {
if(flag){
$.post(contextPath + "/labelGroupManage/deleteLabelGroup", {
$.post(serverContextPath + "/labelGroupManage/deleteLabelGroup", {
id : close_id,
}, function(data) {
if (data.code == CODE_SUCCESS) {
... ... @@ -223,7 +223,7 @@
$("#activityAddForm").form("submit", {
url: contextPath + "/labelGroupManage/addUpLabelGroup",
url: serverContextPath + "/labelGroupManage/addUpLabelGroup",
onSubmit: function (param) {
if(data != null){
param.id = data.id;
... ...
//todo 分解成多个接口,或接受参数的方式,实现加载可配置化,而不是笼统的暴力加载方式,太low
var contextPath = "/pfcms";
var h = "/platform";
var serverContextPath = "/platform";
document.write("<meta charset='UTF-8'>");
//首先加载样式,保证样式先显示
... ...