dataLists(new WithdrawWalletLists()); } /** * @notes 编辑用户提现钱包 * @return \think\response\Json * @author BD * @date 2024/02/26 13:32 */ public function edit() { $params = (new WithdrawWalletValidate())->post()->goCheck('edit'); $result = WithdrawWalletLogic::edit($params); if (true === $result) { return $this->success('编辑成功', [], 1, 1); } return $this->fail(WithdrawWalletLogic::getError()); } /** * @notes 删除用户提现钱包 * @return \think\response\Json * @author BD * @date 2024/02/26 13:32 */ public function delete() { $params = (new WithdrawWalletValidate())->post()->goCheck('delete'); WithdrawWalletLogic::delete($params); return $this->success('删除成功', [], 1, 1); } }