Commit 198af5af authored by 刘基明's avatar 刘基明

HomePageController fix

parent 52f1b37f
......@@ -25,14 +25,14 @@ public class HomePageController {
return CommonResp.success(homePageManager.queryFansByIdolId(userId));
}
@PostMapping(value = "/queryMyFans")
@PostMapping(value = "/queryUserFans")
@ApiOperation("查询他人的粉丝")
@ResponseBody
public CommonResp queryFans(@RequestParam String userId) {
return CommonResp.success(homePageManager.queryFansByIdolId(userId));
}
@PostMapping(value = "/queryMyFans")
@PostMapping(value = "/queryMyIdols")
@ApiOperation("查询自己的关注")
@ResponseBody
public CommonResp queryMyIdols() {
......@@ -41,7 +41,7 @@ public class HomePageController {
}
@PostMapping(value = "/queryUserFans")
@PostMapping(value = "/queryUserIdols")
@ApiOperation("查询他人的关注")
@ResponseBody
public CommonResp queryIdols(@RequestParam String userId) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment