Commit 7dd1154c authored by hujun's avatar hujun

edit

parent 25dbd934
...@@ -130,7 +130,7 @@ class News extends Basic ...@@ -130,7 +130,7 @@ class News extends Basic
return $this->response(101, "Id is null."); return $this->response(101, "Id is null.");
} }
$num = $this->m_push->editData([ 'status' => 1 ], $this->params['id']); $num = $this->m_news->editData([ 'status' => 1 ], $this->params['id']);
if ($num > 0) { if ($num > 0) {
return $this->response(200); return $this->response(200);
......
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