/*
 Navicat Premium Data Transfer

 Source Server         : rm-wz92918pm46bsbc37mo.mysql.rds.aliyuncs.com
 Source Server Type    : MySQL
 Source Server Version : 50732
 Source Host           : rm-wz92918pm46bsbc37mo.mysql.rds.aliyuncs.com:3306
 Source Schema         : coreshop

 Target Server Type    : MySQL
 Target Server Version : 50732
 File Encoding         : 65001

 Date: 10/04/2022 02:24:03
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for SysUserOperationLog
-- ----------------------------
DROP TABLE IF EXISTS `SysUserOperationLog`;
CREATE TABLE `SysUserOperationLog`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '序列',
  `userName` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户登录账号',
  `userNickName` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户登录昵称',
  `userId` int(11) NULL DEFAULT NULL COMMENT '用户序列',
  `ip` varchar(150) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'IP地址',
  `apiPath` varchar(150) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '请求地址',
  `beginTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '开始时间',
  `endTime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '结束时间',
  `opTime` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '耗时',
  `requestMethod` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '请求方式',
  `requestData` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '请求数据',
  `responseBodyData` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '返回数据',
  `agent` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '代理渠道',
  `actionName` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '动作方法名称',
  `actionDescription` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '动作方法描述',
  `controllerName` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '控制器名称',
  `controllerDescription` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '控制器名称',
  `statusCode` int(11) NULL DEFAULT NULL COMMENT '状态码',
  `createTime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '创建时间',
  `dataSources` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '数据来源',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of SysUserOperationLog
-- ----------------------------

SET FOREIGN_KEY_CHECKS = 1;
