session_keys
Column Name | Type | Comment | Default | Null | Remark |
---|---|---|---|---|---|
id | int UNSIGNED | Primary Key ID | NO | Auto Increment | |
platform_id | tinyint UNSIGNED | Platform ID | NO | Related key name configs->item_key = platforms | |
name | varchar(64) | Usage Name | NO | ||
type | tinyint UNSIGNED | Key Permission Type | NO | 1. Main Program API / 2. Admin API / 3. Plugin API | |
plugin_fskey | varchar(64) | Related Plugin | YES | Plugin API exclusive, Related field plugins->fskey | |
app_id | char(8) | App ID | NO | Auto-generated | |
app_secret | char(32) | Client Secret | NO | Auto-generated, encrypted storage in the database | |
is_read_only | tinyint UNSIGNED | Is read-only | 0 | NO | 0.No / 1.Yes |
is_enabled | tinyint UNSIGNED | Is Enabled | 1 | NO | 0. Disabled / 1. Enabled |
remark | text | Remark | YES | ||
created_at | timestamp | Create Time | CURRENT_TIMESTAMP | NO | |
updated_at | timestamp | Update Time | YES | ||
deleted_at | timestamp | Delete Time | YES |
Key Permission Description
- Main program API key can request all interfaces, including plugin APIs
- Plugin API key can only request its own plugin API