Home  >  Article  >  php教程  >  求完整的JSON请求实例

求完整的JSON请求实例

WBOY
WBOYOriginal
2016-06-07 11:39:421725browse

现在我是这样写的,求一段完整的案例。包括JS输出
    public function article(){<br>     $data = M("Article")->where("status=1")->select();<br>     $this->ajaxReturn($data);<br>     $this->success();<br>     $this->error();

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
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