现在我是这样写的,求一段完整的案例。包括JS输出 public function article(){<br>
$data = M("Article")->where("status=1")->select();<br>
$this->ajaxReturn($data);<br>
$this->success();<br>
$this->error();
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn