Class FaqRestControllerVisitor

java.lang.Object
com.bytedesk.kbase.faq.FaqRestControllerVisitor

@RestController @RequestMapping("/visitor/api/v1/faq") public class FaqRestControllerVisitor extends Object
  • Field Details

  • Constructor Details

    • FaqRestControllerVisitor

      public FaqRestControllerVisitor()
  • Method Details

    • search

      @GetMapping("/search") public org.springframework.http.ResponseEntity<?> search(FaqRequest request)
    • change

      @GetMapping("/change") public org.springframework.http.ResponseEntity<?> change(FaqRequest request)
    • queryByUid

      @GetMapping("/query/uid") public org.springframework.http.ResponseEntity<?> queryByUid(FaqRequest request)
    • rateUp

      @PostMapping("/rate/up") public org.springframework.http.ResponseEntity<?> rateUp(@RequestBody FaqRequest request)
    • rateDown

      @PostMapping("/rate/down") public org.springframework.http.ResponseEntity<?> rateDown(@RequestBody FaqRequest request)
    • rateMessageHelpful

      @PostMapping("/rate/message/helpful") public org.springframework.http.ResponseEntity<?> rateMessageHelpful(@RequestBody FaqRequest request)
    • rateMessageNotHelpful

      @PostMapping("/rate/message/unhelpful") public org.springframework.http.ResponseEntity<?> rateMessageNotHelpful(@RequestBody FaqRequest request)
    • comment

      @PostMapping("/comment") public org.springframework.http.ResponseEntity<?> comment(@RequestBody FaqRequest request)