文档
测试

任务完成上传

POST
http://192.168.1.111/ai/tks/v1/up_task

接口描述

单一模块完成时 上传到服务器

请求参数

必填
参数名
类型
描述
必填
account
int
示例:123
必填
task
string
示例:{"book":"tk", "level":"b", "unit":"3", "score":50, "word":[{"word":"se","score":100}], "sentcence":[{"sentcence":"hello oh","score":55}], "start_time":1637118378, "end_time":1637118378 }
必填
book
string
示例:tk
必填
level
string
示例:b
必填
unit
string
示例:3
必填
score
int
示例:50
必填
word
array
数据列表
必填
word
string
示例:se
必填
score
int
示例:100
必填
sentcence
array
数据列表
必填
sentcence
string
示例:hello oh
必填
score
int
示例:55
必填
start_time
string
示例:1637118378
必填
end_time
string
示例:1637118378
必填
mold
string
模块名称
必填
dialogue
array
数据列表
必填
id
string
必填
sentcence
string
必填
score
int
必填
essay
array
必填
id
string
必填
score
int

响应参数

必填
参数名
类型
描述
必填
code
int
示例:200
必填
info
string
示例:上传成功