mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 06:57:35 +08:00
add missing comment and code
This commit is contained in:
@@ -376,6 +376,7 @@ max_user_avatar_size = 1048576
|
||||
# 11: Clear All Data
|
||||
# 12: Sync Application Settings
|
||||
# 13: MCP (Model Context Protocol) Access
|
||||
# 14: Create Transactions from AI Image Recognition
|
||||
default_feature_restrictions =
|
||||
|
||||
[data]
|
||||
|
||||
@@ -124,6 +124,8 @@ func (t UserFeatureRestrictionType) String() string {
|
||||
return "Sync Application Settings"
|
||||
case USER_FEATURE_RESTRICTION_TYPE_MCP_ACCESS:
|
||||
return "MCP (Model Context Protocol) Access"
|
||||
case USER_FEATURE_RESTRICTION_TYPE_CREATE_TRANSACTION_FROM_AI_IMAGE_RECOGNITION:
|
||||
return "Create Transaction from AI Image Recognition"
|
||||
default:
|
||||
return fmt.Sprintf("Invalid(%d)", int(t))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user