bw-expo-app/app/templates
imeepos 74ca367081 🐛 fix: 修复 template run 数据格式与 identifier 缺失问题
主要修复:
1.  添加 transformFormDataToRunFormat 函数转换表单数据
2.  根据节点类型正确格式化数据:
   - image: { images: [{ url: "..." }] }
   - video: { videos: [{ url: "..." }] }
   - text: { texts: ["..."] }
   - select: { selections: "..." } (单选) / ["..."] (多选)
3.  添加 identifier 字段到 API 请求
4.  从 storage 获取用户 session 作为 identifier

修复问题:
-  之前:{ "data": { "node_xxx": "blob:..." } }
-  现在:{ "data": { "node_xxx": { "images": [{ "url": "..." }] } }, "identifier": "user-id" }

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 18:30:03 +08:00
..
[id] 🐛 fix: 修复 template run 数据格式与 identifier 缺失问题 2025-11-11 18:30:03 +08:00
[id].tsx feat: 性能优化与余额扣费系统集成 2025-11-11 18:11:05 +08:00