refactor: 清理废弃业务模块并更新全栈配置

- 移除后端产品、目的地、活动专题等废弃模块的数据库表与业务代码,删除冗余API接口
- 删除小程序端详情页、线路组件等冗余代码,移除搜索工具与测试用例,调整导航逻辑
- 清理管理端废弃的类型定义、编辑器与测试代码
- 更新项目文档,修正模块维护说明与接口文档内容
This commit is contained in:
duanshuwen committed 2026-08-17 22:43:49 +08:00
1 parent 72e6071bb1
commit 548f91c37f
80 files changed
+953 -12702

No files matched your search

+2 -20
View File
@@ -1,6 +1,4 @@
import { productKey } from "./data";
import { requireLogin } from "./auth";
import type { Product } from "./types";
type QueryValue = string | number | boolean | undefined | null;
@@ -29,24 +27,8 @@ export function goBack(fallback = "/pages/home/index") {
goRoot(fallback);
}
export function goSearch(keyword = "贵州") {
go("/pages/search/index", { keyword });
}
export function goCampaign(type: string) {
go("/pages/campaign/index", { type });
}
export function goDetail(product: Product) {
go("/pages/detail/index", { product: productKey(product) });
}
export function goBooking(product: Product) {
go("/pages/booking/index", { product: productKey(product) });
}
export function goDemand(destination?: string, product?: Product) {
go("/pages/demand/index", { destination, product: product ? productKey(product) : undefined });
export function goDemand(destination?: string) {
go("/pages/demand/index", { destination });
}
export function goMine() {