...
|
...
|
@@ -924,7 +924,12 @@ |
|
|
var switchStatus = status == 1 ? 0 : 1;
|
|
|
$.post(serverContextPath + "/grassArticle/updateArticle.do?articleId=" + id + "&isTop=" + switchStatus+ "&operateType=0", function (data) {
|
|
|
if(data.code != 200){
|
|
|
if(data.code == 502){
|
|
|
alert("同一渠道下最多只能置顶5篇内容");
|
|
|
}else {
|
|
|
alert(data.message);
|
|
|
}
|
|
|
|
|
|
}else{
|
|
|
$("#activityListTable").datagrid("reload");
|
|
|
}
|
...
|
...
|
|