ConversationContentController.java 803 B

123456789101112131415161718192021222324252627282930
  1. package com.goafanti.weChat.controller;
  2. import com.goafanti.common.controller.CertifyApiController;
  3. import com.goafanti.weChat.service.ConversationContentService;
  4. import org.springframework.web.bind.annotation.GetMapping;
  5. import org.springframework.web.bind.annotation.RequestMapping;
  6. import org.springframework.web.bind.annotation.RestController;
  7. import javax.annotation.Resource;
  8. @RestController
  9. @RequestMapping(value = "/api/admin/release")
  10. public class ConversationContentController extends CertifyApiController {
  11. @Resource
  12. private ConversationContentService conversationContentService;
  13. /**
  14. * 获取会话内容
  15. * @return
  16. */
  17. @GetMapping(value = "/getChatData")
  18. public String getChatData()
  19. {
  20. return conversationContentService.getChatData();
  21. }
  22. }