参数格式:String categorylist=1:12,3:11;
String[] feedbackDatas = categorylist.split(",");
for (String data : feedbackDatas) {
String[] ids = data.split(":");
if(ids != null && ids.length == 2 ){
categoryId = Integer.parseInt(ids[0]);
logId = Integer.parseInt(ids[1]);
// 2:修改数据库中该标签的状态
RealtimeTagLogDao.updateTag(logId, categoryId, appNo);// 该地方存在异常
} else {
return AjaxRult.error("参数错误!正确的参数格式为'1:11,2:22'");
}
}