初始化模版工程

This commit is contained in:
Cloud Bot
2026-03-20 07:33:46 +00:00
commit 23717e0ecd
386 changed files with 51675 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import { NextRequest } from 'next/server'
import { oapiClient, sendResponse } from '../../oapi-client'
export async function POST(req: NextRequest) {
const body = req.body ? await req.json() : {}
const { file_path, task_id } = body
const res = await oapiClient.post('/v1/super_agent/chat/oss_url', {
file_path: file_path,
task_id: task_id,
})
return sendResponse(res)
}