Authored by liangyi.chen@yoho.cn

增加用户验证

... ... @@ -195,7 +195,7 @@
$("#draftBotton").hide();
$("#timerBotton").hide();
$("#operateType").val(1);
subottonUrl = serverContextPath+"/grassArticle/editArticle";
subottonUrl = serverContextPath+"/grassArticle/editArticle.do";
}
$("#content").emojioneArea({
... ...
... ... @@ -480,7 +480,7 @@
onClick: function () {
var url = serverContextPath+"/grassArticle/publishArticle";
if (data && data.editFlag == 1) {
url = serverContextPath+"/grassArticle/editArticle";
url = serverContextPath+"/grassArticle/editArticle.do";
}
if(data && data.draftEditFlag == 1){
url = serverContextPath+"/grassArticle/updateArticleDraft";
... ...
... ... @@ -324,7 +324,7 @@
alert("请填写回复内容!");
return ;
}
$.get(serverContextPath + "/grassArticleComment/addGrassArticleComment?destId=" + articleId + "&addType=" + 0 + "&uid=" + replyUid + "&content=" + content, function (data) {
$.get(serverContextPath + "/grassArticleComment/addGrassArticleComment.do?destId=" + articleId + "&addType=" + 0 + "&uid=" + replyUid + "&content=" + content, function (data) {
if (data.code != 200) {
$.messager.alert("失败", data.message, "error");
} else {
... ...
... ... @@ -257,7 +257,7 @@
alert("请填写回复内容!");
return ;
}
$.get(serverContextPath + "/grassArticleComment/addGrassArticleComment?destId=" + articleId + "&addType=" + 0 + "&uid=" + replyUid + "&content=" + content, function (data) {
$.get(serverContextPath + "/grassArticleComment/addGrassArticleComment.do?destId=" + articleId + "&addType=" + 0 + "&uid=" + replyUid + "&content=" + content, function (data) {
if (data.code != 200) {
$.messager.alert("失败", data.message, "error");
} else {
... ...
... ... @@ -313,7 +313,7 @@
alert("请填写回复内容!");
return ;
}
$.get(serverContextPath + "/grassArticleComment/addGrassArticleComment?destId=" + articleId +
$.get(serverContextPath + "/grassArticleComment/addGrassArticleComment.do?destId=" + articleId +
"&addType=" + 1 + "&uid=" + replyUid + "&content=" + content + "&commentId=" + commentId, function (data) {
if (data.code != 200) {
$.messager.alert("失败", data.message, "error");
... ...
... ... @@ -202,7 +202,7 @@
}
$("#operateType").val(1);
subottonUrl = serverContextPath+"/grassArticle/editArticle";
subottonUrl = serverContextPath+"/grassArticle/editArticle.do";
}
UE.delEditor("content");
... ...
... ... @@ -229,7 +229,7 @@
status : data.status
};
$.post(serverContextPath + "/grassUserManage/changeGrassUserStatus", param,function (data) {
$.post(serverContextPath + "/grassUserManage/changeGrassUserStatus.do", param,function (data) {
//数据填到框框里面
// debugger
if(data.code ==200){
... ...