From 7483c495b5e8ff318e6090e18016f27fa6480c72 Mon Sep 17 00:00:00 2001 From: jinfengli Date: Sat, 16 Jan 2021 13:34:27 +0800 Subject: [PATCH] update --- platform/recommend_user_sents.md | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 6 deletions(-) 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 -- libgit2 0.27.1