update
This commit is contained in:
@ -94,7 +94,7 @@ func (h *ArticleHandler) Detail(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
detail, err := h.articles.Detail(c.Request.Context(), strconv.FormatUint(uint64(numeric), 10), parseLocale(c))
|
||||
detail, err := h.articles.Detail(c.Request.Context(), strconv.FormatUint(uint64(numeric), 10), parseLocale(c), middleware.IsVIP(middleware.TierFrom(c)))
|
||||
if err != nil {
|
||||
fail(c, err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user