Result_CoachProgressList
统一业务结果封装。
codeinteger必填
业务结果码;200 表示成功。
msgstring必填
结果消息。
errorKeystring可为空
稳定的业务错误键;成功时为 null。
data object[]可为空必填
成功时的业务数据;业务失败或无数据时为 null。
Array [
targetLanguagestring可为空必填
目标语言。
languageLevelstring可为空必填
语言等级。
completedScenes object[]必填
已完成场景。
Array [
id object
场景 ID。
- integer<int64>
- string
integer<int64>
取值约束: >= -9007199254740991 and <= 9007199254740991
namestring
场景名称。
categorystring
场景分类。
difficultyLevelstring
难度等级。
]
vocabBook object[]必填
生词本。
Array [
wordstring
单词。
lemmastring
词元。
partOfSpeechstring
词性。
definitionstring
释义。
pronunciationstring
发音。
examples object[]
例句。
Array [
sentencestring
例句。
translationstring
例句翻译。
scenestring
例句场景。
]
sourceSceneId object可为空
来源场景 ID。
- integer<int64>
- string
integer<int64>
取值约束: >= -9007199254740991 and <= 9007199254740991
sourceContextstring可为空
来源上下文。
addedAtstring可为空
加入时间。按站点展示时区格式化,默认 yyyy-MM-dd HH:mm:ss。
lastReviewedAtstring可为空
最近复习时间。按站点展示时区格式化,默认 yyyy-MM-dd HH:mm:ss。
reviewCountinteger
复习次数。
masteryLevelinteger
掌握等级。
]
]
successboolean
外层业务是否成功;等价于 code=200。
Result_CoachProgressList
{
"code": 0,
"msg": "string",
"errorKey": "string",
"data": [
{
"targetLanguage": "string",
"languageLevel": "string",
"completedScenes": [
{
"id": 0,
"name": "string",
"category": "string",
"difficultyLevel": "string"
}
],
"vocabBook": [
{
"word": "string",
"lemma": "string",
"partOfSpeech": "string",
"definition": "string",
"pronunciation": "string",
"examples": [
{
"sentence": "string",
"translation": "string",
"scene": "string"
}
],
"sourceSceneId": 0,
"sourceContext": "string",
"addedAt": "string",
"lastReviewedAt": "string",
"reviewCount": 0,
"masteryLevel": 0
}
]
}
],
"success": true
}