From 3097d5494c179bb0997cecafabdd1cadbb79dce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=9C=E8=8F=AF?= Date: Thu, 9 Mar 2023 13:02:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=8E=86=E5=8F=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 691b12f..881ad90 100644 --- a/README.md +++ b/README.md @@ -28,13 +28,6 @@ GET /api/images ] } ``` -偏好推荐 -0. 使用权重推荐模型(propose=true) -* 根据用户ID作为权重推荐 -* 根据来源图像作为权重推荐 -* 根据浏览历史作为权重推荐 - - 标准查询(select) 0. 按照名称搜索(search=xxx) 1. 按照标签查询权重最相近的(tag=tag1) @@ -68,6 +61,12 @@ GET /api/images 1. 分页大小 pageSize=20 2. 指定页码 page=1 (当结束时, 返回next字段为false) +偏好推荐 +0. 使用权重推荐模型(请求中需要附带有效token) +* 根据用户偏好推荐 (propose=like) +* 根据浏览历史推荐 (propose=history) +* 根据收藏记录推荐 (propose=choice) + ## 获取标签列表(热门标签) GET /api/tags