From 9815fd1ac88377848695bf9c047be34d568daf40 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 6 May 2026 10:45:02 +0800 Subject: [PATCH] bugfix --- wwwroot/API.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/wwwroot/API.md b/wwwroot/API.md index e2f1277..8c9f171 100644 --- a/wwwroot/API.md +++ b/wwwroot/API.md @@ -408,3 +408,36 @@ d = { "response": # 后台返回信息,有状态,错误信息或videod url } } + +## 测试定价项目 +* path /pricing/test_pricing_program.dspy +* method POST +* params +* data +``` +{ + "ppid": #定价项目id + "data": # 模型返回的usage的字典数据 +} + +return +计价成功 +``` +{ + "status": "ok", + "data": { + "ppid": ppid, + "data": data, + "result": x + } +} +``` +或 +``` +{ + "status": "error", + "data": { + "message": # 错误信息 + } +} +```