search

Home  >  Q&A  >  body text

javascript - How to count website article views (node.js)?

A user can only increase the number of views once, thank you

漂亮男人漂亮男人2832 days ago449

reply all(1)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-19 10:45:26

    Save a list of browsing users for each article. When getting the page, check whether the user is in the list. If not, add the number of views by 1, and then add it to the list.

    reply
    0
  • Cancelreply