Commit c3876e71 authored by clone's avatar clone

bug

parent f0d7c775
...@@ -464,7 +464,7 @@ class AppChat extends Basic ...@@ -464,7 +464,7 @@ class AppChat extends Basic
//获取此经纪人的所有盘方楼盘id //获取此经纪人的所有盘方楼盘id
$param["addressee_id"] = $params["agent_id"]; $param["addressee_id"] = $params["agent_id"];
$param["type"] = array( "in", array( "1,3" ) ); $param["type"] = array( "in", "1,3" );
$msgModel = new MPushMessage(); $msgModel = new MPushMessage();
$history_result = $msgModel->getListByWhere($field, $param, $page_no, $page_size); $history_result = $msgModel->getListByWhere($field, $param, $page_no, $page_size);
...@@ -480,11 +480,11 @@ class AppChat extends Basic ...@@ -480,11 +480,11 @@ class AppChat extends Basic
public function getSystemMessageByUser() public function getSystemMessageByUser()
{ {
$params = $this->params; $params = $this->params;
/* $params = array( /* $params = array(
"agent_id" => 5741, "agent_id" => 5741,
'page_no' => '1', //第几页 'page_no' => '1', //第几页
'page_size' => '15' //每页多少条 'page_size' => '15' //每页多少条
);*/ );*/
if (!isset($params['agent_id'])) { if (!isset($params['agent_id'])) {
return $this->response("101", "请求参数错误"); return $this->response("101", "请求参数错误");
} }
......
...@@ -518,7 +518,7 @@ class Finance extends Basic ...@@ -518,7 +518,7 @@ class Finance extends Basic
$order = new OPayLogModel(); $order = new OPayLogModel();
$id = $order->updatePayLog($where_); $id = $order->updatePayLog($where_);
if($id > 1){ if($id > 0){
return $this->response("200", "success", $id); return $this->response("200", "success", $id);
}else{ }else{
return $this->response("101", "修改失败"); return $this->response("101", "修改失败");
......
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