提交 9ec1280e authored 作者: xinjunguo's avatar xinjunguo

--no commit message

上级 df0f3f8b
......@@ -8,6 +8,7 @@ import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -37,7 +38,7 @@ public class FgSearchHistoryController {
@ApiOperation(value = "清空历史记录" , notes = "清空历史记录")
@PostMapping(value = ResourceRequestPath.DELETE + ResourceRequestPath.ALL)
public CallBack<Boolean> deleteMyRecord(FgSearchHistoryForm form) {
public CallBack<Boolean> deleteMyRecord(@RequestBody FgSearchHistoryForm form) {
return CallBack.success(service.deleteMyRecord(form));
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论