Skip to content

plugins

Column NameTypeCommentDefaultNullRemark
idint UNSIGNEDPrimary Key IDNOAuto Increment
fskeyvarchar(64)Plugin identifierNOUnique, PascalCase format
typesmallint UNSIGNEDPlugin typeNO
namevarchar(64)Plugin NameNO
descriptionvarchar(255)Plugin descriptionNO
versionvarchar(16)Semantic version numberNODisplay version number
authorvarchar(64)Developer nameNO
author_linkvarchar(128)Developer linkYES
scenejsonApplication scenariosYESSupported application scenario parameters
Format: ["apiKey","register"]
plugin_hostvarchar(128)Plugin custom domainYESStarts with http:// or https://, without trailing /
access_pathvarchar(128)Plugin access pathYESRelative path, supports variable names
When the plugin_host field is empty, it is concatenated with the "backend domain" to form a complete URL
settings_pathvarchar(128)Settings pageYESRelative path, empty means no settings page
is_standalonetinyint UNSIGNEDStandalone App0NO0.No / 1.Yes
is_upgradetinyint UNSIGNEDIs there an upgrade package0NO0.No / 1.Yes
upgrade_versionvarchar(16)New version numberYES
upgrade_codevarchar(32)Upgrade codeYESOfficial application market upgrade certificate
is_enabledtinyint UNSIGNEDIs it enabled1NO0.Disabled / 1.Enabled
created_attimestampCreate TimeCURRENT_TIMESTAMPNO
updated_attimestampUpdate TimeNO
deleted_attimestampDelete TimeYES

URL Concatenation Description

    1. The complete URL of the plugin is obtained by concatenating the domain field plugin_host with the path field access_path. When plugin_host is empty, it is concatenated with the backend address (config table key name system_url) to form a complete URL address.
    1. If it is a related plugin in the "Plugin Usage Association Table", first concatenate the complete address according to the logic in the first item, and then replace {parameter} in the URL address with the value of the plugin_usages->parameter field, and output the URL after the replacement.

Released under the Apache-2.0 License