提交 d483d4df 编写于 作者: minghao.wu's avatar minghao.wu

feature: 获取我的赞 允许roundid为空

上级 d12203cb
...@@ -628,7 +628,7 @@ public class AnalysisController { ...@@ -628,7 +628,7 @@ public class AnalysisController {
} }
@ApiOperation(value = "我的赞", response = PicaResponse.class) @ApiOperation(value = "我的赞", response = PicaResponse.class)
@RequestMapping(value = "/myStar/{roundId}", method = RequestMethod.GET, produces = "application/json;charset=UTF-8") @RequestMapping(value = {"/myStar/{roundId}","/myStar/"}, method = RequestMethod.GET, produces = "application/json;charset=UTF-8")
public PicaResponse<MyStarDto> myStar( @PathVariable(value = "roundId", required = false) Integer roundId, public PicaResponse<MyStarDto> myStar( @PathVariable(value = "roundId", required = false) Integer roundId,
@RequestHeader(required = false) String token) { @RequestHeader(required = false) String token) {
if (token == null) { if (token == null) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册