dataLists(new FinancialPerformanceMoneyRecoveryLists()); } /** * @notes 添加财务管理--履约金回收 * @return \think\response\Json * @author likeadmin * @date 2024/04/15 09:33 */ public function add() { $params = (new FinancialPerformanceMoneyRecoveryValidate())->post()->goCheck('add'); $result = FinancialPerformanceMoneyRecoveryLogic::add($params); if (true === $result) { return $this->success('添加成功', [], 1, 1); } return $this->fail(FinancialPerformanceMoneyRecoveryLogic::getError()); } /** * @notes 编辑财务管理--履约金回收 * @return \think\response\Json * @author likeadmin * @date 2024/04/15 09:33 */ public function edit() { $params = (new FinancialPerformanceMoneyRecoveryValidate())->post()->goCheck('edit'); $result = FinancialPerformanceMoneyRecoveryLogic::edit($params); if (true === $result) { return $this->success('编辑成功', [], 1, 1); } return $this->fail(FinancialPerformanceMoneyRecoveryLogic::getError()); } /** * @notes 删除财务管理--履约金回收 * @return \think\response\Json * @author likeadmin * @date 2024/04/15 09:33 */ public function delete() { $params = (new FinancialPerformanceMoneyRecoveryValidate())->post()->goCheck('delete'); FinancialPerformanceMoneyRecoveryLogic::delete($params); return $this->success('删除成功', [], 1, 1); } /** * @notes 获取财务管理--履约金回收详情 * @return \think\response\Json * @author likeadmin * @date 2024/04/15 09:33 */ public function detail() { $params = (new FinancialPerformanceMoneyRecoveryValidate())->goCheck('detail'); $result = FinancialPerformanceMoneyRecoveryLogic::detail($params); return $this->data($result); } }