接口21313212312312312312312312312312312312312312312312312312312312312312

This commit is contained in:
cyk 2023-12-24 17:11:10 +08:00
parent 829111209f
commit 74df52c3aa

View File

@ -597,15 +597,27 @@ public class UrlAndCateController {
{
result.put("code", 200);
result.put("msg", "处理成功");
result.put("data", result);
}else{
result.put("code", 500);
result.put("msg", "处理失败");
result.put("data", result);
}
return JSONObject.toJSONString(result);
}
@RequestMapping("/deleteCateByCateId")
public String deleteCateByCateId(String cateId)
{
int flag = 0;
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);
}
}