Authored by mlge

种草--用户身份认证管理修改 && 马甲增粉点赞修改

... ... @@ -828,7 +828,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService{
grassArticleTopic.setCreateTime(time);
grassArticleTopicDao.insertArticleTopic(grassArticleTopic);
if(type == 2){ //2 编辑后直接发布
//后期增加(清缓存)
//后期增加(清理话题缓存)
GrassCacheReq cacheReq = new GrassCacheReq();
cacheReq.setClearCode(1005);
cacheReq.setTopicId(topicId);
... ...
... ... @@ -261,9 +261,9 @@ public class GrassUserVirtualImpl implements IGrassVirtualService{
private void sendMessage(List<GrassInBoxAddReq> reqList) {
//(调sns接口,批量发送站内信)
try{
String url = apiUrl + "?method=app.grass.addBatchInBoxNew";
String url = apiUrl + "?/grass/addBatchInBoxNew";
logger.info("before addBatchInBoxNew, url is: {}, req is {}", url, reqList);
serviceCaller.post("app.clearGrassCache", url, reqList, String.class, null);
serviceCaller.post("gateway.addBatchInBoxNew", url, reqList, String.class, null);
}catch (Exception e){
logger.info("failed refreshGrassCache, req is {}, error is {}", reqList , e);
}
... ...
... ... @@ -269,7 +269,7 @@
var str = "";
str += "<a role='edit' dataId='" + rowData.id + "' style='margin-left:10px;background-color: #31b0d5' index='" + rowIndex + "'>编辑</a>";
str += "<a role='close' style='margin-left:10px;background-color: #ffa951' dataId='"+ rowData.id +"' index='"+ rowIndex +"'>踢除</a>";
if(rowData.groupId == 1){//是普通马甲,才提供启用、停用功能(在马甲增粉、点赞时该字段起作用)
if(rowData.groupId == 1 || rowData.groupId == 4 || rowData.groupId == 6 ){//是普通马甲,普通马甲 社区大号 外部刷评论马甲 才提供启用、停用功能(在马甲增粉、点赞时该字段起作用)
if(rowData.status == 1){
str += "<a role='changeStatus' style='margin-left:10px;background-color: #5374ff' changedStatus='0' dataId='" + rowData.id + "' index='" + rowIndex + "'>停用</a>";
}else{
... ...