在对应的Controller顶部加上:
ini_set("error_reporting","E_ALL & ~E_NOTICE");
屏蔽警告信息
posted on 2019-11-01 10:42 xuxxnb 阅读(301) 评论(0) 编辑 收藏 举报