[回写Notion] 将网站、文章访问次数写入到notion的文章中 #2084
zaojingyoutu
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
为什么提出这个新的特性改动
配置文件添加notion的token,将网站、文章访问次数写入到notion的文章中。这样可以通过notion查看到网站的访问情况,更好的进行后台管理,
描述一下你推荐的解决方案
文章中加入一个字段存储访问次数,每一次访问后去更新字段值。
描述一下你考虑过的其它替代解决方案
无,主要个人不是前端开发,看了源代码不知从什么地方自己修改,也不会react,哎!
补充说明
无,好像直接前端调notion的接口好像会跨域,不知next.js在服务器端调是否成功
Beta Was this translation helpful? Give feedback.
All reactions