-- ---------------------------- -- 代理操作日志表 proxy_oper_log -- ---------------------------- CREATE TABLE IF NOT EXISTS `proxy_oper_log` ( `oper_id` bigint NOT NULL AUTO_INCREMENT COMMENT '日志主键', `proxy_id` bigint NULL DEFAULT NULL COMMENT '代理ID', `title` varchar(50) NULL DEFAULT '' COMMENT '模块标题', `business_type` int NULL DEFAULT 0 COMMENT '业务类型(0其它 1新增 2修改 3删除)', `method` varchar(100) NULL DEFAULT '' COMMENT '方法名称', `request_method` varchar(10) NULL DEFAULT '' COMMENT '请求方式', `operator_type` int NULL DEFAULT 0 COMMENT '操作类别(0其它 1后台用户 2手机端用户)', `oper_name` varchar(50) NULL DEFAULT '' COMMENT '操作人员', `dept_name` varchar(50) NULL DEFAULT '' COMMENT '部门名称', `oper_url` varchar(2000) NULL DEFAULT '' COMMENT '请求URL', `oper_ip` varchar(50) NULL DEFAULT '' COMMENT '主机地址', `oper_location` varchar(255) NULL DEFAULT '' COMMENT '操作地点', `oper_param` longtext NULL COMMENT '请求参数', `json_result` varchar(2000) NULL DEFAULT '' COMMENT '返回参数', `status` int NULL DEFAULT 0 COMMENT '操作状态(0正常 1异常)', `error_msg` varchar(2000) NULL DEFAULT '' COMMENT '错误消息', `oper_time` datetime NULL DEFAULT NULL COMMENT '操作时间', PRIMARY KEY (`oper_id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=1 COMMENT='代理操作日志' ROW_FORMAT=DYNAMIC;