This commit is contained in:
cyk 2023-12-26 21:54:07 +08:00
parent 86ddcd59c3
commit 88bd3352d5

View File

@ -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);
}
} }