|
@@ -92,7 +92,18 @@ class AssetLeaseController extends BaseAdminController
|
|
|
$result = AssetLeaseLists::detail($params);
|
|
$result = AssetLeaseLists::detail($params);
|
|
|
return $this->data($result);
|
|
return $this->data($result);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * @notes 删除租赁合同
|
|
|
|
|
+ * @return \think\response\Json
|
|
|
|
|
+ * @author heshihu
|
|
|
|
|
+ * @date 2022/2/22 10:17
|
|
|
|
|
+ */
|
|
|
|
|
+ public function delete()
|
|
|
|
|
+ {
|
|
|
|
|
+ $params = (new AssetLeaseValidate())->post()->goCheck('delete');
|
|
|
|
|
+ AssetLeaseLists::delete($params);
|
|
|
|
|
+ return $this->success('删除成功', [], 1, 1);
|
|
|
|
|
+ }
|
|
|
/**
|
|
/**
|
|
|
* @notes 获取可租赁房产
|
|
* @notes 获取可租赁房产
|
|
|
* @return \think\response\Json
|
|
* @return \think\response\Json
|