Commit 38458569 authored by zw's avatar zw

pk

parent 1a1aedfb
...@@ -557,9 +557,9 @@ class AppChat extends Basic ...@@ -557,9 +557,9 @@ class AppChat extends Basic
public function getMessageIsRead() public function getMessageIsRead()
{ {
$params = $this->params; $params = $this->params;
/* $params = array( $params = array(
"agent_id" => 5739 "agent_id" => 5775
);*/ );
if (empty($params['agent_id'])) { if (empty($params['agent_id'])) {
return $this->response("101", "请求参数错误"); return $this->response("101", "请求参数错误");
} }
......
...@@ -61,7 +61,7 @@ class RankingList extends Basic{ ...@@ -61,7 +61,7 @@ class RankingList extends Basic{
public function selectPkSortByTime() public function selectPkSortByTime()
{ {
$params = $this->params; $params = $this->params;
/* $params = array( /*$params = array(
"site_id" => 10001 "site_id" => 10001
);*/ );*/
if (!isset($params["site_id"])) { if (!isset($params["site_id"])) {
......
...@@ -135,6 +135,7 @@ class TAgentTotalModel extends Model ...@@ -135,6 +135,7 @@ class TAgentTotalModel extends Model
->where($params) ->where($params)
->group($group_) ->group($group_)
->order($order) ->order($order)
->limit($limit)
->select(); ->select();
//echo $this->db_->getLastSql(); //echo $this->db_->getLastSql();
return $result; return $result;
......
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