错误信息:Too few arguments to function News::getSevenData(), 6 passed in /data1/vhosts/m.lejucaijing.com/htdocs/app/news/news.php on line 3627 and exactly 7 expected
所在文件:/data1/vhosts/m.lejucaijing.com/htdocs/app/news/model/news.php:734

/data1/vhosts/m.lejucaijing.com/htdocs/app/news/model/news.php(734)

731        }
732    }
733
734    public function getSevenData($city='',$category='',$page=1,$sign=0, $limit = 10, &$total, $flag)
735    {
736        //添加第四参数,如果为1,则获取通告数据
737        if ($sign == 1) {

Stack Trace

#0
+
-
/data1/vhosts/m.lejucaijing.com/htdocs/app/news/news.php(3627):
News->getSevenData(null,null,1,0,10,null)
3624        if (!$page) $page = 1;
3625        $sign = empty($sign) ? 0 : $sign;
3626        //获取724列表,加入判定条件,可以查询分类为通告类型的
3627        $data = $this->_newsModel->getSevenData($city,$category,$page,$sign, 10, $total);
3628
3629        // 获取图片信息
3630        getImageInfo($data);
#7
+
-
/data1/vhosts/m.lejucaijing.com/htdocs/index.php(29):
Leb_Plugin_Abstract->run()
26
27//请求->路由->过滤->分发->响应
28$controller = Leb_Controller::getInstance();
29$controller->run();
2026-07-19 23:27:31 nginx/1.24.0 PHP/7.2.34 18.97.14.82->10.0.50.204(m.lejucaijing.com) 执行时间:0.01816秒 内存开销:1679528Byte 内存峰值:2097152Byte
Copyright © 1996-2013 LEJU Corporation, All Rights Reserved Slae Framework / 1.0.0