mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 09:44:26 +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
|
# 11: Clear All Data
|
||||||
# 12: Sync Application Settings
|
# 12: Sync Application Settings
|
||||||
# 13: MCP (Model Context Protocol) Access
|
# 13: MCP (Model Context Protocol) Access
|
||||||
|
# 14: Create Transactions from AI Image Recognition
|
||||||
default_feature_restrictions =
|
default_feature_restrictions =
|
||||||
|
|
||||||
[data]
|
[data]
|
||||||
|
|||||||
@@ -124,6 +124,8 @@ func (t UserFeatureRestrictionType) String() string {
|
|||||||
return "Sync Application Settings"
|
return "Sync Application Settings"
|
||||||
case USER_FEATURE_RESTRICTION_TYPE_MCP_ACCESS:
|
case USER_FEATURE_RESTRICTION_TYPE_MCP_ACCESS:
|
||||||
return "MCP (Model Context Protocol) 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:
|
default:
|
||||||
return fmt.Sprintf("Invalid(%d)", int(t))
|
return fmt.Sprintf("Invalid(%d)", int(t))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user