Comments (8)
所有 API 查询得到的评论数据在后续版本中增加
content_marked
字段,为后端 Markdown 解析后的 content
from artalkgo.
from artalkgo.
查询类的能给url加个模糊查询吗?随机文章/随机页面的区别。
另外,查评论类的返回的评论内容,后端能做下解析不?现在是直接返回了原始MD内容啦
from artalkgo.
另外能不能加这么一个Api,根据网站名称,用户名,邮件查询当前用户是否存在未读通知,返回数量和通知内容。
拿来实现:访问网站时,欢迎用户并提醒用户查阅未读消息。
from artalkgo.
OK
from artalkgo.
那个模糊查询以后再做了,我决定引入 Graphql,想怎么查怎么查
用户未读信息查询其实有现成的 API:
POST /api/user-get
:
- name:用户名
- email:邮箱
- site_name:站点名
响应体:
{
"success": true,
"data": {
"is_login": false,
"unread": [
{
"id": 419,
"user_id": 76,
"comment_id": 233,
"is_read": false,
"is_emailed": true,
"read_link": "https://artalk.js.org/?atk_comment=233&atk_notify_key=xxxxxxx"
}
],
"unread_count": 3,
"user": {
"id": 233,
"name": "用户名",
"email": "邮箱@gmail.com",
"link": "链接",
"badge_name": "管理员",
"badge_color": "#FF6C00",
"is_admin": true,
"site_names": null,
"site_names_raw": "",
"receive_email": true
}
}
from artalkgo.
所有 API 查询得到的评论数据在后续版本中增加 content_marked
字段,为后端 Markdown 解析后的 content
from artalkgo.
新版构建已发布 v2.1.9
from artalkgo.
Related Issues (20)
- Artalk支持 远程Redis来缓存嘛 HOT 3
- 验证码数据根据 IP 来存储问题 HOT 1
- upgit 图片上传 HOT 2
- 性能优化 HOT 3
- Redis 缓存相关导致报错 HOT 11
- API 新增建议 HOT 11
- [Bug Report] Telegram 评论通知 HOT 27
- [Bug Report] 开启评论审核后无法发送回复通知 HOT 17
- 能否增加企业微信通知或者提供一个自定义的WebHook HOT 4
- 如何使用带有密码认证的Redis缓存 HOT 1
- Windows系统下时区异常 HOT 4
- 非管理员用户侧边栏提示错误:Referer 不被允许 HOT 5
- 优化关于docker的配置文件映射问题 HOT 2
- 配置可信域名后前端依旧提升跨域不能访问 HOT 2
- api 返回最新评论,增加返回用户头像地址。。 HOT 3
- 管理员地址是什么,文档没介绍后端管理地址,没找到 HOT 2
- 导入评论时必须指定目标站点 URL的问题 HOT 2
- 使用控制中心自带的导入其他系统的评论功能成功后不能在评论表单下面显示,只能在控制中心看 HOT 1
- 飞书通知设置无效 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artalkgo.