CuiQG丶 发表于 2018-11-3 14:45:20

今天 突然出现一个这样的问题

public function _output($data = []) {

      $this->output
                  ->set_status_header(200)
                  ->set_content_type('text/html', 'utf-8')
                  ->set_output( json_encode($data))
                  ->_display();
      exit;
    }

https://ws3.sinaimg.cn/large/006tNbRwgy1fwuvdtsj1rj31000dmjsu.jpg

memory_limit=1G; 找个已经设为1G;

CuiQG丶 发表于 2018-11-3 14:46:45

按照报错应该是
set_output( json_encode($data))
这一行报错,求解!:@

页: [1]
查看完整版本: 今天 突然出现一个这样的问题