update backend
This commit is contained in:
@ -48,7 +48,7 @@ func (h *HistoryHandler) List(c *gin.Context) {
|
||||
// Record 记录一次浏览(点开文章详情;upsert:同文章刷新时间,不新增行)。
|
||||
//
|
||||
// POST /api/v1/me/history
|
||||
// body: { target_uid } // 带 r=/s= 前缀的对外编码串
|
||||
// body: { target_uid } // 类型进密码、无前缀的对外编码串
|
||||
// 成功:200 { data: { ok: true } }
|
||||
func (h *HistoryHandler) Record(c *gin.Context) {
|
||||
userID, ok := middleware.UserIDFrom(c)
|
||||
|
||||
Reference in New Issue
Block a user