后台点击量显示异常
This commit is contained in:
parent
e949a15484
commit
833850b5e5
|
@ -102,7 +102,7 @@ func (*articleService) PageArticle(page int, itemsPerPage int) model.Page[any] {
|
|||
// content[i].View = view
|
||||
var vo = struct {
|
||||
model.BlogArticle
|
||||
View int64
|
||||
View int64 `json:"view"`
|
||||
}{v, view}
|
||||
|
||||
ret = append(ret, vo)
|
||||
|
|
Loading…
Reference in New Issue