Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加百度内容审核功能 #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

sdlyfjx
Copy link

@sdlyfjx sdlyfjx commented Feb 18, 2020

  1. 增加百度内容审核
  2. 新增CSS的minify版本并默认使用minify版本
  3. npm安装了百度sdk
  4. npm升级了部分依赖版本。

囍冯总囍 added 2 commits February 18, 2020 12:21
1. 增加百度内容审核
2. 新增CSS的minify版本并默认使用minify版本
1. 修复BAIDU_XXX名称错误问题
2. baidu-spam返回promiss
3. 不是垃圾评论字体红色,更加醒目
4. 若启用百度过滤,评论已经被筛查过则不再筛查,节省百度调用次数
5. 通过await筛查过后再开始处理是否发送AT消息
@sdlyfjx
Copy link
Author

sdlyfjx commented Feb 19, 2020

node6.x是不是不支持async/await

@DesertsP
Copy link
Owner

不错的评论审核方式。感谢你的贡献,review后会合并。

@sdlyfjx
Copy link
Author

sdlyfjx commented Feb 20, 2020

OK~ 实际使用中发现百度的AI审核比AKISMET更好用,只是黑白名单的定义上不如Akismet方便。另外LeanCloud后台的引擎好像免费版的不支持30分钟的定时唤醒了,我配置了半天看着log都是1小时唤醒一次。可能免费版限制到1小时了

@0x2E
Copy link

0x2E commented Mar 3, 2020

@sdlyfjx 改成 0 */30 7-23 * * ? 就好:cron定时任务解析出错

@sdlyfjx
Copy link
Author

sdlyfjx commented Mar 4, 2020

@sdlyfjx 改成 0 */30 7-23 * * ? 就好:cron定时任务解析出错

Beautiful! It works! Thank You!
建议 @DesertsP 顺道更新下文档

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants