fix(系统设置): 初始化默认文件上传大小参数

--task=1016193 --user=宋昌昌 系统配置支持自定义文件大小限制-后端-V2 https://www.tapd.cn/55049933/s/1576397
This commit is contained in:
song-cc-rock 2024-09-19 17:13:06 +08:00 committed by Craftsman
parent 4cb6280cfc
commit 4d0010aff0
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
SET SESSION innodb_lock_wait_timeout = 7200;
-- 初始化默认参数文件上传大小
INSERT INTO system_parameter (param_key, param_value, type, sort) VALUES ('base.file.upload.size', '50', 'text', 1);
SET SESSION innodb_lock_wait_timeout = DEFAULT;