Skip to content

预设键名

系统事件配置

栏目标题键名说明
插件订阅记录subscribe_items插件向主程序订阅事件 item_tag = systems
插件定时任务crontab_items插件向主程序标注定时任务 item_tag = systems
查看「插件订阅记录」示例
json
[
    {
        "type": "订阅类型",
        "fskey": "订阅者(插件)",
        "cmdWord": "订阅者的命令字",
        "subject": "订阅的表名或查看类型"
    },
    {
        "type": 1,
        "fskey": "AqSms",
        "cmdWord": "sendSms",
        "subject": "users"
    }
]
查看「插件定时任务」示例
json
[
    {
        "fskey": "定时任务插件",
        "cmdWord": "定时任务插件命令字",
        "cronTableFormat": "定时任务执行周期(定时任务表达式)"
    },
    {
        "fskey": "Fresns",
        "cmdWord": "checkDeleteAccount",
        "cronTableFormat": "* * /6 * *"
    }
]

用户扩展分值

数据表 user_stats

键标签键名备注是否接口输出
usersextcredits1_name扩展 1 名称1
usersextcredits1_unit扩展 1 单位1
usersextcredits1_state扩展 1 状态(1.不启用 2.私有 3.公开)1
usersextcredits2_name扩展 2 名称1
usersextcredits2_unit扩展 2 单位1
usersextcredits2_state扩展 2 状态(1.不启用 2.私有 3.公开)1
usersextcredits3_name扩展 3 名称1
usersextcredits3_unit扩展 3 单位1
usersextcredits3_state扩展 3 状态(1.不启用 2.私有 3.公开)1
usersextcredits4_name扩展 4 名称1
usersextcredits4_unit扩展 4 单位1
usersextcredits4_state扩展 4 状态(1.不启用 2.私有 3.公开)1
usersextcredits5_name扩展 5 名称1
usersextcredits5_unit扩展 5 单位1
usersextcredits5_state扩展 5 状态(1.不启用 2.私有 3.公开)1

运营配置

键标签键名备注是否接口输出
commonsbulletin_name系统公告名称,多语言1
commonsbulletin_contents系统公告内容,数组,多语言1
commonsadvertising广告内容的数组1

示例: bulletin_contents

json
[
    {
        "date": "10/18/2022",
        "title": "[Must Read] Guide to give feedback to Fresns official questions",
        "titleColor": "#f40",
        "description": "Guide to give feedback to Fresns official questions",
        "descriptionColor": null,
        "buttonName": "Learn more",
        "buttonLink": "https://fresns.org/guide/feedback.html",
    }
]

示例: advertising

json
[
    {
        "code": "webAd",
        "content": "", // html code
    }
]

Released under the Apache-2.0 License