日志表 请求、响应参数长度修改

This commit is contained in:
xiaoyu 2022-06-13 09:45:16 +08:00
parent 0a9ccc53b4
commit 65500b5892
2 changed files with 5 additions and 3 deletions

View File

@ -110,8 +110,8 @@ CREATE TABLE `t_sys_log` (
`method_name` varchar(128) NOT NULL DEFAULT '' COMMENT '方法名', `method_name` varchar(128) NOT NULL DEFAULT '' COMMENT '方法名',
`method_remark` varchar(128) NOT NULL DEFAULT '' COMMENT '方法描述', `method_remark` varchar(128) NOT NULL DEFAULT '' COMMENT '方法描述',
`req_url` varchar(256) NOT NULL DEFAULT '' COMMENT '请求地址', `req_url` varchar(256) NOT NULL DEFAULT '' COMMENT '请求地址',
`opt_req_param` varchar(2048) NOT NULL DEFAULT '' COMMENT '操作请求参数', `opt_req_param` TEXT DEFAULT NULL COMMENT '操作请求参数',
`opt_res_info` varchar(2048) NOT NULL DEFAULT '' COMMENT '操作响应结果', `opt_res_info` TEXT DEFAULT NULL COMMENT '操作响应结果',
`created_at` timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间', `created_at` timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
PRIMARY KEY (`sys_log_id`) PRIMARY KEY (`sys_log_id`)
) ENGINE = INNODB DEFAULT CHARSET = utf8mb4 COMMENT = '系统操作日志表'; ) ENGINE = INNODB DEFAULT CHARSET = utf8mb4 COMMENT = '系统操作日志表';

View File

@ -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"}]', '[{"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, '微信官方通道'); '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 '操作响应结果';