This commit is contained in:
hufangzhou
2022-04-12 09:51:09 +08:00
parent a3858d1512
commit baf4a67ed8
5 changed files with 4 additions and 22 deletions
-15
View File
@@ -173,21 +173,6 @@ class apiModel extends model
return common::createChanges($old, $data);
}
/**
* Delete a struct.
*
* @param int $id
* @access public
* @return void
*/
public function deleteStruct($id)
{
$this->dao->update(TABLE_APISTRUCT)
->set('deleted')->eq(1)
->where('id')->eq($id)
->exec();
}
/**
* Update an api doc.
*