forked from zhouruizhe/gmTouringMiniApp
Add check-in feature and update travel planner UI
This commit is contained in:
+3
-7
@@ -2,6 +2,8 @@
|
||||
|
||||
This FastAPI service is the server-only AI boundary for the Guangming travel POC. It defaults to deterministic `mock` mode. Model credentials belong only in `server/.env` or the deployment environment and must never be added to the mini-program build.
|
||||
|
||||
This service is reserved for a later AI integration phase. The current mini-program `createPlan` entry point is hard-wired to the local planner and does not call this service.
|
||||
|
||||
## Contract
|
||||
|
||||
`POST /api/v1/plans` accepts a planning request and a coordinate-free POI whitelist:
|
||||
@@ -12,15 +14,9 @@ This FastAPI service is the server-only AI boundary for the Guangming travel POC
|
||||
"preferences": {
|
||||
"destination": "深圳市光明区",
|
||||
"themes": ["亲子"],
|
||||
"duration": "half_day",
|
||||
"pace": "moderate",
|
||||
"interests": ["自然风光"],
|
||||
"adults": 2,
|
||||
"children": 1,
|
||||
"childAges": [6],
|
||||
"transport": "public_transport",
|
||||
"budgetLevel": "standard",
|
||||
"extraRequirements": ""
|
||||
"transport": "public_transport"
|
||||
},
|
||||
"durationMinutes": 240,
|
||||
"selectedPoiIds": ["poi_a", "poi_b"],
|
||||
|
||||
Reference in New Issue
Block a user