diff --git a/docs/sql/init.sql b/docs/sql/init.sql index d4b8bc0..ffe3090 100644 --- a/docs/sql/init.sql +++ b/docs/sql/init.sql @@ -110,8 +110,8 @@ CREATE TABLE `t_sys_log` ( `method_name` varchar(128) NOT NULL DEFAULT '' COMMENT '方法名', `method_remark` varchar(128) NOT NULL DEFAULT '' COMMENT '方法描述', `req_url` varchar(256) NOT NULL DEFAULT '' COMMENT '请求地址', - `opt_req_param` varchar(2048) NOT NULL DEFAULT '' COMMENT '操作请求参数', - `opt_res_info` varchar(2048) NOT NULL DEFAULT '' COMMENT '操作响应结果', + `opt_req_param` TEXT DEFAULT NULL COMMENT '操作请求参数', + `opt_res_info` TEXT DEFAULT NULL COMMENT '操作响应结果', `created_at` timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间', PRIMARY KEY (`sys_log_id`) ) ENGINE = INNODB DEFAULT CHARSET = utf8mb4 COMMENT = '系统操作日志表'; diff --git a/docs/sql/patch.sql b/docs/sql/patch.sql index fa7aece..66211f7 100644 --- a/docs/sql/patch.sql +++ b/docs/sql/patch.sql @@ -251,5 +251,7 @@ VALUES ('wxpay', '微信支付官方', 1, 1, 2, '[{"wayCode": "WX_APP"}, {"wayCode": "WX_H5"}, {"wayCode": "WX_NATIVE"}, {"wayCode": "WX_JSAPI"}, {"wayCode": "WX_BAR"}, {"wayCode": "WX_LITE"}]', 'http://jeequan.oss-cn-beijing.aliyuncs.com/jeepay/img/wxpay.png', '#04BE02', 1, '微信官方通道'); - +-- 日志请求参数、响应参数长度修改 +alter table t_sys_log modify `opt_req_param` TEXT DEFAULT NULL COMMENT '操作请求参数'; +alter table t_sys_log modify `opt_res_info` TEXT DEFAULT NULL COMMENT '操作响应结果';