Commit f0d7c775 authored by clone's avatar clone

bug

parent 8e5ab6cf
...@@ -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,12 @@ class Finance extends Basic ...@@ -518,7 +518,12 @@ class Finance extends Basic
$order = new OPayLogModel(); $order = new OPayLogModel();
$id = $order->updatePayLog($where_); $id = $order->updatePayLog($where_);
if($id > 1){
return $this->response("200", "success", $id); return $this->response("200", "success", $id);
}else{
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