From 65500b58925312eeefb4535075af98eb6c56b247 Mon Sep 17 00:00:00 2001 From: xiaoyu <17601026937@163.com> Date: Mon, 13 Jun 2022 09:45:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=A1=A8=20=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E3=80=81=E5=93=8D=E5=BA=94=E5=8F=82=E6=95=B0=E9=95=BF?= =?UTF-8?q?=E5=BA=A6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/sql/init.sql | 4 ++-- docs/sql/patch.sql | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) 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 '操作响应结果';