if(empty(input('type'))){ // 怎么对这个type重新赋值 input('type')=1; // 这样报错了 } // 插入数据表 Db::name('table')->save(input());