package com.goafanti.weChat.controller; import com.goafanti.common.controller.CertifyApiController; import com.goafanti.weChat.service.ConversationContentService; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; @RestController @RequestMapping(value = "/api/admin/release") public class ConversationContentController extends CertifyApiController { @Resource private ConversationContentService conversationContentService; /** * 获取会话内容 * @return */ @GetMapping(value = "/getChatData") public String getChatData() { return conversationContentService.getChatData(); } }