feat: 初始化居家上门服务系统完整项目代码
- Spring Boot 后端服务 (hss-home-service) - delivery-miniapp 配送小程序 - website 官网 (Nuxt) - docs 架构设计文档 - Docker 容器化部署配置 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
11
hss-home-service/website/server/api/lead.post.ts
Normal file
11
hss-home-service/website/server/api/lead.post.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export default defineEventHandler(async (event) => {
|
||||
const body = await readBody(event)
|
||||
console.log('[mock] lead received:', JSON.stringify(body))
|
||||
return {
|
||||
code: 200,
|
||||
message: 'success',
|
||||
data: { id: Date.now() },
|
||||
requestId: 'mock-' + Date.now(),
|
||||
timestamp: Date.now()
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user