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

fix: 回复接口

上级 3650cc2c
...@@ -397,7 +397,7 @@ public class AnalysisController { ...@@ -397,7 +397,7 @@ public class AnalysisController {
@ApiOperation(value = "回复", response = PicaResponse.class) @ApiOperation(value = "回复", response = PicaResponse.class)
@RequestMapping(value = "/reply/{examTitleId}", method = RequestMethod.POST, produces = "application/json;charset=UTF-8") @RequestMapping(value = "/reply/{examTitleId}", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
public PicaResponse reply( @PathVariable("examTitleId") Integer examTitleId, public PicaResponse reply( @PathVariable("examTitleId") Integer examTitleId,
@RequestParam String content, @RequestBody String content,
@RequestHeader String token) { @RequestHeader String token) {
if (token == null) { if (token == null) {
return ReturnUtil.getPicaResponse(PicaResultCode.SYSTEM_NO_TOKEN); return ReturnUtil.getPicaResponse(PicaResultCode.SYSTEM_NO_TOKEN);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册