原始写法: 查看报错的位置:thinkphp/library/think/db/Builder.php 可以看到exp方法已经被舍弃了,但是系统还留下inc 跟dec 方法 inc 代表增加 dec 代表减少 然后可以修改成这样