Skip to content
On this page

Preset key name

Event

Menu TitleKey NameDescription
插件订阅记录subscribe_items插件向主程序订阅事件 item_tag = systems
插件定时任务crontab_items插件向主程序标注定时任务 item_tag = systems
查看「插件订阅记录」示例
json
[
    {
        "type": "订阅类型",
        "unikey": "订阅者(插件)",
        "cmdWord": "订阅者的命令字",
        "subTableName": "订阅的表,类型 1 专用"
    },
    {
        "type": 1,
        "unikey": "AqSms",
        "cmdWord": "sendSms",
        "subTableName": "users"
    }
]
查看「插件定时任务」示例
json
[
    {
        "unikey": "定时任务插件",
        "cmdWord": "定时任务插件命令字",
        "cronTableFormat": "定时任务执行周期(定时任务表达式)"
    },
    {
        "unikey": "Fresns",
        "cmdWord": "checkDeleteAccount",
        "cronTableFormat": "* * /6 * *"
    }
]

User

数据表 user_stats

Key TagKey NameDescriptionis API
usersextcredits1_name扩展 1 名称1
usersextcredits1_unit扩展 1 单位1
usersextcredits1_status扩展 1 状态(1.不启用 2.私有 3.公开)1
usersextcredits2_name扩展 2 名称1
usersextcredits2_unit扩展 2 单位1
usersextcredits2_status扩展 2 状态(1.不启用 2.私有 3.公开)1
usersextcredits3_name扩展 3 名称1
usersextcredits3_unit扩展 3 单位1
usersextcredits3_status扩展 3 状态(1.不启用 2.私有 3.公开)1
usersextcredits4_name扩展 4 名称1
usersextcredits4_unit扩展 4 单位1
usersextcredits4_status扩展 4 状态(1.不启用 2.私有 3.公开)1
usersextcredits5_name扩展 5 名称1
usersextcredits5_unit扩展 5 单位1
usersextcredits5_status扩展 5 状态(1.不启用 2.私有 3.公开)1

Operation Notice

Key TagKey NameDescriptionis API
systemssystem_bulletin_nameSystem bulletin name, multi-language1
systemssystem_bulletin_contentsSystem bulletin content, arrays, multiple languages1

system_bulletin_contents Example

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",
    }
]

Released under the Apache-2.0 License