allowField(true)->save($data); if(!$ret){ $this->error = '操作失败'; return false; } return true; } }