limit the maximum size of upload pictures

This commit is contained in:
MaysWind
2024-09-06 23:34:35 +08:00
parent 2dddb77ca4
commit 9622d5de06
8 changed files with 30 additions and 0 deletions
+2
View File
@@ -1008,6 +1008,7 @@
"user avatar not exists": "User avatar does not exist",
"user avatar not set": "User avatar is not set",
"user avatar file extension invalid": "User avatar file extension is invalid",
"exceed the maximum size of user avatar file": "The uploaded user avatar exceeds the maximum allowed file size",
"unauthorized access": "Unauthorized access",
"current token is invalid": "Current token is invalid",
"current token is expired": "Current token is expired",
@@ -1067,6 +1068,7 @@
"cannot use hidden transaction tag": "You cannot use hidden transaction tag",
"transaction has too many tags": "There are too many tags in this transaction",
"transaction has too many pictures": "There are too many pictures in this transaction",
"exceed the maximum size of transaction picture file": "The uploaded transaction picture exceeds the maximum allowed file size",
"transaction category id is invalid": "Transaction category ID is invalid",
"transaction category not found": "Transaction category is not found",
"transaction category type is invalid": "Transaction category type is invalid",