标签:
public function index(){
$result = M(‘content‘)->select()
$this->assig(‘result‘,$result);
$this->display()
}
简化
public function index(){
$this->assign(‘result‘,M(‘content‘->select()))display()
}
标签:
原文地址:http://www.cnblogs.com/wesky/p/4947224.html