返回分类标签
This commit is contained in:
parent
25670f56f8
commit
7351b4c19f
@ -504,13 +504,14 @@ public class UrlAndCateController {
|
|||||||
public String returnCateByUserId(String userId)
|
public String returnCateByUserId(String userId)
|
||||||
{
|
{
|
||||||
HashMap<String, Object> result = new HashMap<>();
|
HashMap<String, Object> result = new HashMap<>();
|
||||||
result.put("code", 500);
|
result.put("code", 200);
|
||||||
result.put("msg", "下载失败");
|
result.put("msg", "返回成功");
|
||||||
List<UrlCateList> urlCateLists = urlCateListService.selectUrListByUserId(Integer.valueOf(userId));
|
List<UrlCateList> urlCateLists = urlCateListService.selectUrListByUserId(Integer.valueOf(userId));
|
||||||
result.put("data", urlCateLists);
|
result.put("data", urlCateLists);
|
||||||
return JSONObject.toJSONString(result);
|
return JSONObject.toJSONString(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@RequestMapping("/disposeBookmarkToJsonByUserId")
|
@RequestMapping("/disposeBookmarkToJsonByUserId")
|
||||||
public String disposeBookmarkToJsonByUserId(String userId)
|
public String disposeBookmarkToJsonByUserId(String userId)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user