call_user_func_array() expects parameter 1 to be a valid callback, class 'think\\Collection' does not have a method 'append'"
当数据集查询是空的时候,使用append报错,难道要查询后判断数据集是否为空,才调用append 吗?好麻烦
self::order('id','desc')->where($where)->append(['status_text'])->paginate($limit);