Skip to content

app_usages

Column NameTypeCommentDefaultNullRemark
idint UNSIGNEDPrimary Key IDNOAuto Increment
usage_typetinyint UNSIGNEDTypeNO1.Wallet recharge
2.Wallet withdrawal
3.Editor extensions
4.Content type extensions
5.Management extensions
6.Group extensions
7.User feature extensions
8.User profile extensions
9.Channel extensions
app_fskeyvarchar(64)Associated Plugin FskeyNORelated field apps->fskey
namejsonNameNOMultilingual
icon_file_idbigint UNSIGNEDIcon file IDYESRelated field files->id
icon_file_urlvarchar(255)Icon file URLYES
scenevarchar(16)For type 3,4,5: Usage sceneYES1. Post / 2. Comment / 3. User
Multiple separated by commas
editor_toolbartinyint UNSIGNEDFor type 3: Display in toolbar0NO0. No / 1. Yes
editor_numbertinyint UNSIGNEDFor type 3: Usage countYESMaximum value 10
is_group_admintinyint UNSIGNEDFor type 5,6: Group admin only0NO0. No / 1. Yes
When value is 1, roles field is invalid
group_idint UNSIGNEDFor type 6: Group IDYESRelated field groups->id
Associated plugin's group
rolesvarchar(128)Authorized rolesYESAuthorized role IDs, multiple separated by commas
parametervarchar(128)Custom parameterYES
sort_ordersmallint UNSIGNEDSorting order9NOAscending order
can_deletetinyint UNSIGNEDCan be deleted1NO0. Cannot delete / 1. Can delete
is_enabledtinyint UNSIGNEDIs enabled1NO0. Disabled / 1. Enabled
created_attimestampCreate TimeuseCurrentNOFor example, MySQL defaults to CURRENT_TIMESTAMP
updated_attimestampUpdate TimeYES
deleted_attimestampDelete TimeYES

Application Scene Parameter Description

Editor Extension - Application Scene

    1. Post: Apply in the post editor
    1. Comment: Apply in the comment editor

Management Extension - Application Scene

    1. Post: Apply in the post function menu
    1. Comment: Apply in the post function menu
    1. User: Apply in the user homepage function menu

URL Concatenation Explanation and Custom Parameter Explanation

Released under the Apache-2.0 License