Commit c482a2ab by 徐高华

聊天记录

parent 87d1649e
...@@ -1223,8 +1223,7 @@ public class ChatDataController extends NewBaseController { ...@@ -1223,8 +1223,7 @@ public class ChatDataController extends NewBaseController {
@RequestMapping("user-chat-detail-log") @RequestMapping("user-chat-detail-log")
public RestResponse<List<UserChatDetailLogVO>> userChatDetailLog(@RequestBody UserChatDetailLogQO req) { public RestResponse<List<UserChatDetailLogVO>> userChatDetailLog(@RequestBody UserChatDetailLogQO req) {
Map<String, Object> res = DataApiUtils.http(JSONObject.toJSONString(req), "data_mbr_scale_haoban_qw_chat_detail_log"); Map<String, Object> res = DataApiUtils.http(JSONObject.toJSONString(req), "data_mbr_scale_haoban_qw_chat_detail_log");
Page page = DataApiUtils.getPageData(res); List<JSONObject> list = DataApiUtils.getDataList(res);
List<JSONObject> list = page.getResult();
if (CollectionUtils.isNotEmpty(list)) { if (CollectionUtils.isNotEmpty(list)) {
List<UserChatDetailLogVO> voList = JSONArray.parseArray(JSON.toJSONString(list), UserChatDetailLogVO.class); List<UserChatDetailLogVO> voList = JSONArray.parseArray(JSON.toJSONString(list), UserChatDetailLogVO.class);
return RestResponse.successResult(voList) ; return RestResponse.successResult(voList) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment