refactor: 移除收藏功能及相关代码

删除用户收藏表及相关SQL定义
移除前端收藏按钮及JavaScript逻辑
清理API中收藏相关接口
更新README文档移除收藏功能说明
This commit is contained in:
2025-07-15 18:08:39 +08:00
parent 48c8148e8b
commit a6ed9fd1cb
7 changed files with 9 additions and 67 deletions

View File

@@ -189,7 +189,7 @@ $resultApps = $conn->query($sqlApps);
</small>
</p>
<a href="app.php?id=<?php echo $app['id']; ?>" class="btn btn-primary">查看详情</a>
<button class="btn btn-outline-secondary mt-2" onclick="toggleFavorite(<?php echo $app['id']; ?>, '<?php echo addslashes(htmlspecialchars($app['name'])); ?>')">收藏</button>
</div>
</div>
</div>