接口21313212312312312312312312312312312312312312312312312312312312312312
This commit is contained in:
parent
829111209f
commit
74df52c3aa
@ -597,15 +597,27 @@ public class UrlAndCateController {
|
|||||||
{
|
{
|
||||||
result.put("code", 200);
|
result.put("code", 200);
|
||||||
result.put("msg", "处理成功");
|
result.put("msg", "处理成功");
|
||||||
result.put("data", result);
|
|
||||||
}else{
|
}else{
|
||||||
result.put("code", 500);
|
result.put("code", 500);
|
||||||
result.put("msg", "处理失败");
|
result.put("msg", "处理失败");
|
||||||
result.put("data", result);
|
|
||||||
}
|
}
|
||||||
return JSONObject.toJSONString(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);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user