fn_b/config/article_likes.php

25 lines
1.2 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// 新文章自动点赞默认值。整数表示固定值,[最小值, 最大值]表示随机整数(含两端);0表示关闭。
// seven_day:前7天的增长额度;yearly:持续年度概率参数;one_year:一年内一次性额外额度。
// 修改只影响之后新建的文章;编辑旧文章、重试草稿不会重置。本文件覆盖上游/API传值,0也优先。
return [
'beginner' => [ // 新手教程及其平台子栏目
'seven_day' => [1, 18], 'yearly' => 50, 'one_year' => [50, 150],
],
'comprehensive' => [ // 综合教程
'seven_day' => [1, 15], 'yearly' => 30, 'one_year' => [20, 80],
],
'editorial_other' => [ // 文章API创建的其他栏目
'seven_day' => [1, 15], 'yearly' => 30, 'one_year' => [20, 80],
],
'freenode' => [ // 免费节点;忽略上游自动点赞值
'seven_day' => [3, 32], 'yearly' => 0, 'one_year' => 0,
],
'shadowrocketids' => [ // 小火箭ID;忽略上游自动点赞值
'seven_day' => [1, 12], 'yearly' => 0, 'one_year' => 0,
],
'legacy_other' => [ // 旧通用接收接口;同样由本站配置决定
'seven_day' => 0, 'yearly' => 0, 'one_year' => 0,
],
];