bugfix
This commit is contained in:
parent
6220e8546a
commit
9815fd1ac8
@ -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": # 错误信息
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user