更新
This commit is contained in:
parent
86ddcd59c3
commit
88bd3352d5
@ -675,5 +675,19 @@ public class UrlAndCateController {
|
|||||||
return JSONObject.toJSONString(result);
|
return JSONObject.toJSONString(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@RequestMapping("/updateUrlCate")
|
||||||
|
public String updateUrlCate(UrlCateList urlCateList)
|
||||||
|
{
|
||||||
|
int flag = urlCateListService.updateByUrlCateList(urlCateList);
|
||||||
|
HashMap<String, Object> result = new HashMap<>();
|
||||||
|
if(flag == 1)
|
||||||
|
{
|
||||||
|
result.put("code", 200);
|
||||||
|
result.put("msg", "处理成功");
|
||||||
|
}else{
|
||||||
|
result.put("code", 500);
|
||||||
|
result.put("msg", "处理失败");
|
||||||
|
}
|
||||||
|
return JSONObject.toJSONString(result);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user