dataLists(new VipLevelLists()); } public function add() { $params = (new VipLevelValidate())->post()->goCheck('add'); VipLevelLogic::add($params); return $this->success('添加成功', [], 1, 1); } public function edit() { $params = (new VipLevelValidate())->post()->goCheck(); VipLevelLogic::edit($params); return $this->success('编辑成功', [], 1, 1); } public function delete() { $params = (new VipLevelValidate())->post()->goCheck('delete'); VipLevelLogic::delete($params); return $this->success('删除成功', [], 1, 1); } public function detail() { $params = (new VipLevelValidate())->goCheck('detail'); return $this->data(VipLevelLogic::detail($params)); } }