diff --git a/platform/recommend_user_sents.md b/platform/recommend_user_sents.md index 4c44910..406f5d8 100644 --- a/platform/recommend_user_sents.md +++ b/platform/recommend_user_sents.md @@ -22,12 +22,63 @@ SUCCESS: { "code": 1, "msg": "成功", - "data": [ - "我要跳过", - "我又跳了,我要走了", - "我要玩", - "我是女的", - "你是谁" + "data": { + "botSents": [ + "【旁白@正常】请问你想去哪里\n" + ], + "generatedSents": [ + "我想去", + "我要去天堂", + "我要去", + "我要去北京", + "我想去,可是你不知道" + ] + } +} +``` + +##### 记录推荐的话 + +URL: {基本地址}/recommend/user/sent/record + +METHOD: GET + +Headers: + +| key | value | +| :----------- | :------------ | +| Content-Type | application/json;charset=utf-8 | +| Authorization | TOKEN | +| botAccount | bot帐号 | +| groupId | 组ID | +| mul | true | +| projectId | 1604 | +RequesetBody: +``` +{ + "botSents": [ + "【旁白@正常】请问你想去哪里\n" + ], + "generatedSents": [ + "我想去", + "我要去天堂", + "我要去", + "我要去北京", + "我想去,可是你不知道" + ], + "selectedSents":[ + "我想去", + "我要去天堂" ] } +``` + +ResponseBody: +``` +SUCCESS: +{ + "code": 1, + "msg": "成功", + "data": null +} ``` \ No newline at end of file