Commit 96bf2dd5 authored by clone's avatar clone

聊天记录

parent d7abe62e
...@@ -170,7 +170,7 @@ class AppChat extends Basic ...@@ -170,7 +170,7 @@ class AppChat extends Basic
$msgModel = new ChatMsg(); $msgModel = new ChatMsg();
$history_result = $msgModel->getChatHistory($params, $field, $page_no, $page_size); $history_result = $msgModel->getChatHistory($params, $field, $page_no, $page_size);
if ($history_result) { if ($history_result) {
return $this->response("200", "request success", $history_result); return $this->response("200", "request success", array_reverse($history_result));
} }
} }
......
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
# http://curl.haxx.se/docs/http-cookies.html # http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk. # This file was generated by libcurl! Edit at your own risk.
a1.easemob.com FALSE / FALSE 1516687414 rememberMe deleteMe a1.easemob.com FALSE / FALSE 1516762819 rememberMe deleteMe
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