- Spring Boot 后端服务 (hss-home-service) - delivery-miniapp 配送小程序 - website 官网 (Nuxt) - docs 架构设计文档 - Docker 容器化部署配置 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
17 lines
541 B
JavaScript
17 lines
541 B
JavaScript
import { defineEventHandler, readBody } from 'file:///home/akoo/%E5%B1%85%E5%AE%B6%E6%9C%8D%E5%8A%A1/hss-home-service/website/node_modules/h3/dist/index.mjs';
|
|
|
|
const lead_post = 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()
|
|
};
|
|
});
|
|
|
|
export { lead_post as default };
|
|
//# sourceMappingURL=lead.post.mjs.map
|