/*
 Navicat Premium Data Transfer

 Source Server         : 服务器数据库
 Source Server Type    : MySQL
 Source Server Version : 50734
 Source Host           : 42.193.11.150:3306
 Source Schema         : z2

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

 Date: 08/03/2023 13:28:35
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for address
-- ----------------------------
DROP TABLE IF EXISTS `address`;
CREATE TABLE `address`  (
  `address_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '地址id',
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '姓名',
  `phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电话',
  `province` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '省',
  `city` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '市',
  `district` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区',
  `details_address` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '详细地址',
  `is_default` int(11) NULL DEFAULT NULL COMMENT '是否是默认地址 0 否 1是',
  `create_time` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '时间',
  `user_id` int(11) NULL DEFAULT NULL,
  `longitude` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `latitude` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`address_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 73 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of address
-- ----------------------------

-- ----------------------------
-- Table structure for adverti
-- ----------------------------
DROP TABLE IF EXISTS `adverti`;
CREATE TABLE `adverti`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '广告id',
  `create_at` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `img_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '图片路径',
  `link_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '页面路由',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of adverti
-- ----------------------------
INSERT INTO `adverti` VALUES (1, '2021-08-14 17:46:02', 'https://sac.xianmxkj.com/img/20210814/15c7f30c6fb040c4a2832abf2decf045.png', '/pages/index/mian');

-- ----------------------------
-- Table structure for agency
-- ----------------------------
DROP TABLE IF EXISTS `agency`;
CREATE TABLE `agency`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '申请id',
  `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '城市',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '姓名',
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '电话',
  `age` int(11) NULL DEFAULT NULL COMMENT '年龄',
  `img` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '头像',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '用户id',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '时间',
  `status` int(11) NULL DEFAULT NULL COMMENT '状态0待审核 1同意 2拒绝',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 24 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of agency
-- ----------------------------

-- ----------------------------
-- Table structure for app
-- ----------------------------
DROP TABLE IF EXISTS `app`;
CREATE TABLE `app`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `android_wgt_url` varchar(600) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
  `create_at` varchar(600) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL,
  `des` varchar(600) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
  `ios_version` varchar(255) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL,
  `ios_wgt_url` varchar(600) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
  `method` varchar(600) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL,
  `version` varchar(600) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL,
  `wgt_url` varchar(600) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
  `classify` int(11) NULL DEFAULT NULL COMMENT '1 用户端 2技师端',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = big5 COLLATE = big5_chinese_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of app
-- ----------------------------
INSERT INTO `app` VALUES (5, 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-e456bae7-a062-42af-9507-4ec00ceb0b59/6dfe11de-fe9c-477d-9a81-e3ec04ca1160.apk', '2020-07-20 18:35:00', '升级', NULL, '', 'false', '1.0.0', 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-e456bae7-a062-42af-9507-4ec00ceb0b59/6dfe11de-fe9c-477d-9a81-e3ec04ca1160.apk', 1);
INSERT INTO `app` VALUES (7, '333333', '2022-02-11 15:03:59', 'sdfasdf', 'werqwerwqr', 'wqerwqer', 'false', 'ewrqwwqe', '1123123', 2);

-- ----------------------------
-- Table structure for apply
-- ----------------------------
DROP TABLE IF EXISTS `apply`;
CREATE TABLE `apply`  (
  `apply_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '申请id',
  `apply_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '姓名',
  `apply_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '电话',
  `apply_age` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '年龄',
  `apply_content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '内容',
  `classify` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类 1推广员 2代理商',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '用户id',
  `status` int(11) NULL DEFAULT NULL COMMENT '状态 1待审核 2通过 3拒绝',
  `audit_content` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '审核内容',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`apply_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of apply
-- ----------------------------

-- ----------------------------
-- Table structure for artificer
-- ----------------------------
DROP TABLE IF EXISTS `artificer`;
CREATE TABLE `artificer`  (
  `artificer_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '技师id',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '用户id',
  `artificer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '技师名称',
  `artificer_img` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '技师图片',
  `longitude` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经度',
  `latitude` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '纬度',
  `life_photo` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '技师生活照',
  `certificate` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '证书',
  `content` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
  `working_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '从业时长',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `artificer_sales` int(11) NULL DEFAULT NULL COMMENT '技师销量',
  `begin_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '接单起始时间',
  `finish_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '结束时间',
  `status` int(11) NULL DEFAULT NULL COMMENT '上下线',
  `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '城市',
  `classify_id` int(11) NULL DEFAULT NULL COMMENT '认证类型id',
  `trip_way` int(11) NULL DEFAULT NULL COMMENT '出行方式',
  `credit_score` decimal(10, 2) NULL DEFAULT NULL COMMENT '信誉分',
  `add_artificer_money` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `is_goods` int(11) NULL DEFAULT NULL,
  `is_hot` int(11) NULL DEFAULT NULL,
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `rate` decimal(10,2) DEFAULT NULL,
  PRIMARY KEY (`artificer_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 84 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of artificer
-- ----------------------------

-- ----------------------------
-- Table structure for artificer_massage
-- ----------------------------
DROP TABLE IF EXISTS `artificer_massage`;
CREATE TABLE `artificer_massage`  (
  `artificer_massage_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '技术服务id',
  `artificer_id` int(11) NULL DEFAULT NULL COMMENT '技师id',
  `massage_type_id` int(11) NULL DEFAULT NULL COMMENT '服务id',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `status` int(11) NULL DEFAULT NULL COMMENT '服务是否上架  0上架  1下架',
  PRIMARY KEY (`artificer_massage_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 188 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of artificer_massage
-- ----------------------------

-- ----------------------------
-- Table structure for artificer_time
-- ----------------------------
DROP TABLE IF EXISTS `artificer_time`;
CREATE TABLE `artificer_time`  (
  `artificer_time_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '师傅时间配置id',
  `artificer_id` int(11) NULL DEFAULT NULL COMMENT '技师id',
  `artificer_date` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '日期',
  `artificer_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '时分秒',
  `classify` int(11) NULL DEFAULT NULL COMMENT '1订单占用 2技师设置',
  `orders_id` int(11) NULL DEFAULT NULL COMMENT '订单id',
  `create_time` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`artificer_time_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 194 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of artificer_time
-- ----------------------------

-- ----------------------------
-- Table structure for banner
-- ----------------------------
DROP TABLE IF EXISTS `banner`;
CREATE TABLE `banner`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'bannerid',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '名称',
  `image_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片地址',
  `state` int(2) NULL DEFAULT NULL COMMENT '状态1正常2隐藏',
  `classify` int(2) NULL DEFAULT NULL COMMENT '分类1banner图2金刚区分类',
  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '跳转地址 ',
  `sort` int(4) NULL DEFAULT NULL COMMENT '顺序',
  `describes` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 32 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of banner
-- ----------------------------
INSERT INTO `banner` VALUES (1, '2023-01-06 14:07:10', '轮播', 'https://yuesao.xianmxkj.com/file/uploadPath/2023/01/06/df5cdf396838ac2fc6cfc34ed5d31c94.png', 1, 1, 'https://shegnqx.oss-cn-beijing.aliyuncs.com/20200804/2b33cfd09af84c3ca4aedbde6af7d469.png', 1, '轮播');
INSERT INTO `banner` VALUES (10, '2022-02-23 09:15:11', '按摩理疗', 'https://jiazheng.xianmxkj.com/file/uploadPath/2021/11/30/a4be84c4d972a618b52b81fcd4ea42df.png', 1, 2, '/pages/index/game/order?massageTypeId=17&name=全身SPA', NULL, '按摩理疗');
INSERT INTO `banner` VALUES (11, '2022-02-23 09:15:11', '全身SPA', 'https://jiazheng.xianmxkj.com/file/uploadPath/2021/11/30/63ef000d158217f135cf419b973e7b1f.png', 1, 2, '/pages/index/game/order?massageTypeId=17&name=全身SPA', NULL, '全身SPA');
INSERT INTO `banner` VALUES (12, '2022-02-23 09:15:11', '足疗按摩', 'https://jiazheng.xianmxkj.com/file/uploadPath/2021/11/30/609492e0f1bae110d1486bf7845eb02d.png', 1, 2, '/pages/index/game/order?massageTypeId=17&name=全身SPA', NULL, '足疗按摩');
INSERT INTO `banner` VALUES (13, '2022-02-23 09:15:11', '中医推拿', 'https://jiazheng.xianmxkj.com/file/uploadPath/2021/11/30/379d195183e34cd849e83e3cbc708cd5.png', 1, 2, '/pages/index/game/order?massageTypeId=17&name=全身SPA', NULL, '中医推拿');
INSERT INTO `banner` VALUES (15, '2022-02-23 09:15:11', '艾灸刮痧', 'https://jiazheng.xianmxkj.com/file/uploadPath/2021/11/30/eb2669c23120d10fda6b7b9da1b06ccb.png', 1, 2, '/pages/index/game/order?massageTypeId=17&name=全身SPA', NULL, '艾灸刮痧');
INSERT INTO `banner` VALUES (19, '2023-02-15 14:14:52', '邀请背景图', 'https://anmo.xianmxkj.com/file/uploadPath/2023/02/15/0c36331e0e6cf9126c3971739c2b7db3.png', 1, 5, 'https://yuesao.xianmxkj.com', NULL, '邀请背景图');
INSERT INTO `banner` VALUES (28, '2022-01-07 13:29:05', '测试分类', 'https://yuesao.xianmxkj.com/file/uploadPath/2022/01/07/3e96d729b23b8e75e9d8161274532f27.png', 2, 2, '111111', NULL, '测试');
INSERT INTO `banner` VALUES (29, '2023-01-06 14:07:10', '1', 'https://yuesao.xianmxkj.com/file/uploadPath/2023/01/06/62eff023f89bb581800e67693f351a25.png', 1, 1, '1', NULL, '1');
INSERT INTO `banner` VALUES (30, '2023-01-06 14:07:43', '1', 'https://yuesao.xianmxkj.com/file/uploadPath/2023/01/06/0065c5ab33a3b7370d3cc70227c99adf.png', 1, 1, '1', NULL, '1');
INSERT INTO `banner` VALUES (31, '2023-01-06 14:07:49', '1', 'https://yuesao.xianmxkj.com/file/uploadPath/2023/01/06/db0a230dac02786b058018b62efcf168.png', 1, 1, '1', NULL, '1');
INSERT INTO `banner` VALUES (32, '2023-08-24 16:11:13', '技师邀请图', 'https://anmo5.0.xianmaxiong.com/file/uploadPath/2023/08/24/4fd10ebbedec3160c5c373c74111160f.png', 1, 6, '1', NULL, '1');


-- ----------------------------
-- Table structure for cash_out
-- ----------------------------
DROP TABLE IF EXISTS `cash_out`;
CREATE TABLE `cash_out`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '申请提现id',
  `create_at` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请时间',
  `is_out` int(2) NULL DEFAULT NULL COMMENT '是否转账',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '提现金额',
  `out_at` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '转账时间',
  `relation_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '会员编号',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  `zhifubao` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '支付宝账号',
  `zhifubao_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '支付宝姓名',
  `order_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '订单编号',
  `state` int(11) NULL DEFAULT NULL COMMENT '状态 0待转账 1成功 -1退款',
  `refund` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `classify` int(11) NULL DEFAULT NULL,
  `rate` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '利息',
  `user_type` int(11) NULL DEFAULT NULL,
  `bank_card` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '银行卡号',
  `bank_card_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '银行名称',
  `bank_card_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '银行卡用户姓名',
  `bank_card_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '银行开户行地址',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 129 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of cash_out
-- ----------------------------

-- ----------------------------
-- Table structure for certification
-- ----------------------------
DROP TABLE IF EXISTS `certification`;
CREATE TABLE `certification`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户实名认证id',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '真实姓名',
  `id_number` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '身份证号码',
  `birthdate` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '出生年月日',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址',
  `sex` int(11) NULL DEFAULT NULL COMMENT '性别 1男 2女',
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '电话',
  `individual_resume` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '个人简介',
  `front` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '正面照',
  `back` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '反面照',
  `certification` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '资格证书',
  `avatar` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '头像',
  `image_photo` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '形象照',
  `create_time` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `status` int(255) NULL DEFAULT NULL COMMENT '0审核中1审核成功2拒绝3申请退还保证金',
  `remek` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '说明',
  `update_time` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改时间',
  `classify_id` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 144 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of certification
-- ----------------------------

-- ----------------------------
-- Table structure for chat_content
-- ----------------------------
DROP TABLE IF EXISTS `chat_content`;
CREATE TABLE `chat_content`  (
  `chat_content_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '聊天内容id',
  `chat_conversation_id` int(11) NULL DEFAULT NULL COMMENT '聊天会话id',
  `content` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '内容',
  `message_type` int(11) NULL DEFAULT NULL COMMENT '类型 1文字 2图片 3语音',
  `width` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片宽度',
  `height` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片高度',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '发送用户id',
  `status` int(11) NULL DEFAULT NULL COMMENT '0未读 1已读',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发送时间',
  PRIMARY KEY (`chat_content_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 506 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of chat_content
-- ----------------------------

-- ----------------------------
-- Table structure for chat_conversation
-- ----------------------------
DROP TABLE IF EXISTS `chat_conversation`;
CREATE TABLE `chat_conversation`  (
  `chat_conversation_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '聊天会话id',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '发送用户id',
  `focused_user_id` int(11) NULL DEFAULT NULL COMMENT '接受用户id',
  `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '状态',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`chat_conversation_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 88 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of chat_conversation
-- ----------------------------

-- ----------------------------
-- Table structure for chats
-- ----------------------------
DROP TABLE IF EXISTS `chats`;
CREATE TABLE `chats`  (
  `chat_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '会话id',
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `user_count` int(20) NULL DEFAULT 0 COMMENT '用户未读条数',
  `user_count2` int(20) NULL DEFAULT 0 COMMENT '好友未读条数',
  `user_head` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户头像',
  `user_head2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '好友头像',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  `user_id2` bigint(20) NULL DEFAULT NULL COMMENT '好友id',
  `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户昵称',
  `user_name2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '好友昵称',
  `store_count` int(11) NULL DEFAULT 0 COMMENT '后台未读条数',
  `store_head` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '后台头像',
  `store_id` bigint(20) NULL DEFAULT NULL COMMENT '总后台id(总后台传0',
  `store_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商户昵称',
  PRIMARY KEY (`chat_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 113 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天会话' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of chats
-- ----------------------------

-- ----------------------------
-- Table structure for chats_content
-- ----------------------------
DROP TABLE IF EXISTS `chats_content`;
CREATE TABLE `chats_content`  (
  `chat_content_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '会话内容id',
  `chat_id` bigint(20) NULL DEFAULT NULL COMMENT '会话Id',
  `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '聊天内容',
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `send_type` bigint(20) NULL DEFAULT NULL COMMENT '消息来源（1用户消息 2好友消息）',
  `status` int(11) NULL DEFAULT 1 COMMENT '是否已读(1未读 2已读)',
  `type` int(1) NULL DEFAULT NULL COMMENT '类型（1文字 2图片 3链接）',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  `user_id2` bigint(20) NULL DEFAULT NULL COMMENT '好友id',
  `store_id` bigint(20) NULL DEFAULT NULL COMMENT '后台id（总后台传0）',
  PRIMARY KEY (`chat_content_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1143 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天会话内容' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of chats_content
-- ----------------------------

-- ----------------------------
-- Table structure for collect_artificer
-- ----------------------------
DROP TABLE IF EXISTS `collect_artificer`;
CREATE TABLE `collect_artificer`  (
  `collect_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '收藏',
  `artificer_id` int(11) NULL DEFAULT NULL COMMENT '订单id',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '用户id',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `classify` int(11) NULL DEFAULT NULL COMMENT '1收藏 2浏览记录',
  PRIMARY KEY (`collect_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1812 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '收藏' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of collect_artificer
-- ----------------------------

-- ----------------------------
-- Table structure for comment_fabulous
-- ----------------------------
DROP TABLE IF EXISTS `comment_fabulous`;
CREATE TABLE `comment_fabulous`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '点赞id',
  `taking_comment_id` bigint(20) NULL DEFAULT NULL COMMENT '接单评论id',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of comment_fabulous
-- ----------------------------

-- ----------------------------
-- Table structure for common_info
-- ----------------------------
DROP TABLE IF EXISTS `common_info`;
CREATE TABLE `common_info`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '配置文件id',
  `create_at` varchar(255) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL COMMENT '创建时间',
  `max` varchar(255) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL,
  `min` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '配置文件名称',
  `type` int(11) NULL DEFAULT NULL COMMENT '类型',
  `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '值',
  `condition_from` varchar(255) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL COMMENT '分类',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 378 CHARACTER SET = big5 COLLATE = big5_chinese_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of common_info
-- ----------------------------
INSERT INTO `common_info` VALUES (1, '2021-09-02 15:46:41', NULL, '客服二维码', 1, 'https://www.gomyorder.cn/custom.jpg', 'image');
INSERT INTO `common_info` VALUES (2, '2023-02-03 20:59:15', NULL, '公众号二维码', 2, 'https://taobao.xianmxkj.com/erweima.jpg', 'image');
INSERT INTO `common_info` VALUES (3, '2023-01-28 18:49:11', NULL, '微信公众号标题', 3, '公众号', 'weixin');
INSERT INTO `common_info` VALUES (4, '2023-01-28 18:49:11', NULL, '微信公众号内容', 4, '公众号内容', 'weixin');
INSERT INTO `common_info` VALUES (6, '2023-02-15 14:24:40', NULL, '微信公众号APPID	', 5, '', 'weixin');
INSERT INTO `common_info` VALUES (7, '2023-02-08 22:01:46', NULL, '短信签名', 6, '省钱兄', 'duanxin');
INSERT INTO `common_info` VALUES (16, '2023-02-15 14:24:44', NULL, '微信公众号秘钥	', 21, '', 'weixin');
INSERT INTO `common_info` VALUES (17, '2023-01-28 18:49:43', NULL, '公众号Token', 16, 'mxkj', 'weixin');
INSERT INTO `common_info` VALUES (18, '2023-01-28 18:49:58', NULL, '公众号EncodingAESKey	', 17, 'qD42ixTtLwDEvex9yg17YHHWkqGMxvQh8P3lRrBZ6Aq', 'weixin');
INSERT INTO `common_info` VALUES (20, '2023-02-03 20:54:30', NULL, '后台管理平台域名配置	', 20, 'https://anmoadmin.xianmxkj.com', 'xitong');
INSERT INTO `common_info` VALUES (21, '2023-02-03 20:54:37', NULL, 'h5服务域名配置	', 19, 'https://anmo.xianmxkj.com', 'xitong');
INSERT INTO `common_info` VALUES (22, '2020-07-27 15:17', NULL, '短信服务商（1 开启腾讯云 2 开启阿里云  3短信宝）', 79, '3', 'duanxin');
INSERT INTO `common_info` VALUES (23, '2023-02-08 22:01:26', NULL, '后台服务名称	', 12, '省钱兄', 'xitong');
INSERT INTO `common_info` VALUES (27, '2023-02-03 20:55:03', NULL, '通用APP下载地址	', 25, '11', 'xitong');
INSERT INTO `common_info` VALUES (33, '2021-03-15 21:19:27', NULL, '腾讯云短信clientId	', 31, '', 'duanxin');
INSERT INTO `common_info` VALUES (34, '2020-03-28 00:47', NULL, '腾讯云短信clientSecret	', 32, '', 'duanxin');
INSERT INTO `common_info` VALUES (47, '2020-03-29 00:21', NULL, '微信小程序APPID', 45, '', 'weixin');
INSERT INTO `common_info` VALUES (48, '2020-03-29 00:21', NULL, '微信小程序秘钥', 46, '', 'weixin');
INSERT INTO `common_info` VALUES (51, '2023-02-03 20:55:08', NULL, '分享安卓下载地址', 49, '11', 'xitong');
INSERT INTO `common_info` VALUES (52, '2023-02-03 20:55:16', NULL, '分享苹果下载地址', 50, '11', 'xitong');
INSERT INTO `common_info` VALUES (58, '2020-03-29 00:21', NULL, '开启微信登录', 53, '是', 'xitongs');
INSERT INTO `common_info` VALUES (69, '2023-01-30 18:22:19', NULL, 'APP消息推送PushAppKey', 60, 'j0qnxK8CHq5IPSAojkfNC4', 'push');
INSERT INTO `common_info` VALUES (70, '2023-01-30 18:22:14', NULL, 'APP消息推送PushAppId', 61, 'UNrMQr363kAeUwiO2HJa28', 'push');
INSERT INTO `common_info` VALUES (71, '2023-01-30 18:22:27', NULL, 'APP消息推送PushMasterSecret', 62, '8AlquOxOZx92p1iZ9nUV43', 'push');
INSERT INTO `common_info` VALUES (72, '2020-06-04 16:34', NULL, '企业支付宝APPID', 63, '', 'zhifubao');
INSERT INTO `common_info` VALUES (73, '2020-06-04 16:34', NULL, '企业支付宝公钥', 64, '', 'zhifubao');
INSERT INTO `common_info` VALUES (74, '2020-06-04 16:34', NULL, '企业支付宝商户秘钥', 65, '', 'zhifubao');
INSERT INTO `common_info` VALUES (77, '2021-03-15 21:22:30', NULL, '文件上传阿里云Endpoint', 68, 'https://oss-cn-beijing.aliyuncs.com', 'oss');
INSERT INTO `common_info` VALUES (78, '2021-03-15 21:22:38', NULL, '文件上传阿里云账号accessKeyId', 69, '', 'oss');
INSERT INTO `common_info` VALUES (79, '2021-03-15 21:22:46', NULL, '文件上传阿里云账号accessKeySecret', 70, '', 'oss');
INSERT INTO `common_info` VALUES (80, '2021-03-15 21:22:53', NULL, '文件上传阿里云Bucket名称', 71, 'shegnqx', 'oss');
INSERT INTO `common_info` VALUES (81, '2021-03-15 21:23:00', NULL, '文件上传阿里云Bucket域名', 72, 'https://shegnqx.oss-cn-beijing.aliyuncs.com', 'oss');
INSERT INTO `common_info` VALUES (83, '2020-07-27 15:17', NULL, '微信APPappId', 74, '', 'weixin');
INSERT INTO `common_info` VALUES (84, '2020-07-27 15:17', NULL, '微信商户key', 75, '', 'weixin');
INSERT INTO `common_info` VALUES (85, '2020-07-27 15:17', NULL, '微信商户号mchId', 76, '', 'weixin');
INSERT INTO `common_info` VALUES (96, '2020-07-27 15:17', NULL, '阿里云登陆或注册模板code（开启阿里云短信必须配置）', 80, 'SMS_200190994', 'duanxin');
INSERT INTO `common_info` VALUES (97, '2020-07-27 15:17', NULL, '阿里云找回密码模板code（开启阿里云短信必须配置）', 81, 'SMS_200176048', 'duanxin');
INSERT INTO `common_info` VALUES (98, '2020-07-27 15:17', NULL, '阿里云绑定手机号模板code（开启阿里云短信必须配置）', 82, 'SMS_200186024', 'duanxin');
INSERT INTO `common_info` VALUES (99, '2020-07-27 15:17', NULL, '阿里云短信accessKeyId', 83, '', 'duanxin');
INSERT INTO `common_info` VALUES (100, '2020-07-27 15:17', NULL, '阿里云短信accessSecret', 84, '', 'duanxin');
INSERT INTO `common_info` VALUES (101, '2021-02-24 18:46:57', NULL, '官方邀请码', 88, '666666', 'xitong');
INSERT INTO `common_info` VALUES (102, '2022-02-08 17:45:36', NULL, '支付宝转账方式 1支付宝证书  2支付宝秘钥 3手动', 98, '3', 'zhifubao');
INSERT INTO `common_info` VALUES (103, '2020-07-27 15:17', NULL, '阿里云快递查询AppCode', 103, '', 'xitong');
INSERT INTO `common_info` VALUES (130, '2021-12-03 16:21:05', NULL, '提现最低额度', 112, '10', 'fuwufei');
INSERT INTO `common_info` VALUES (134, '2023-02-14 19:55:58', NULL, '海报邀请语', 116, '一键下单 上门服务', 'xitong');
INSERT INTO `common_info` VALUES (154, '2020-11-04 10:31:40', NULL, '是否开启APP微信分享', 136, '否', 'weixins');
INSERT INTO `common_info` VALUES (159, '2021-11-02 14:53:27', NULL, 'H5推广是否分享APP下载页面', 141, '否', 'xitongs');
INSERT INTO `common_info` VALUES (170, '2021-12-03 16:51:14', NULL, '提现手续费', 152, '0.05', 'fuwufei');
INSERT INTO `common_info` VALUES (171, '2021-09-06 16:19:51', NULL, '最高提现金额', 153, '1000', 'fuwufei');
INSERT INTO `common_info` VALUES (182, '2020-07-27 15:17', NULL, '短信宝用户名', 164, '', 'duanxin');
INSERT INTO `common_info` VALUES (183, '2020-07-27 15:17', NULL, '短信宝密码', 165, '', 'duanxin');
INSERT INTO `common_info` VALUES (184, '2020-11-04 10:31:40', NULL, '支付宝证书路径', 200, 'E:\\gongzuo\\waimai-renwu\\src\\main\\resources\\zhifubao', 'zhifubao');
INSERT INTO `common_info` VALUES (185, '2020-11-04 10:31:40', NULL, '支付宝支付方式 1证书  2秘钥', 201, '2', 'zhifubao');
INSERT INTO `common_info` VALUES (201, '2021-08-14 19:10:04', NULL, '隐私政策', 176, '<p>本应用尊重并保护所有使用服务用户的个人隐私权。为了给您提供更准确、更有个性化的服务，本应用会按照本隐私权政策的规定使用和披露您的个人信息。但本应用将以高度的勤勉、审慎义务对待这些信息。除本隐私权政策另有规定外，在未征得您事先许可的情况下，本应用不会将这些信息对外披露或向第三方提供。本应用会不时更新本隐私权政策。 您在同意本应用服务使用协议之时，即视为您已经同意本隐私权政策全部内容。本隐私权政策属于本应用服务使用协议不可分割的一部分。</p><p>1. 适用范围</p><p>(a) 在您注册本应用帐号时，您根据本应用要求提供的个人注册信息；</p><p>(b) 在您使用本应用网络服务，或访问本应用平台网页时，本应用自动接收并记录的您的浏览器和计算机上的信息，包括但不限于您的IP地址、浏览器的类型、使用的语言、访问日期和时间、软硬件特征信息及您需求的网页记录等数据；</p><p>(c) 本应用通过合法途径从商业伙伴处取得的用户个人数据。</p><p>您了解并同意，以下信息不适用本隐私权政策：</p><p>(a) 您在使用本应用平台提供的搜索服务时输入的关键字信息；</p><p>(b) 本应用收集到的您在本应用发布的有关信息数据，包括但不限于参与活动、成交信息及评价详情；</p><p>(c) 违反法律规定或违反本应用规则行为及本应用已对您采取的措施。</p><p>2. 信息使用</p><p>(a)本应用不会向任何无关第三方提供、出售、出租、分享或交易您的个人信息，除非事先得到您的许可，或该第三方和本应用（含本应用关联公司）单独或共同为您提供服务，且在该服务结束后，其将被禁止访问包括其以前能够访问的所有这些资料。</p><p>(b) 本应用亦不允许任何第三方以任何手段收集、编辑、出售或者无偿传播您的个人信息。任何本应用平台用户如从事上述活动，一经发现，本应用有权立即终止与该用户的服务协议。</p><p>(c) 为服务用户的目的，本应用可能通过使用您的个人信息，向您提供您感兴趣的信息，包括但不限于向您发出产品和服务信息，或者与本应用合作伙伴共享信息以便他们向您发送有关其产品和服务的信息（后者需要您的事先同意）。</p><p>3. 信息披露</p><p>在如下情况下，本应用将依据您的个人意愿或法律的规定全部或部分的披露您的个人信息：</p><p>(a) 经您事先同意，向第三方披露；</p><p>(b)为提供您所要求的产品和服务，而必须和第三方分享您的个人信息；</p><p>(c) 根据法律的有关规定，或者行政或司法机构的要求，向第三方或者行政、司法机构披露；</p><p>(d) 如您出现违反中国有关法律、法规或者本应用服务协议或相关规则的情况，需要向第三方披露；</p><p>(e) 如您是适格的知识产权投诉人并已提起投诉，应被投诉人要求，向被投诉人披露，以便双方处理可能的权利纠纷；</p><p>(f) 在本应用平台上创建的某一交易中，如交易任何一方履行或部分履行了交易义务并提出信息披露请求的，本应用有权决定向该用户提供其交易对方的联络方式等必要信息，以促成交易的完成或纠纷的解决。</p><p>(g) 其它本应用根据法律、法规或者网站政策认为合适的披露。</p><p>4. 信息存储和交换</p><p>本应用收集的有关您的信息和资料将保存在本应用及（或）其关联公司的服务器上，这些信息和资料可能传送至您所在国家、地区或本应用收集信息和资料所在地的境外并在境外被访问、存储和展示。</p><p>5. Cookie的使用</p><p>(a) 在您未拒绝接受cookies的情况下，本应用会在您的计算机上设定或取用cookies ，以便您能登录或使用依赖于cookies的本应用平台服务或功能。本应用使用cookies可为您提供更加周到的个性化服务，包括推广服务。</p><p>(b) 您有权选择接受或拒绝接受cookies。您可以通过修改浏览器设置的方式拒绝接受cookies。但如果您选择拒绝接受cookies，则您可能无法登录或使用依赖于cookies的本应用网络服务或功能。</p><p>(c) 通过本应用所设cookies所取得的有关信息，将适用本政策。</p><p>6. 信息安全</p><p>(a) 本应用帐号均有安全保护功能，请妥善保管您的用户名及密码信息。本应用将通过对用户密码进行加密等安全措施确保您的信息不丢失，不被滥用和变造。尽管有前述安全措施，但同时也请您注意在信息网络上不存在“完善的安全措施”。</p><p>(b) 在使用本应用网络服务进行网上交易时，您不可避免的要向交易对方或潜在的交易对方披露自己的个人信息，如联络方式或者邮政地址。请您妥善保护自己的个人信息，仅在必要的情形下向他人提供。如您发现自己的个人信息泄密，尤其是本应用用户名及密码发生泄露，请您立即联络本应用客服，以便本应用采取相应措施。</p><p>7.本隐私政策的更改</p><p>(a)如果决定更改隐私政策，我们会在本政策中、本公司网站中以及我们认为适当的位置发布这些更改，以便您了解我们如何收集、使用您的个人信息，哪些人可以访问这些信息，以及在什么情况下我们会透露这些信息。</p><p>(b)本公司保留随时修改本政策的权利，因此请经常查看。如对本政策作出重大更改，本公司会通过网站通知的形式告知。</p>', 'xieyi');
INSERT INTO `common_info` VALUES (202, '2021-08-14 19:09:54', NULL, '注册协议', 177, '<p>尊敬的用户您好：在您使用本服务之前，请您认真阅读本用户协议，更好的了解我们所提供的服务以及您享有的权利义务。您开始使用时，即表示您已经了解并确认接受了本文件中的全部条款，包括我们对本服务条款随时做的任何修改。</p><p>一、协议的效力</p><p>本协议内容包括协议正文及所有已经发布或将来可能发布的各类规则。所有规则为本协议不可分割的组成部分，与协议正文具有同等法律效力。您承诺接受并遵守本协议的约定。如果您不同意本协议的约定，您应立即停止使用本平台服务。</p><p>二、用户行为规范</p><p>用户同意将不会利用本服务进行任何违法或不正当的活动，包括但不限于下列行为∶</p><p>发布或以其它方式传送含有下列内容之一的信息：</p><p>反对宪法所确定的基本原则的；</p><p>危害国家安全，泄露国家秘密，颠覆国家政权，破坏国家统一的；</p><p>损害国家荣誉和利益的；</p><p>煽动民族仇恨、民族歧视、破坏民族团结的；</p><p>破坏国家宗教政策，宣扬邪教和封建迷信的；</p><p>散布谣言，扰乱社会秩序，破坏社会稳定的；</p><p>散布淫秽、色情、赌博、暴力、凶杀、恐怖或者教唆犯罪的；</p><p>侮辱或者诽谤他人，侵害他人合法权利的；</p><p>含有虚假、诈骗、有害、胁迫、侵害他人隐私、骚扰、侵害、中伤、粗俗、猥亵、或其它道德上令人反感的内容；</p><p>含有当地法律、法规、规章、条例以及任何具有法律效力之规范所限制或禁止的其它内容的；</p><p>含有不适合在本平台展示的内容；</p><p>以任何方式危害他人的合法权益；</p><p>冒充其他任何人或机构，或以虚伪不实的方式陈述或谎称与任何人或机构有关；</p><p>将依据任何法律或合约或法定关系（例如由于雇佣关系和依据保密合约所得知或揭露之内部资料、专属及机密资料）知悉但无权传送之任何内容加以发布、发送电子邮件或以其它方式传送；</p><p>将侵害他人著作权、专利权、商标权、商业秘密、或其它专属权利（以下简称“专属权利”）之内容加以发布或以其它方式传送；</p><p>将任何广告信函、促销资料、“垃圾邮件”、““滥发信件”、“连锁信件”、“直销”或其它任何形式的劝诱资料加以发布、发送或以其它方式传送；</p><p>将设计目的在于干扰、破坏或限制任何计算机软件、硬件或通讯设备功能之计算机病毒（包括但不限于木马程序（trojan horses）、蠕虫（worms）、定时炸弹、删除蝇（cancelbots）（以下简称“病毒”）或其它计算机代码、档案和程序之任何资料，加以发布、发送或以其它方式传送；</p><p>干扰或破坏本服务或与本服务相连线之服务器和网络，或违反任何关于本服务连线网络之规定、程序、政策或规范；</p><p>跟踪、人肉搜索或以其它方式骚扰他人；</p><p>故意或非故意地违反任何适用的当地、国家法律，以及任何具有法律效力的规则；</p><p>未经合法授权而截获、篡改、收集、储存或删除他人个人信息、站内邮件或其它数据资料，或将获知的此类资料用于任何非法或不正当目的。</p><p>三、知识产权</p><p>本平台所有设计图样以及其他图样、产品及服务名称。任何人不得使用、复制或用作其他用途。未经我们许可，任何单位和个人不得私自复制、传播、展示、镜像、上载、下载、使用，或者从事任何其他侵犯我们知识产权的行为。否则，我们将追究相关法律责任。</p><p>我们鼓励用户充分利用平台自由地张贴和共享自己的信息，但这些内容必须位于公共领域内，或者用户拥有这些内容的使用权。同时，用户对于其创作并在本平台上发布的合法内容依法享有著作权及其相关权利。</p><p>四、免责声明</p><p>互联网是一个开放平台，用户将照片等个人资料上传到互联网上，有可能会被其他组织或个人复制、转载、擅改或做其它非法用途，用户必须充分意识此类风险的存在。用户明确同意其使用本服务所存在的风险将完全由其自己承担；因其使用本服务而产生的一切后果也由其自己承担，我们对用户不承担任何责任。</p><p>对于用户上传的照片、资料、证件等，已采用相关措施并已尽合理努力进行审核，但不保证其内容的正确性、合法性或可靠性，相关责任由上传上述内容的会员负责。</p><p>尽管已采取相应的技术保障措施 ，但用户仍有可能收到各类的广告信或其他不以招聘/应聘为目的邮件或其它方式传送的任何内容，本平台不承担责任。</p><p>对于各种广告信息、链接、资讯等，不保证其内容的正确性、合法性或可靠性，相关责任由广告商承担；用户通过本服务与广告商进行任何形式的通讯或商业往来，或参与促销活动，包含相关商品或服务之付款及交付，以及达成的其它任何相关条款、条件、保证或声明，完全为用户与广告商之间之行为，与本平台无关。用户因前述任何交易或前述广告商而遭受的任何性质的损失或损害，本平台不承担任何责任。</p><p>本平台不保证其提供的服务一定能满足用户的要求和期望，也不保证服务不会中断，对服务的及时性、安全性、准确性也都不作保证。对于因不可抗力或无法控制的原因造成的网络服务中断或其他缺陷，不承担任何责任。我们不对用户所发布信息的删除或储存失败承担责任。我们有权判断用户的行为是否符合本网站使用协议条款之规定，如果我们认为用户违背了协议条款的规定，我们有终止向其提供服务的权利。</p><p>本平台保留变更、中断或终止部分网络服务的权利。保留根据实际情况随时调整平台提供的服务种类、形式的权利。本平台不承担因业务调整给用户造成的损失。本平台仅提供相关服务，除此之外与本服务有关的设备（如电脑、调制解调器及其他与接入互联网有关的装置）及所需的费用（如为接入互联网而支付的电话费及上网费）均应由用户自行负担。</p>', 'xieyi');
INSERT INTO `common_info` VALUES (203, '2021-08-14 19:09:54', NULL, '关于我们', 187, '关于我们，有问题可以在线联系客服哦。', 'xieyi');
INSERT INTO `common_info` VALUES (204, '2023-02-14 18:46:11', NULL, '登录是否获取手机号', 188, '否', 'kaiguan');
INSERT INTO `common_info` VALUES (217, '2020-07-27 15:17', NULL, '腾讯地图key', 217, 'WI7BZ-YZCKF-U3BJQ-JUMBB-XUQ3E-UXFYU', 'xitong');
INSERT INTO `common_info` VALUES (234, '2020-11-04 10:31:40', NULL, '上传方式 1阿里云oss  2本地', 234, '2', 'oss');
INSERT INTO `common_info` VALUES (237, '2023-02-10 14:04:25', NULL, '是否开启公众号', 237, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (238, '2023-01-18 22:51:14', NULL, '小程序上架是否显示', 238, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (240, '2020-11-04 10:31:40', NULL, '是否开启腾讯云实名认证', 240, '否', 'kaiguan');
INSERT INTO `common_info` VALUES (241, '2022-02-12 10:52:01', NULL, '师傅实名认证保证金', 241, '0.01', 'fuwufei');
INSERT INTO `common_info` VALUES (243, '2023-01-16 16:32:08', NULL, '师傅端微信小程序APPID', 243, '', 'weixin');
INSERT INTO `common_info` VALUES (244, '2023-01-16 16:32:46', NULL, '师傅端微信小程序秘钥', 244, '', 'weixin');
INSERT INTO `common_info` VALUES (245, '2020-07-27 15:1', NULL, '师傅端微信商户key', 245, '', 'weixin');
INSERT INTO `common_info` VALUES (246, '2020-07-27 15:1', NULL, '师傅端微信商户号mchId', 246, '', 'weixin');
INSERT INTO `common_info` VALUES (247, '2020-07-27 15:1', NULL, '小程序师傅端下单成功通知', 247, 'wAOXHhPoQ-isu3K1yVZ4Tq5r-yYLnATaE7gJrn-_kJ8', 'weixin');
INSERT INTO `common_info` VALUES (248, '2020-07-27 15:1', NULL, '小程序用户端订单取消通知', 248, 'WCglVnYANPEXpKbdCZco7fi3y2pkhdsDMPQJhisycI4', 'weixin');
INSERT INTO `common_info` VALUES (249, '2020-07-27 15:1', NULL, '小程序师傅端完成订单通知', 249, 'D0J4daOvbKozN4EASyAUqNlM4euGlmGmHizx_nZeXnk', 'weixin');
INSERT INTO `common_info` VALUES (250, '2020-07-27 15:1', NULL, '小程序用户端完成订单通知', 250, 'tNylkp6qdVRHs8h0xmBKk_LbUrwTpZtBQGaXlfxMsik', 'weixin');
INSERT INTO `common_info` VALUES (251, '2020-07-27 15:1', NULL, '是否开启用户下单短信通知', 251, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (252, '2023-02-01 11:58:25', NULL, '用户端是否上线', 252, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (253, '2020-07-27 15:1', NULL, '商户端是否上线', 253, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (257, '2020-11-04 10:31:40', NULL, '身份验证SecretID', 257, 'AKIDcs5hbyp6hjweb38a443LDjz41d1dYdhhzw0', 'xitong');
INSERT INTO `common_info` VALUES (258, '2020-11-04 10:31:40', NULL, '身份验证SecretKey', 258, '7Q2WtQSSvr1PFhUMDEZ6C155mM61kP1ZCVt9ll78', 'xitongs');
INSERT INTO `common_info` VALUES (259, '2020-11-04 10:31:40', NULL, '身份验证实例ID', 259, 'market', 'xitong');
INSERT INTO `common_info` VALUES (260, '2020-07-27 15:17', NULL, '商户端微信APPappId', 260, '', 'weixin');
INSERT INTO `common_info` VALUES (261, '2021-12-02 18:32:06', NULL, '技师端域名', 261, 'https://anmoshop.xianmxkj.com', 'xitong');
INSERT INTO `common_info` VALUES (281, '2022-11-22 14:05:09', NULL, '新人优惠券', 281, '30', 'xitong');
INSERT INTO `common_info` VALUES (288, '2023-01-29 15:05:32', NULL, '阿里云语音通知accessKeyId', 288, '', 'duanxin');
INSERT INTO `common_info` VALUES (289, '2023-01-29 15:05:50', NULL, '阿里云语音通知accessKeySecret', 289, '', 'duanxin');
INSERT INTO `common_info` VALUES (290, '2023-01-29 15:02:36', NULL, '阿里云语音通知 1公共模式 2专属号码', 290, '1', 'duanxin');
INSERT INTO `common_info` VALUES (291, '2022-11-22 14:05:09', NULL, '阿里云语音通知专属号码（开启专属号码时填写）', 291, '', 'duanxin');
INSERT INTO `common_info` VALUES (292, '2023-01-29 15:02:31', NULL, '阿里云语音结束通知语音id', 292, 'TTS_268765011', 'duanxin');
INSERT INTO `common_info` VALUES (295, '2022-11-22 14:05:09', NULL, '邀请用户平台收益返利比例', 295, '0.1', 'fuwufei');
INSERT INTO `common_info` VALUES (296, '2023-01-14 16:49:21', NULL, '邀请师傅平台收益返利比例', 296, '0.2', 'fuwufei');
INSERT INTO `common_info` VALUES (297, '2023-02-14 18:38:30', NULL, '用户端是否上线2', 297, '否', 'kaiguan');
INSERT INTO `common_info` VALUES (298, '2023-02-15 09:20:41', NULL, '师傅端是否上线2', 298, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (299, '2023-01-18 16:17:29', NULL, '分享文案', 299, '快来下单吧,这里的技师很专业', 'xitong');
INSERT INTO `common_info` VALUES (300, '2023-01-17 18:05:41', NULL, '分享图片', 300, 'https://www.gomyorder.cn/custom.jpg', 'image');
INSERT INTO `common_info` VALUES (301, '2023-01-18 17:15:06', NULL, '用户端联系方式 1 手机号 2企业微信', 301, '1', 'kefu');
INSERT INTO `common_info` VALUES (302, '2023-01-18 18:01:46', NULL, '用户端客服手机号', 302, '0298949111', 'kefu');
INSERT INTO `common_info` VALUES (303, '2023-01-17 18:05:41', NULL, '用户端企业微信AppId', 303, 'https://www.gomyorder.cn/custom.jpg', 'kefu');
INSERT INTO `common_info` VALUES (304, '2023-01-17 18:05:41', NULL, '用户端企业微信链接', 304, 'https://www.gomyorder.cn/custom.jpg', 'kefu');
INSERT INTO `common_info` VALUES (305, '2023-01-18 17:15:16', NULL, '师傅端联系方式 1 手机号 2企业微信', 305, '1', 'kefu');
INSERT INTO `common_info` VALUES (306, '2023-01-19 09:26:45', NULL, '师傅端客服手机号', 306, '18329688001', 'kefu');
INSERT INTO `common_info` VALUES (307, '2023-01-17 18:05:41', NULL, '师傅端企业微信AppId', 307, 'https://www.gomyorder.cn/custom.jpg', 'kefu');
INSERT INTO `common_info` VALUES (308, '2023-01-17 18:05:41', NULL, '师傅端企业微信链接', 308, 'https://www.gomyorder.cn/custom.jpg', 'kefu');
INSERT INTO `common_info` VALUES (309, '2023-01-17 18:05:41', NULL, '小程序师傅端订单变更通知', 309, 'PwAgkSg5yXTlgihXVxX3mUHqn1nlwuFNaj_AhvoeRFo', 'weixin');
INSERT INTO `common_info` VALUES (310, '2023-01-29 15:02:25', NULL, '阿里云语音下单通知语音id', 310, 'TTS_268745013', 'duanxin');
INSERT INTO `common_info` VALUES (311, '2023-01-29 17:04:04', NULL, '是否开启阿里云语音通知', 311, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (312, '2022-11-22 14:05:09', NULL, '公众号客户下单通知', 312, 'v8UhV3ubj51dqr2ViRUkT-N6Noewa9_VQ86aGwg8ahk', 'weixin');
INSERT INTO `common_info` VALUES (313, '2022-11-22 14:05:09', NULL, '公众号取消订单提醒', 313, 'LZsF483Og56UtUyru-8hTKI3huNC7ZD2_WGmWCOef0c', 'weixin');
INSERT INTO `common_info` VALUES (314, '2022-11-22 14:05:09', NULL, '公众号订单完成通知', 314, '7MWmJM6y0EJIpQtAkkyMwL57z6i-Kak4Dep1ryKPK1Y', 'weixin');
INSERT INTO `common_info` VALUES (315, '2022-11-22 14:05:09', NULL, '公众号订单结束提醒', 315, '	TF2QDebLKsa2sOf6ErM72B5mOwOgMnJITrIfaXRTKOk', 'weixin');
INSERT INTO `common_info` VALUES (316, '2022-11-22 14:05:09', NULL, '订单结束通知提前分钟', 316, '5', 'xitong');
INSERT INTO `common_info` VALUES (317, '2022-11-22 14:05:09', NULL, '语音提醒方式 1文本转语音 2语音文件', 317, '1', 'duanxin');
INSERT INTO `common_info` VALUES (318, '2023-02-14 19:56:16', NULL, '是否支持外部浏览器', 318, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (319, '2022-11-22 14:05:09', NULL, '师傅是否可以可以自己修改服务', 319, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (320, '2022-11-22 14:05:09', NULL, '是否开启保证金', 320, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (321, '2023-02-14 19:38:03', NULL, '是否开启会员', 321, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (322, '2023-02-14 19:22:10', NULL, '是否开启推广', 322, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (323, '2020-06-04 16:34', NULL, '评论关键字过滤', 323, '年卡会员VIP同程vipVipVIPVIpvIPviPViP套套，情趣用品，避孕，男用，女用，成人用品，保健品，冈本杜蕾斯杰士邦第六感倍力乐诺丝多乐士斯香妮双一雨蝶玛尼仕，充气娃娃，娃娃充气阴蒂刺激超薄螺纹震动润滑女液体延时，月卡，季卡，年卡，会员卡，超级会员卡，会员，vipVipVIPVIpvIPviPViP套套，情趣用品，避孕，男用，女用，成人用品，保健品，冈本杜蕾斯杰士邦第六感倍力乐诺丝多乐士斯香妮双一雨蝶玛尼仕，充气娃娃，娃娃充气阴蒂刺激超薄螺纹震动润滑女液体延时，月卡，季卡，年卡，会员卡，超级会员卡，会员爱奇艺优酷QQqq百度网盘迅雷腾讯视频携程黑卡去哪儿饿了么美团tvTV芒果会员VIPVIP会员腾讯VIP，优酷VIP，同程VIP，爱奇艺VIP，芒果TV，腾讯TV，爱奇艺TV，优酷TV，TV成人情趣、计生、性保健品', 'xitong');
INSERT INTO `common_info` VALUES (324, '2023-02-17 20:43:44', NULL, '服务下单最远公里数', 324, '3000', 'fuwufei');
INSERT INTO `common_info` VALUES (325, '2020-06-04 16:34', NULL, '超时订单超出分钟', 325, '30', 'fuwufei');
INSERT INTO `common_info` VALUES (326, '2023-03-02 15:10:31', NULL, '提现底部提示', 326, '每月14和28号可提现,节假日顺延,其他时间无法提现', 'fuwufei');
INSERT INTO `common_info` VALUES (327, '2020-06-04 16:34', NULL, '水印文字', 327, '省钱兄', 'xitong');
INSERT INTO `common_info` VALUES (328, '2020-06-04 16:34', NULL, '商城配送方式', 328, '快递,自取,同城自取', 'xitong');
INSERT INTO `common_info` VALUES (329, '2020-06-04 16:34', NULL, '是否开启师傅端商城', 329, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (330, '2023-02-22 15:55:32', NULL, '商家地址', 330, '陕西省西安市雁塔区高新三路(雁塔区高新九号广场(高新三路西))', 'shop');
INSERT INTO `common_info` VALUES (331, '2020-06-04 16:34', NULL, '商家联系方式', 331, '13000000000', 'shop');
INSERT INTO `common_info` VALUES (332, '2020-06-04 16:34', NULL, '商家名称', 332, '我是商家', 'shop');
INSERT INTO `common_info` VALUES (333, '2023-02-22 15:55:34', 'null', '商家经纬度', 333, '34.23884745240398,108.89914512634277', 'shop');
INSERT INTO `common_info` VALUES (334, '2023-03-02 15:09:17', NULL, '提现日期（逗号间隔）', 334, '14,28', 'fuwufei');
INSERT INTO `common_info` VALUES (373, '2020-06-04 16:34', NULL, '完成订单需离开当前位置（m）', 373, '500', 'fuwufei');
INSERT INTO `common_info` VALUES (374, '2021-08-14 19:09:54', NULL, '师傅入驻协议', 374, '<p>尊敬的用户您好：在您使用本服务之前，请您认真阅读本用户协议，更好的了解我们所提供的服务以及您享有的权利义务。您开始使用时，即表示您已经了解并确认接受了本文件中的全部条款，包括我们对本服务条款随时做的任何修改。</p><p>一、协议的效力</p><p>本协议内容包括协议正文及所有已经发布或将来可能发布的各类规则。所有规则为本协议不可分割的组成部分，与协议正文具有同等法律效力。您承诺接受并遵守本协议的约定。如果您不同意本协议的约定，您应立即停止使用本平台服务。</p><p>二、用户行为规范</p><p>用户同意将不会利用本服务进行任何违法或不正当的活动，包括但不限于下列行为∶</p><p>发布或以其它方式传送含有下列内容之一的信息：</p><p>反对宪法所确定的基本原则的；</p><p>危害国家安全，泄露国家秘密，颠覆国家政权，破坏国家统一的；</p><p>损害国家荣誉和利益的；</p><p>煽动民族仇恨、民族歧视、破坏民族团结的；</p><p>破坏国家宗教政策，宣扬邪教和封建迷信的；</p><p>散布谣言，扰乱社会秩序，破坏社会稳定的；</p><p>散布淫秽、色情、赌博、暴力、凶杀、恐怖或者教唆犯罪的；</p><p>侮辱或者诽谤他人，侵害他人合法权利的；</p><p>含有虚假、诈骗、有害、胁迫、侵害他人隐私、骚扰、侵害、中伤、粗俗、猥亵、或其它道德上令人反感的内容；</p><p>含有当地法律、法规、规章、条例以及任何具有法律效力之规范所限制或禁止的其它内容的；</p><p>含有不适合在本平台展示的内容；</p><p>以任何方式危害他人的合法权益；</p><p>冒充其他任何人或机构，或以虚伪不实的方式陈述或谎称与任何人或机构有关；</p><p>将依据任何法律或合约或法定关系（例如由于雇佣关系和依据保密合约所得知或揭露之内部资料、专属及机密资料）知悉但无权传送之任何内容加以发布、发送电子邮件或以其它方式传送；</p><p>将侵害他人著作权、专利权、商标权、商业秘密、或其它专属权利（以下简称“专属权利”）之内容加以发布或以其它方式传送；</p><p>将任何广告信函、促销资料、“垃圾邮件”、““滥发信件”、“连锁信件”、“直销”或其它任何形式的劝诱资料加以发布、发送或以其它方式传送；</p><p>将设计目的在于干扰、破坏或限制任何计算机软件、硬件或通讯设备功能之计算机病毒（包括但不限于木马程序（trojan horses）、蠕虫（worms）、定时炸弹、删除蝇（cancelbots）（以下简称“病毒”）或其它计算机代码、档案和程序之任何资料，加以发布、发送或以其它方式传送；</p><p>干扰或破坏本服务或与本服务相连线之服务器和网络，或违反任何关于本服务连线网络之规定、程序、政策或规范；</p><p>跟踪、人肉搜索或以其它方式骚扰他人；</p><p>故意或非故意地违反任何适用的当地、国家法律，以及任何具有法律效力的规则；</p><p>未经合法授权而截获、篡改、收集、储存或删除他人个人信息、站内邮件或其它数据资料，或将获知的此类资料用于任何非法或不正当目的。</p><p>三、知识产权</p><p>本平台所有设计图样以及其他图样、产品及服务名称。任何人不得使用、复制或用作其他用途。未经我们许可，任何单位和个人不得私自复制、传播、展示、镜像、上载、下载、使用，或者从事任何其他侵犯我们知识产权的行为。否则，我们将追究相关法律责任。</p><p>我们鼓励用户充分利用平台自由地张贴和共享自己的信息，但这些内容必须位于公共领域内，或者用户拥有这些内容的使用权。同时，用户对于其创作并在本平台上发布的合法内容依法享有著作权及其相关权利。</p><p>四、免责声明</p><p>互联网是一个开放平台，用户将照片等个人资料上传到互联网上，有可能会被其他组织或个人复制、转载、擅改或做其它非法用途，用户必须充分意识此类风险的存在。用户明确同意其使用本服务所存在的风险将完全由其自己承担；因其使用本服务而产生的一切后果也由其自己承担，我们对用户不承担任何责任。</p><p>对于用户上传的照片、资料、证件等，已采用相关措施并已尽合理努力进行审核，但不保证其内容的正确性、合法性或可靠性，相关责任由上传上述内容的会员负责。</p><p>尽管已采取相应的技术保障措施 ，但用户仍有可能收到各类的广告信或其他不以招聘/应聘为目的邮件或其它方式传送的任何内容，本平台不承担责任。</p><p>对于各种广告信息、链接、资讯等，不保证其内容的正确性、合法性或可靠性，相关责任由广告商承担；用户通过本服务与广告商进行任何形式的通讯或商业往来，或参与促销活动，包含相关商品或服务之付款及交付，以及达成的其它任何相关条款、条件、保证或声明，完全为用户与广告商之间之行为，与本平台无关。用户因前述任何交易或前述广告商而遭受的任何性质的损失或损害，本平台不承担任何责任。</p><p>本平台不保证其提供的服务一定能满足用户的要求和期望，也不保证服务不会中断，对服务的及时性、安全性、准确性也都不作保证。对于因不可抗力或无法控制的原因造成的网络服务中断或其他缺陷，不承担任何责任。我们不对用户所发布信息的删除或储存失败承担责任。我们有权判断用户的行为是否符合本网站使用协议条款之规定，如果我们认为用户违背了协议条款的规定，我们有终止向其提供服务的权利。</p><p>本平台保留变更、中断或终止部分网络服务的权利。保留根据实际情况随时调整平台提供的服务种类、形式的权利。本平台不承担因业务调整给用户造成的损失。本平台仅提供相关服务，除此之外与本服务有关的设备（如电脑、调制解调器及其他与接入互联网有关的装置）及所需的费用（如为接入互联网而支付的电话费及上网费）均应由用户自行负担。</p>', 'xieyi');
INSERT INTO `common_info` VALUES (375, '2021-08-14 19:09:54', NULL, '是否开启师傅端实时定位', 375, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (376, '2021-08-14 19:09:54', NULL, '警告订单超出分钟', 376, '15', 'fuwufei');
INSERT INTO `common_info` VALUES (377, '2021-08-14 19:09:54', NULL, '用户是否可以取消订单', 377, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (378, '2023-01-29 15:05:50', NULL, '是否开启银联提现', 378, '否', 'kaiguan');
INSERT INTO `common_info` VALUES (379, '2023-01-29 15:05:50', NULL, '技师端首页是否弹框', 379, 'https://wap.quanmindaojia.com/file/uploadPath/2023/03/08/7e16e95fc5f3c0e95aff875fdb98c4f2.png', 'image');
INSERT INTO `common_info` VALUES (380, '2023-03-15 20:48:27', NULL, '技师端首页是否弹框', 380, '否', 'kaiguan');
INSERT INTO `common_info` VALUES (381, '2021-08-14 19:09:54', NULL, '技师初始化提成', 381, '0.7', 'fuwufei');
INSERT INTO `common_info` VALUES (382, '2021-08-14 19:09:54', NULL, '阿里云隐私号码池key', 382, '', 'duanxin');
INSERT INTO `common_info` VALUES (383, '2021-08-14 19:09:54', NULL, '是否开启阿里云隐私电话', 383, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (384, '2021-08-14 19:09:54', NULL, '技师取消订单信誉分单次扣除', 384, '2', 'fuwufei');
INSERT INTO `common_info` VALUES (385, '2021-08-14 19:09:54', NULL, '取消技师资格信誉分底线', 385, '60', 'fuwufei');
INSERT INTO `common_info` VALUES (386, '2023-01-29 15:05:32', NULL, '阿里云隐私号码池accessKeyId', 386, '', 'duanxin');
INSERT INTO `common_info` VALUES (387, '2023-01-29 15:05:50', NULL, '阿里云隐私号码池accessKeySecret', 387, '', 'duanxin');
INSERT INTO `common_info` VALUES (388, '2023-01-29 15:05:50', NULL, '自动取消时间', 388, '15', 'fuwufei');
INSERT INTO `common_info` VALUES (389, '2023-03-17 18:36:19', NULL, '是否开启微信提现', 389, '否', 'kaiguan');
INSERT INTO `common_info` VALUES (390, '2023-03-17 18:51:03', NULL, '是否开启为技师充值', 390, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (391, '2023-03-17 18:51:03', NULL, '下单协议', 391, '<p>尊敬的用户您好：在您使用本服务之前，请您认真阅读本用户协议，更好的了解我们所提供的服务以及您享有的权利义务。您开始使用时，即表示您已经了解并确认接受了本文件中的全部条款，包括我们对本服务条款随时做的任何修改。</p><p>一、协议的效力</p><p>本协议内容包括协议正文及所有已经发布或将来可能发布的各类规则。所有规则为本协议不可分割的组成部分，与协议正文具有同等法律效力。您承诺接受并遵守本协议的约定。如果您不同意本协议的约定，您应立即停止使用本平台服务。</p><p>二、用户行为规范</p><p>用户同意将不会利用本服务进行任何违法或不正当的活动，包括但不限于下列行为∶</p><p>发布或以其它方式传送含有下列内容之一的信息：</p><p>反对宪法所确定的基本原则的；</p><p>危害国家安全，泄露国家秘密，颠覆国家政权，破坏国家统一的；</p><p>损害国家荣誉和利益的；</p><p>煽动民族仇恨、民族歧视、破坏民族团结的；</p><p>破坏国家宗教政策，宣扬邪教和封建迷信的；</p><p>散布谣言，扰乱社会秩序，破坏社会稳定的；</p><p>散布淫秽、色情、赌博、暴力、凶杀、恐怖或者教唆犯罪的；</p><p>侮辱或者诽谤他人，侵害他人合法权利的；</p><p>含有虚假、诈骗、有害、胁迫、侵害他人隐私、骚扰、侵害、中伤、粗俗、猥亵、或其它道德上令人反感的内容；</p><p>含有当地法律、法规、规章、条例以及任何具有法律效力之规范所限制或禁止的其它内容的；</p><p>含有不适合在本平台展示的内容；</p><p>以任何方式危害他人的合法权益；</p><p>冒充其他任何人或机构，或以虚伪不实的方式陈述或谎称与任何人或机构有关；</p><p>将依据任何法律或合约或法定关系（例如由于雇佣关系和依据保密合约所得知或揭露之内部资料、专属及机密资料）知悉但无权传送之任何内容加以发布、发送电子邮件或以其它方式传送；</p><p>将侵害他人著作权、专利权、商标权、商业秘密、或其它专属权利（以下简称“专属权利”）之内容加以发布或以其它方式传送；</p><p>将任何广告信函、促销资料、“垃圾邮件”、““滥发信件”、“连锁信件”、“直销”或其它任何形式的劝诱资料加以发布、发送或以其它方式传送；</p><p>将设计目的在于干扰、破坏或限制任何计算机软件、硬件或通讯设备功能之计算机病毒（包括但不限于木马程序（trojan horses）、蠕虫（worms）、定时炸弹、删除蝇（cancelbots）（以下简称“病毒”）或其它计算机代码、档案和程序之任何资料，加以发布、发送或以其它方式传送；</p><p>干扰或破坏本服务或与本服务相连线之服务器和网络，或违反任何关于本服务连线网络之规定、程序、政策或规范；</p><p>跟踪、人肉搜索或以其它方式骚扰他人；</p><p>故意或非故意地违反任何适用的当地、国家法律，以及任何具有法律效力的规则；</p><p>未经合法授权而截获、篡改、收集、储存或删除他人个人信息、站内邮件或其它数据资料，或将获知的此类资料用于任何非法或不正当目的。</p><p>三、知识产权</p><p>本平台所有设计图样以及其他图样、产品及服务名称。任何人不得使用、复制或用作其他用途。未经我们许可，任何单位和个人不得私自复制、传播、展示、镜像、上载、下载、使用，或者从事任何其他侵犯我们知识产权的行为。否则，我们将追究相关法律责任。</p><p>我们鼓励用户充分利用平台自由地张贴和共享自己的信息，但这些内容必须位于公共领域内，或者用户拥有这些内容的使用权。同时，用户对于其创作并在本平台上发布的合法内容依法享有著作权及其相关权利。</p><p>四、免责声明</p><p>互联网是一个开放平台，用户将照片等个人资料上传到互联网上，有可能会被其他组织或个人复制、转载、擅改或做其它非法用途，用户必须充分意识此类风险的存在。用户明确同意其使用本服务所存在的风险将完全由其自己承担；因其使用本服务而产生的一切后果也由其自己承担，我们对用户不承担任何责任。</p><p>对于用户上传的照片、资料、证件等，已采用相关措施并已尽合理努力进行审核，但不保证其内容的正确性、合法性或可靠性，相关责任由上传上述内容的会员负责。</p><p>尽管已采取相应的技术保障措施 ，但用户仍有可能收到各类的广告信或其他不以招聘/应聘为目的邮件或其它方式传送的任何内容，本平台不承担责任。</p><p>对于各种广告信息、链接、资讯等，不保证其内容的正确性、合法性或可靠性，相关责任由广告商承担；用户通过本服务与广告商进行任何形式的通讯或商业往来，或参与促销活动，包含相关商品或服务之付款及交付，以及达成的其它任何相关条款、条件、保证或声明，完全为用户与广告商之间之行为，与本平台无关。用户因前述任何交易或前述广告商而遭受的任何性质的损失或损害，本平台不承担任何责任。</p><p>本平台不保证其提供的服务一定能满足用户的要求和期望，也不保证服务不会中断，对服务的及时性、安全性、准确性也都不作保证。对于因不可抗力或无法控制的原因造成的网络服务中断或其他缺陷，不承担任何责任。我们不对用户所发布信息的删除或储存失败承担责任。我们有权判断用户的行为是否符合本网站使用协议条款之规定，如果我们认为用户违背了协议条款的规定，我们有终止向其提供服务的权利。</p><p>本平台保留变更、中断或终止部分网络服务的权利。保留根据实际情况随时调整平台提供的服务种类、形式的权利。本平台不承担因业务调整给用户造成的损失。本平台仅提供相关服务，除此之外与本服务有关的设备（如电脑、调制解调器及其他与接入互联网有关的装置）及所需的费用（如为接入互联网而支付的电话费及上网费）均应由用户自行负担。</p>', 'xieyi');
INSERT INTO `common_info` VALUES (392, '2023-03-21 14:00:23', NULL, '忙时时间切换（只限输入 30半个小时 60一个小时）', 392, '30', 'fuwufei');
INSERT INTO `common_info` VALUES (393, '2023-03-21 14:00:23', NULL, '管理员手机号', 393, '', 'xitong');
INSERT INTO `common_info` VALUES (394, '2023-03-21 14:00:23', NULL, '是否开启打车费扣提成', 394, '否', 'kaiguan');
INSERT INTO `common_info` VALUES (395, '2023-03-21 14:00:23', NULL, '是否开启忙时按照项目时间计算', 395, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (396, '2023-03-21 14:00:23', NULL, '是否开启到钟短信提醒', 396, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (397, '2020-11-04 10:31:40', NULL, '腾讯云短信SecretId', 397, '', 'duanxin');
INSERT INTO `common_info` VALUES (398, '2020-11-04 10:31:40', NULL, '腾讯云短信SecretKey', 398, '', 'duanxin');
INSERT INTO `common_info` VALUES (399, '2020-11-04 10:31:40', NULL, '腾讯云短信登录或注册模板id', 399, '', 'duanxin');
INSERT INTO `common_info` VALUES (400, '2020-11-04 10:31:40', NULL, '腾讯云短信找回密码模板id', 400, '', 'duanxin');
INSERT INTO `common_info` VALUES (401, '2020-11-04 10:31:40', NULL, '腾讯云短信绑定手机号模板id', 401, '', 'duanxin');
INSERT INTO `common_info` VALUES (402, '2020-11-04 10:31:40', NULL, '腾讯云短信下单通知id', 402, '', 'duanxin');
INSERT INTO `common_info` VALUES (403, '2020-11-04 10:31:40', NULL, '腾讯云短信订单结束通知id', 403, '', 'duanxin');
INSERT INTO `common_info` VALUES (404, '2020-11-04 10:31:40', NULL, '腾讯云短信违规通知id', 404, '', 'duanxin');
INSERT INTO `common_info` VALUES (405, '2020-11-04 10:31:40', NULL, '腾讯云短信商家投诉扣除信誉分通知id', 405, '', 'duanxin');
INSERT INTO `common_info` VALUES (414, '2023-07-26 16:27:15', NULL, '地图方式 1腾讯 2天地图', 414, '1', 'xitong');
INSERT INTO `common_info` VALUES (415, '2023-07-26 16:27:15', NULL, '天地图key', 415, '', 'xitong');
INSERT INTO `common_info` VALUES (418, '2023-07-26 16:27:15', NULL, '阿里云隐私号码通话录音是否开启', 418, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (419, '2023-08-24 15:07:48', NULL, '取消订单扣除百分比', 419, '0', 'fuwufei');
INSERT INTO `common_info` VALUES (420, '2023-08-25 17:17:10', NULL, '开始服务是否需要上传照片', 420, '是', 'kaiguan');
INSERT INTO `common_info` VALUES (421, '2023-08-25 10:59:14', NULL, '技师详情顶部图高度', 421, '358', 'xitong');
INSERT INTO `common_info` VALUES (426, '2023-09-06 14:54:16', NULL, '是否开启来回车费', 426, '是', 'kaiguan');


-- ----------------------------
-- Table structure for consortia
-- ----------------------------
DROP TABLE IF EXISTS `consortia`;
CREATE TABLE `consortia`  (
  `consortia_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '商家id',
  `consortia_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商家名称',
  `consortia_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '商家公告',
  `logo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '头像 ',
  `identity_card` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '身份证号码',
  `identity_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '姓名',
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '电话',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '详细地址',
  `business_license` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '营业执照',
  `qualification_certificate` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '资质证书',
  `rate` decimal(10, 2) NULL DEFAULT NULL COMMENT '佣金',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '商家id',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`consortia_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 27 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of consortia
-- ----------------------------

-- ----------------------------
-- Table structure for coupon
-- ----------------------------
DROP TABLE IF EXISTS `coupon`;
CREATE TABLE `coupon`  (
  `coupon_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '优惠券id',
  `coupon_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '优惠券名称',
  `coupon_picture` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '优惠券图片',
  `end_date` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '有效期天数',
  `min_money` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '优惠券可使用订单最低金额',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠券金额',
  PRIMARY KEY (`coupon_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 31 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of coupon
-- ----------------------------
INSERT INTO `coupon` VALUES (25, '优惠券3', 'https://tcwm.xianmaxiong.com/file/uploadPath/2022/11/09/8bba4cef29578ebf87ad3c5842b25b10.jpeg', '3', '10', 6.00);
INSERT INTO `coupon` VALUES (26, '优惠券2', 'https://tcwm.xianmaxiong.com/file/uploadPath/2022/11/10/6a2ce793ba5d0c3de9e320ade9d89732.jpeg', '5', '8', 5.00);
INSERT INTO `coupon` VALUES (30, '优惠券1', 'https://xiyi.xianmxkj.com/file/uploadPath/2022/11/16/7019ded3ea9fdd8b5408a5f76736889a.png', '2', '2.01', 2.00);

-- ----------------------------
-- Table structure for coupon_card
-- ----------------------------
DROP TABLE IF EXISTS `coupon_card`;
CREATE TABLE `coupon_card`  (
  `coupon_card_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '卡密优惠券',
  `coupon_card_no` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '卡密',
  `coupon_card_type_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '卡密类型id',
  `status` int(11) NULL DEFAULT NULL COMMENT '状态 1待使用 2已领取',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '领取用户id',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`coupon_card_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of coupon_card
-- ----------------------------
INSERT INTO `coupon_card` VALUES (1, '123456', '1', 2, 69, '2020-12-12 12:12:12');
INSERT INTO `coupon_card` VALUES (2, '12345678', '1', 2, 154, '2020-12-12 12:12:12');
INSERT INTO `coupon_card` VALUES (3, '22345678', '1', 1, NULL, '2020-12-12 12:12:12');
INSERT INTO `coupon_card` VALUES (4, '32345678', '1', 1, NULL, '2020-12-12 12:12:12');
INSERT INTO `coupon_card` VALUES (12, '56922371', '4', 1, NULL, '2022-11-21 17:49:05');
INSERT INTO `coupon_card` VALUES (13, '68856586', '3', 2, 466, '2022-11-21 17:50:57');
INSERT INTO `coupon_card` VALUES (15, '57344411', '6', 2, 466, '2022-11-21 18:24:56');
INSERT INTO `coupon_card` VALUES (16, '80294664', '6', 1, NULL, '2022-11-21 18:24:56');
INSERT INTO `coupon_card` VALUES (17, '71057388', '7', 1, NULL, '2022-11-22 16:14:39');
INSERT INTO `coupon_card` VALUES (18, '16902027', '5', 2, 477, '2022-12-02 16:47:33');
INSERT INTO `coupon_card` VALUES (20, '87243665', '5', 2, 477, '2022-12-05 14:14:45');

-- ----------------------------
-- Table structure for coupon_card_type
-- ----------------------------
DROP TABLE IF EXISTS `coupon_card_type`;
CREATE TABLE `coupon_card_type`  (
  `coupon_card_type_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '卡密类型id',
  `coupon_card_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '卡密类型名称',
  `coupon_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '包含优惠券',
  `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '状态 1开启 2关闭',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`coupon_card_type_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of coupon_card_type
-- ----------------------------
INSERT INTO `coupon_card_type` VALUES (5, '专属卡密优惠券包', '30,26', '1', '2022-11-21 18:22:16');
INSERT INTO `coupon_card_type` VALUES (6, '单张优惠券', '25', '1', '2022-11-21 18:24:44');
INSERT INTO `coupon_card_type` VALUES (7, '11', '30', '2', '2022-11-22 16:14:32');

-- ----------------------------
-- Table structure for coupon_issue
-- ----------------------------
DROP TABLE IF EXISTS `coupon_issue`;
CREATE TABLE `coupon_issue`  (
  `coupon_issue_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '发布优惠券',
  `coupon_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '优惠券ids',
  `coupon_issue_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发布优惠券名称',
  `coupon_issue_image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发布优惠券图片',
  `coupon_content_image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '优惠券主页图',
  `classify` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类 1活动优惠券 2售卖优惠券',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '价格',
  `original_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '原价',
  `pay_notice` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '购买须知',
  `is_limit` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '是否限购',
  `coupon_num` int(11) NULL DEFAULT NULL COMMENT '发放数量',
  `status` int(11) NULL DEFAULT NULL COMMENT '状态 1开启 2关闭',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`coupon_issue_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of coupon_issue
-- ----------------------------

-- ----------------------------
-- Table structure for coupon_user
-- ----------------------------
DROP TABLE IF EXISTS `coupon_user`;
CREATE TABLE `coupon_user`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NULL DEFAULT NULL COMMENT '用户id',
  `coupon_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '优惠券名称',
  `coupon_picture` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '优惠券图片',
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '优惠券领取时间',
  `employ_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '优惠券使用时间',
  `expiration_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '优惠券过期时间',
  `min_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠券可使用订单最低金额',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠券金额',
  `status` int(11) NULL DEFAULT NULL COMMENT '优惠券状态 0正常  1已使用  2已失效',
  `end_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '有效天数',
  `coupon_issue_id` int(11) NULL DEFAULT NULL COMMENT '领取优惠券的活动id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2383 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of coupon_user
-- ----------------------------

-- ----------------------------
-- Table structure for game
-- ----------------------------
DROP TABLE IF EXISTS `game`;
CREATE TABLE `game`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '游戏id',
  `game_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '游戏名称',
  `status` int(2) NULL DEFAULT NULL COMMENT '0启用1删除\r\n',
  `game_img` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '游戏图分类图片',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of game
-- ----------------------------
INSERT INTO `game` VALUES (1, '金牌月嫂', 0, 'https://xxpw.xianmxkj.com/file/uploadPath/2021/11/11/049f584624cd7bcca4de6cec506da1fe.png', '2021-08-10 09:46:12', '2021-11-30 10:10:36');
INSERT INTO `game` VALUES (2, '做饭保姆', 0, 'https://xxpw.xianmxkj.com/file/uploadPath/2021/11/11/ce697f385af35bd4ac9ecd254801b815.png', '2021-08-10 09:46:12', '2021-11-11 17:51:43');
INSERT INTO `game` VALUES (3, '育婴儿师', 0, 'https://xxpw.xianmxkj.com/file/uploadPath/2021/11/11/3537f952650ad425ba974a1ec4a8bdbc.png', '2021-08-10 09:46:12', '2021-11-30 10:11:16');
INSERT INTO `game` VALUES (4, '钟点工', 0, 'https://xxpw.xianmxkj.com/file/uploadPath/2021/11/11/fbb61891331030a9f9bf61aa4041c7c6.png', '2021-08-10 09:46:12', '2021-11-30 10:11:33');
INSERT INTO `game` VALUES (5, '护工护理', 0, 'https://xxpw.xianmxkj.com/file/uploadPath/2021/11/05/91fe0a53bce1db7b00cf14590796a16c.png', '2021-08-10 09:46:12', '2021-11-30 10:11:46');

-- ----------------------------
-- Table structure for goods
-- ----------------------------
DROP TABLE IF EXISTS `goods`;
CREATE TABLE `goods`  (
  `goods_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '商品id',
  `goods_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商品标题',
  `longitude` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '经度',
  `latitude` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '纬度',
  `address` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址',
  `title_img` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '封面图',
  `img` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '详情图',
  `sum_num` int(11) NULL DEFAULT NULL COMMENT '总数量',
  `end_num` int(11) NULL DEFAULT NULL COMMENT '剩余数量',
  `goods_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品价格',
  `member_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员满',
  `member_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员返',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '普通用户满',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '普通用户返',
  `start_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '开始时间',
  `end_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '结束时间',
  `classify` int(11) NULL DEFAULT NULL COMMENT '分类 1 饿了么  2美团',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '类型',
  `num_star` int(11) NULL DEFAULT NULL COMMENT '几颗星',
  `num_img` int(11) NULL DEFAULT NULL COMMENT '几张图',
  `num_word` int(11) NULL DEFAULT NULL COMMENT '多少字',
  `remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '备注  富文本',
  `url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '小程序跳转参数',
  `status` int(11) NULL DEFAULT NULL COMMENT '1 上架 2下架',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `province` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '省',
  `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '市',
  `district` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '区',
  `activity_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '金刚区分类',
  `is_goods` int(11) NULL DEFAULT NULL COMMENT '是否是精选商品  0否 1是',
  `scope` int(11) NULL DEFAULT NULL COMMENT '范围',
  `member_privilege` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '会员权益',
  `privilege` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '普通用户权益',
  `describes` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '门店介绍',
  `shop_describe` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商家介绍',
  `phone` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '电话',
  PRIMARY KEY (`goods_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 180 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of goods
-- ----------------------------
INSERT INTO `goods` VALUES (167, '德尚铭车北郊店', '108.9389', '34.35836', '凤城十 二路与文景路 十字西北角', 'https://audi.xianmxkj.com/img/20210625/678e2042e0024788949631e1c201fdcf.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '08:30:00', '23:40:00', NULL, 23, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-25 10:42:07', '陕西省', '西安市', '未央区', '21', 1, NULL, '会标成员西安市内救援:免费,会标成员刷新隐藏功能:免费,会标成员享受水蜡洗车:每月免费洗车一次,会标成员享受补胎项目:免费,会标成员车辆水蜡洗车:30元/次,会标成员享受添加玻璃水:全年免费', '非车标成员车辆水蜡洗车:60元/次', '<p>首次进店的会标成员免费洗车</p>', '<p>1.会员享受西安市内免费救援.免费刷新隐藏功能.享受每月免费一次水蜡洗车</p><p>2.享受全年免费添加玻璃水.享受每年两次免费钻石打蜡.每年免费补胎项目</p><p>3.贴标车辆水蜡洗车30元</p>', '13227737503');
INSERT INTO `goods` VALUES (168, '新旅程汽车服务连锁（长安区）', '108.937935', '34.158966', '长兴北路乔家 村西门对面', 'https://audi.xianmxkj.com/img/20210625/de5fddb4e1a443bb84b3d5911f477767.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '08:52:46', '23:52:46', NULL, 25, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-25 13:53:37', '陕西省', '西安市', '长安区', '34', 1, NULL, '1.会标成员西安市内救援:免费,2.会标成员全年补胎:免费,3.会标成员四轮换位一次:免费,4.会标成员全年加玻璃水:免费,5.会标成员全年加防冻液，刹车油:免费,会标成员全年检测 :免费', '', '<p>每月可免费享 受一次德式三 星洗车(其他时 间洗车可享受 店内会员价)</p>', '<p>1.会员每月免费享受一次德式三星洗车</p><p>2.西安市内免费救援.全年免费补胎</p><p>3.免费四轮换位一次.全年免费加玻璃水</p><p>4.全年免费加防冻液刹车油.全年免费检测</p>', '18392119256');
INSERT INTO `goods` VALUES (169, '美德豪华汽服（大雁塔）', '108.948051', '34.225315', '雁南一路与慈恩西路东北角海港城9街负一层', 'https://audi.xianmxkj.com/img/20210628/6b6744ade4f44840b941c92a04bc7413.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '09:16:53', '23:16:53', NULL, 24, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-28 14:26:29', '陕西省', '西安市', '雁塔区', '33', 1, NULL, '1.会标成员常规保养4缸:350 元,2.会标成员常规保养6缸:500 元,3.会标成员四轮定位:每年一次,4.会标成员补胎:全年不限次,5.会标成员加玻璃水:不限次数,6.会标成员全车油液（机油、刹车油、防冻液）:免费添加,7.会标成员西安市内救援:免费,8.会标成员全车检查:不限次数,9.会标成员电脑诊断 :不限次数,10.会标成员天窗轨道清洁润滑:免费,11.会标成员洗车:38 元/次', '店面洗车价:98 元/次', '<p>首次进店的会标成员免费洗车</p>', '<p>1. 常规保养4缸350常规保养6缸500元</p><p>2.每年一次四轮定位.全年不限次数补胎</p><p>3.不限次数加玻璃水.免费添加全车油液</p><p>4.西安市内免费救援</p><p>5.不限次数全车检查.不限次数电脑诊断</p><p>6.天窗轨道清洁润滑</p><p>7.贴标洗车38元/次 首次进店的会标成员免费洗车</p>', '15686085315');
INSERT INTO `goods` VALUES (170, 'HG 省代.奥嘉 车改俱乐部', '108.830551', '34.274097', '水厂东路 65 号奥嘉车改', 'https://audi.xianmxkj.com/img/20210628/5351885f8535480a9b38480ee1a1125c.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '17:35:15', '18:35:15', NULL, 24, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-28 17:35:19', '陕西省', '西安市', '未央区', '33', 1, NULL, '会标成员洗车:全年免费,会标成员发放熏黑尾灯膜一套 （价值 128）:免费', '', '<p>每个月初会群里举行抽奖活动，中网、碳纤维材质配件、免费保养等，价值 1000 到 3000+不等</p><p>仅限会标车主参与！</p>', '<p>1.终生免费洗车，每位会标成员发放熏黑尾灯膜一套！ 价值128！</p><p>2.每个月月初会在线上举行抽奖活动，中网 碳纤维材质配件&nbsp;免费保养等，仅限会标群发起抽奖！</p>', '18066607700');
INSERT INTO `goods` VALUES (171, '途虎养车', '108.936653', '34.306728', '文 景路 89 号唐安 酒店院内。（延 长石油小区对 面）', 'https://audi.xianmxkj.com/img/20210629/c76ebed28d2447f4b99443e29dc23e95.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '08:34:29', '23:34:29', NULL, 24, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-29 17:36:06', '陕西省', '西安市', '未央区', '33', 1, NULL, '会标成员添加玻璃水:终身免费,会标成员加充氮气:免费,会标成员臭氧消毒杀菌:免费,会标成员全车电脑检测:会标成员全车电脑检测,会标成员进店赠品牌机滤一个:仅限首次，只 可店内使用,会标成员小保养:终身免工时,会标成员维修工时:5 折,会标成员享受全年洗车机清洗:免费,会标成员享受全车内外清洁:19.9 元,会标成员享受美容项目:全部 5 折优惠,会标成员享受提供西安市救援:免费,会标成员轮胎换位:免费', '', '<p>会标成员享受全年洗车机清洗 免费&nbsp;</p>', '<p>1.会标车主玻璃水终身免费加，</p><p>免费臭氧消毒杀菌 免费加充氮气 免费全车电脑检测终身小保养免工时</p><p>2.会标车主享受全年洗车机免费清洗，美容项目全部5折优惠。提供免费救援.提供免费轮胎换位</p>', '13669251588');
INSERT INTO `goods` VALUES (172, '圣佳膜咖直营店.3M直营店', '108.896896', '34.269058', '大庆路', 'https://audi.xianmxkj.com/img/20210629/68d95be6f7fe47e79430a84400239728.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '08:44:04', '21:44:04', NULL, 25, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-29 17:44:56', '陕西省', '西安市', '莲湖区', '34', 1, NULL, '会标成员首月三次车辆精洗:免费', '', '<p>设置有陕西奥迪俱乐部专属休息室</p>', '<p>&nbsp;首月免费三次车辆精洗 提供免费饮料零食 ，设置有陕西奥迪俱乐部专属休息室</p>', '13227737503');
INSERT INTO `goods` VALUES (173, '海底捞', '108.94878', '34.22259', '雁塔区', 'https://audi.xianmxkj.com/img/20210629/57a9f9a2285a491bbf8d13c029346ebd.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '10:46:54', '18:46:54', NULL, 29, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-29 17:47:58', '陕西省', '西安市', '雁塔区', '45', 1, NULL, '', '', '<p>登陆俱乐部会员，优先用餐，8折优惠！（只可在西安地区登陆）</p>', '<p>登陆俱乐部会员，无需 排队，全国范围内 8.8 折，西安 8 折！&nbsp;</p>', '18511013000');
INSERT INTO `goods` VALUES (174, '蓬盛实弹射击俱乐部', '108.93425', '34.23053', '碑林区', 'https://audi.xianmxkj.com/img/20210629/aea36c11ad644d45955237fd25b94633.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '11:49:07', '18:49:07', NULL, 27, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-29 17:50:27', '陕西省', '西安市', '碑林区', '45', 1, NULL, '', '', '<p>提前联系翟经理，提供 姓名，电话，开卡，免 枪支使用费，卡里内赠 10 发小口径。&nbsp;</p><p>来玩的时候携带身份证原件， 酒后不可体验。享受 VIP 待 遇，专人服务！</p>', '<p>&nbsp;凭标无枪械使用费 进店赠送十发小口经子弹！享受VIP待遇，专人服务！户外打猎体验优先待遇！</p>', '15102910683');
INSERT INTO `goods` VALUES (175, '西安骏茂超跑豪车俱乐部 ', '108.89075', '34.22847', '科技一路 58 号', 'https://audi.xianmxkj.com/img/20210629/d8f4668a8b8745989f120b375095f921.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '08:54:55', '18:54:55', NULL, 27, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-29 17:55:08', '陕西省', '西安市', '雁塔区', '45', 1, NULL, '', '', '<p>所有俱乐部会标成员租车免押金，享受免费送取车服务，所有车型9折优惠！</p>', '<p>(价格很透明)针对俱乐 部成员所有车型 8.8 折 优惠，包月低至 7.6 折，跑车、轿车、越野 车、商务车皆可安排。</p>', '13468666789');
INSERT INTO `goods` VALUES (176, 'K歌.Club (南郊延平门地铁口)', '108.891121', '34.237465', '南郊延平门 地铁口', 'https://audi.xianmxkj.com/img/20210629/2889dc38a5ee436a81b368d82f1d20db.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '08:56:21', '18:56:21', NULL, 27, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-29 17:57:55', '陕西省', '西安市', '雁塔区', '45', 1, NULL, '', '', '<p>入店即送酒水一打，赠送三份小吃，果盘无限续！ 注:无最低消费。</p>', '<p>入店即送酒水一打，赠送三份小吃，果盘无限续！ 注:无最低消费。</p>', '15596750333');
INSERT INTO `goods` VALUES (177, '星绽放KTV (南郊群贤路群贤广场4F)', '108.894867', '34.245296', '南郊群贤路 群贤广场 4F', 'https://audi.xianmxkj.com/img/20210629/e79e85895ca14500afe8386704694f81.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '08:58:33', '18:58:33', NULL, 27, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-29 17:59:22', '陕西省', '西安市', '雁塔区', '45', 1, NULL, '', '', '<p>会标成员入店即送酒水一打，绿茶一壶&nbsp;果盘无限续！ 小吃无限续！酒水买二送一 注:无最低消费！</p>', '<p>会标成员入店即送酒水一打，绿茶一壶&nbsp;果盘无限续！ 小吃无限续！酒水买二送一 注:无最低消费！</p>', '15809189795');
INSERT INTO `goods` VALUES (178, '希瑞格酒店', '108.93895', '34.218658', '朱雀大街南 段城市立方 G1 号楼', 'https://audi.xianmxkj.com/img/20210629/b63ad4c81d094dd3bea6ededf230da39.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '06:00:15', '19:00:15', NULL, 30, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-29 18:02:34', '陕西省', '西安市', '碑林区', '45', 1, NULL, '', '', '<p>会标成员下午茶用餐等八折，住店赠送早餐俩份，入住所有房型八折优惠，退房延迟至16:00 入住高级房型免费升级豪华房型</p>', '<p>会标成员下午茶用餐等八折，住店赠送早餐俩份，入住所有房型八折优惠，退房延迟至16:00 入住高级房型免费升级豪华房型</p>', '15280212995');
INSERT INTO `goods` VALUES (179, 'STEK漆面膜陕西总代理(美德)', '108.93425', '34.23053', '碑林区', 'https://audi.xianmxkj.com/img/20210629/d8cd3bb1f78d4a97a1767b776299d873.png', 'https://audi.xianmxkj.com/img/20210629/72c18fde7ee443fab23e1ea46791f9e3.png', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '07:09:32', '19:09:32', NULL, 27, NULL, NULL, NULL, NULL, NULL, 1, '2021-06-29 18:10:36', '陕西省', '西安市', '碑林区', '45', 1, NULL, '加玻璃水:全年免费,西安市救援:终身免费,补胎:终身免费,四轮动平衡:终身免费,享受会员价:28元/次,价值1280元4个B柱车衣保护膜:免费赠送,价值880元前大灯透明保护膜一对:免费赠送,贴车衣膜面养护:终身免费,贴车衣，局部小刮擦修补:终身免费,基础保养会员价4杠:350元/次', '', '<p>全年免费加玻璃水</p>', '<p>全年免费加玻璃水</p>', '15280212995');

-- ----------------------------
-- Table structure for goods_type
-- ----------------------------
DROP TABLE IF EXISTS `goods_type`;
CREATE TABLE `goods_type`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '商品类型id',
  `create_at` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '类型名称',
  `img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '图片',
  `parent_id` bigint(20) NULL DEFAULT NULL COMMENT '上级类型id',
  `sort` int(11) NULL DEFAULT NULL COMMENT '排序',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 56 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of goods_type
-- ----------------------------
INSERT INTO `goods_type` VALUES (10, '2021-06-25 10:21:46', '男装', 'https://www.gomyorder.cn/img/20200910/a04b841a1e474c16b589b8e2d3b7843e.png', 0, 1);
INSERT INTO `goods_type` VALUES (12, '2020-09-14 10:51:10', '女装', 'https://www.gomyorder.cn/img/20200910/5a75277d953b4da7a0f89939cc111e64.jpg', 0, 2);
INSERT INTO `goods_type` VALUES (13, '2020-09-14 10:50:59', '衬衫', 'https://www.gomyorder.cn/img/20200910/996b1adeac924abc99404a01e45cb091.jpg', 10, 1);
INSERT INTO `goods_type` VALUES (14, '2020-09-10 14:44:00', '袜子', 'https://www.gomyorder.cn/img/20200910/4c8d907c6d6946c38efbfe786e29ef06.png', 10, 2);
INSERT INTO `goods_type` VALUES (20, '2020-09-14 10:51:17', '童装', 'https://www.gomyorder.cn/img/20200910/135b92402aaa45de882fcb24ccf6aade.png', 0, 3);
INSERT INTO `goods_type` VALUES (21, '2020-09-10 14:45:24', '鞋子', 'https://www.gomyorder.cn/img/20200910/dc1fd03916e743f0a3adce976df05fd2.png', 20, 1);
INSERT INTO `goods_type` VALUES (23, '2020-09-14 10:51:24', '大家电', 'https://www.gomyorder.cn/img/20200910/ff31a115b22f4101a43fee026ce3335e.png', 0, 4);
INSERT INTO `goods_type` VALUES (29, '2020-09-14 14:12:29', '裤子', 'https://www.gomyorder.cn/img/20200914/b4b2551e0dc044be8d4ec5b0141eade7.png', 12, 1);
INSERT INTO `goods_type` VALUES (30, '2020-09-14 14:13:31', '上衣', 'https://www.gomyorder.cn/img/20200914/e14f254f3d04429995744407c03c4d2e.png', 12, 2);
INSERT INTO `goods_type` VALUES (31, '2020-11-30 11:05:10', '瓜果蔬菜', 'https://www.gomyorder.cn/img/20201130/2204b0202e1d4cde8dfdb1839a98c7de.png', 0, 5);
INSERT INTO `goods_type` VALUES (32, '2020-11-30 11:07:05', '苹果', 'https://www.gomyorder.cn/img/20201130/e1286331a4164c8ab7407e60b4fb5f43.png', 31, 5);
INSERT INTO `goods_type` VALUES (33, '2020-11-30 11:08:25', '电视', 'https://www.gomyorder.cn/img/20201130/5a0ff54a5b5745a3b31b1a22f53cc965.png', 23, 5);
INSERT INTO `goods_type` VALUES (34, '2020-11-30 11:10:45', '电子产品', 'https://www.gomyorder.cn/img/20201130/5db7ed61748d4383ae38b7469fce01ac.png', 23, 5);
INSERT INTO `goods_type` VALUES (42, '2021-04-07 14:11:55', '坚果', 'https://tk.gomyorder.cn/img/20210407/d418f717a76b4683bd911583bdab89f8.jpg', 0, 6);
INSERT INTO `goods_type` VALUES (43, '2021-04-07 14:12:51', '麻花', 'https://tk.gomyorder.cn/img/20210407/056a1d7ba629457d88a875788ad008de.jpg', 42, 12);
INSERT INTO `goods_type` VALUES (44, '2021-04-19 21:21:19', '测试', '', 23, 1);
INSERT INTO `goods_type` VALUES (46, '2021-08-10 18:01:59', '衣服', 'https://tk.gomyorder.cn/img/20210628/9697c4f2ba3d4a878c16cfbdf664e470.png', 0, 0);
INSERT INTO `goods_type` VALUES (48, '2021-06-28 15:27:42', '衬衫', 'https://tk.gomyorder.cn/img/20210628/3149b3330050452caa2259b8aa98e434.png', 46, 1);
INSERT INTO `goods_type` VALUES (51, '2021-08-10 17:53:28', '书籍类', 'https://audi.xianmxkj.com/img/20210810/b7e259e4fa7d4fd793f34526a58f02a7.jpg', 0, 1);
INSERT INTO `goods_type` VALUES (52, '2021-08-10 17:53:11', '小孩书籍', 'https://sac.xianmxkj.com/img/20210810/e4ce41a616da4f1daca94fdbed6f42ad.jpg', 51, 1);
INSERT INTO `goods_type` VALUES (53, '2021-08-10 18:03:54', '大孩子书籍', 'https://sac.xianmxkj.com/img/20210810/b7f9db9314d44a07a5cdb37ac7533876.jpg', 51, 1);
INSERT INTO `goods_type` VALUES (54, '2022-05-19 10:13:09', '日用品', 'https://rwshop.xianmxkj.com/file/uploadPath/2022/05/19/9d8f26344499e8f68a4ca33b44db4708.png', 0, 1);
INSERT INTO `goods_type` VALUES (55, '2022-05-19 10:13:31', '垃圾桶', 'https://rwshop.xianmxkj.com/file/uploadPath/2022/05/19/d00844556000c25ad51e26ff1e00c4cf.png', 54, 1);

-- ----------------------------
-- Table structure for help_classify
-- ----------------------------
DROP TABLE IF EXISTS `help_classify`;
CREATE TABLE `help_classify`  (
  `help_classify_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '帮助中心分类',
  `help_classify_name` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类名称',
  `sort` int(11) NULL DEFAULT NULL COMMENT '排序',
  `parent_id` int(11) NULL DEFAULT NULL COMMENT '上级id',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `types` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`help_classify_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of help_classify
-- ----------------------------
INSERT INTO `help_classify` VALUES (7, '登录问题', 0, NULL, '2022-07-06', 1);
INSERT INTO `help_classify` VALUES (8, '商家端入驻申请流程', 0, NULL, '2022-07-06', 2);
INSERT INTO `help_classify` VALUES (9, '商家端怎么发起服务？', 0, NULL, '2022-07-06', 2);
INSERT INTO `help_classify` VALUES (10, '充值问题', 1, NULL, '2023-01-18 17:24:09', 1);

-- ----------------------------
-- Table structure for help_word
-- ----------------------------
DROP TABLE IF EXISTS `help_word`;
CREATE TABLE `help_word`  (
  `help_word_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '帮助文档id',
  `help_word_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '帮助标题',
  `help_word_content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '帮助文档内容',
  `help_classify_id` int(11) NULL DEFAULT NULL COMMENT '帮助分类id',
  `sort` int(11) NULL DEFAULT NULL COMMENT '排序',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`help_word_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of help_word
-- ----------------------------
INSERT INTO `help_word` VALUES (1, '为什么提示不支持打开非业务域名', '因为所以科学道理', 2, 1, '2020-12-12 12:12:12');
INSERT INTO `help_word` VALUES (2, '文件类课间如何保存', '不知道', 2, 2, '2020-12-12 12:12:12');
INSERT INTO `help_word` VALUES (3, '已报名的活动可以取消吗', '可以，需要扣除百分之20', 3, 1, '2020-12-12 12:12:12');
INSERT INTO `help_word` VALUES (7, '报名活动呀呀呀呀', '<p>报名活动呀呀呀呀报名活动呀呀呀呀报名活动呀呀呀呀报名活动呀呀呀呀报名活动呀呀呀呀报名活动呀呀呀呀报名活动呀呀呀呀报名活动呀呀呀呀报名活动呀呀呀呀</p>', 6, 0, '2022-07-05');
INSERT INTO `help_word` VALUES (8, '怎么登录呢？', '<p>微信授权即可登录<img src=\"https://jiazheng.xianmxkj.com/file/uploadPath/2022/07/06/0e9d093abb26f9bc85be36e3a206bff5.png\"></p>', 7, 0, '2023-01-18 17:17:48');
INSERT INTO `help_word` VALUES (9, '商户怎么入驻呢？', '<p>登录首页 点击：我要入驻</p>', 8, 1, '2022-10-31 14:46:27');
INSERT INTO `help_word` VALUES (10, '额鹅鹅鹅', '<p>额鹅鹅鹅</p>', 8, 0, '2022-10-31 14:49:57');
INSERT INTO `help_word` VALUES (11, '如何充值提现呢?', '<p>如何充值提现呢?充值充值</p>', 10, 0, '2023-01-18 17:25:03');

-- ----------------------------
-- Table structure for invite
-- ----------------------------
DROP TABLE IF EXISTS `invite`;
CREATE TABLE `invite`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '邀请者id',
  `invitee_user_id` int(11) NULL DEFAULT NULL COMMENT '被邀请者id',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '收益',
  `create_time` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `money_type` int(1) NULL DEFAULT NULL COMMENT '1会员2陪玩',
  `state` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 803 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '邀请信息' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of invite
-- ----------------------------

-- ----------------------------
-- Table structure for invite_money
-- ----------------------------
DROP TABLE IF EXISTS `invite_money`;
CREATE TABLE `invite_money`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '收益钱包id',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '用户id',
  `money_sum` decimal(10, 2) NULL DEFAULT NULL COMMENT '总获取收益',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '当前金额',
  `cash_out` decimal(10, 2) NULL DEFAULT NULL COMMENT '累计提现',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 135 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of invite_money
-- ----------------------------

-- ----------------------------
-- Table structure for massage_type
-- ----------------------------
DROP TABLE IF EXISTS `massage_type`;
CREATE TABLE `massage_type`  (
  `massage_type_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '按摩类型id',
  `massage_img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题',
  `content` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '内容',
  `old_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '原价',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '现价',
  `member_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员价',
  `artificer_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '技师价',
  `duration` int(11) NULL DEFAULT NULL COMMENT '时长',
  `sales` int(11) NULL DEFAULT NULL COMMENT '销量',
  `is_sex` int(11) NULL DEFAULT NULL COMMENT '是否限制性别 0不限制 1男 2女',
  `status` int(11) NULL DEFAULT NULL COMMENT '状态 1上 2下',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '城市',
  `content_img` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '详情图',
  `labels` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标签逗号隔开',
  `parent_id` int(11) NULL DEFAULT NULL COMMENT '下级id 加钟项目',
  `classify_id` int(11) NULL DEFAULT NULL COMMENT '分类id',
  `add_num` int(11) NULL DEFAULT NULL COMMENT '加钟次数',
  `apply_people` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '适用人群',
  `score` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`massage_type_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 34 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of massage_type
-- ----------------------------
INSERT INTO `massage_type` VALUES (17, 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/18/aef64cb891c5ada332a9cdcc1e160713.png', '泰式按摩', '1、颈椎按摩', 300.00, 280.00, 250.00, 200.00, 10, 6, 2, 1, '2022-02-12 15:15:29', '石家庄市', 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/18/d891ae8f9a793fa5e66b1e06e03a863a.png', '专业', NULL, 91, 3, '不限', NULL);
INSERT INTO `massage_type` VALUES (21, 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/18/628ce3d31b8c22b3eba579fd0e031472.png', '盲人按摩', '盲人按摩盲人按摩盲人按摩盲人按摩', 100.00, 90.00, 88.00, 70.00, 50, 7, 1, 1, '2023-01-05 16:59:14', '西安市', 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/18/315a8a0cff77e9a689a4e9baa9e0c380.png', '', NULL, 91, 2, '健康人群即可', '10');
INSERT INTO `massage_type` VALUES (22, '', '按摩脚丫子', '', NULL, 60.00, 50.00, 40.00, 30, 0, NULL, 1, '2023-01-05 17:14:40', '', '', '', 21, NULL, NULL, NULL, NULL);
INSERT INTO `massage_type` VALUES (23, '', '开背', '', NULL, 50.00, 40.00, 35.00, 20, 0, NULL, 1, '2023-01-05 17:18:21', '', '', '', 21, NULL, NULL, NULL, NULL);
INSERT INTO `massage_type` VALUES (24, 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/18/00e541ad22606ae82452a8b2b4e56150.png', '本土泰式按摩精品服务', '服务内容服务内容服务内容服务内容服务内容服务内容服务内容服务内容服务内容服务内容服务内容服务内容', 120.00, 100.00, 90.00, 80.00, 60, 16, 0, 1, '2023-01-12 13:46:35', '西安市', 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/18/649ec8298bfa5f285ada03304f272d3f.png', '养生,专业', NULL, 91, 2, '孕妇及老年人外,其他人群均适用', NULL);
INSERT INTO `massage_type` VALUES (25, '', '加钟一小时', '', NULL, 100.00, 90.00, 80.00, 15, 0, NULL, 1, '2023-01-12 13:47:52', '', '', '', 24, 91, NULL, NULL, NULL);
INSERT INTO `massage_type` VALUES (26, '', '加钟两小时', '', NULL, 200.00, 180.00, 160.00, 30, 0, NULL, 1, '2023-01-12 13:48:26', '', '', '', 24, 91, NULL, NULL, NULL);
INSERT INTO `massage_type` VALUES (27, 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/18/4f4a6b555dd674cdbb3b13d05947e3c6.png', '产后修复妈咪宝贝瑜伽助产孕期瑜伽', '竹韵瑜伽产后期妈咪宝贝;\n60分钟瑜伽;\n产后修复.', 110.00, 100.00, 90.00, 80.00, 60, 7, 0, 2, '2023-01-17 11:30:50', '西安市', 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/18/de42cb31120782f845acd811f9cea3d8.png', '孕妇,瑜伽', NULL, 92, 1, '预产期等其他健康人士', NULL);
INSERT INTO `massage_type` VALUES (28, '', '减脂(有氧运动)', '', NULL, 388.00, 358.00, 280.00, 120, 0, NULL, 1, '2023-01-17 14:19:08', '', '', '', 27, 92, NULL, NULL, NULL);
INSERT INTO `massage_type` VALUES (29, '', '增肌训练(无氧运动)', '', NULL, 400.00, 350.00, 300.00, 150, 0, NULL, 1, '2023-01-17 14:19:30', '', '', '', 27, 92, NULL, NULL, NULL);
INSERT INTO `massage_type` VALUES (30, 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/19/022ba672d55b7b39f0fcabae1d254780.png', '花花', '', 1.00, 1.00, 1.00, 1.00, 1, 0, 0, 1, '2023-01-19 10:47:48', '西安市', 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/19/e501660223b2c2303b7600623b58a0f2.png', '', NULL, 91, 1, '人民', NULL);
INSERT INTO `massage_type` VALUES (31, 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/28/998732cf56770e958710c0c5a0491b4a.png', '精品按摩', '', 10.00, 0.10, 0.09, 0.08, 60, 1, 0, 1, '2023-01-28 20:10:36', '郑州市', 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/28/a0c62804124a46d648283639f0b6d7a7.png', '', NULL, 91, 3, '孕妇及老年人外,其他人群均适用', NULL);
INSERT INTO `massage_type` VALUES (32, 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/28/1afaca9c9af9ea8a57c50d15b1cc9db9.png', '1111', '', 100.00, 90.00, 80.00, 70.00, 60, 0, 0, 2, '2023-01-28 20:11:31', '郑州市', 'https://anmo.xianmxkj.com/file/uploadPath/2023/01/28/d25a888ff600d9188c3af3b373f35c17.png', '', NULL, 92, 3, '孕妇及老年人外,其他人群均适用', NULL);
INSERT INTO `massage_type` VALUES (33, '', '泰式按摩', '', NULL, 3000.00, 280.00, 280.00, 10, 0, NULL, 1, '2023-02-09 13:36:20', '', '', '', 17, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for member
-- ----------------------------
DROP TABLE IF EXISTS `member`;
CREATE TABLE `member`  (
  `member_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '会员特权id',
  `member_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '特权图标',
  `member_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '特权名称',
  `sort` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '排序',
  PRIMARY KEY (`member_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of member
-- ----------------------------
INSERT INTO `member` VALUES (4, 'https://sac.xianmxkj.com/file/uploadPath/2022/02/16/74ed314cec7ae738cba7efed90d2c656.png', '享会员价', '1');
INSERT INTO `member` VALUES (6, 'https://sac.xianmxkj.com/file/uploadPath/2022/02/16/88d495a21a15a651748d3d1b2f5c7613.png', '身份标识', '2');

-- ----------------------------
-- Table structure for message_info
-- ----------------------------
DROP TABLE IF EXISTS `message_info`;
CREATE TABLE `message_info`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '消息id',
  `content` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '内容',
  `create_at` varchar(600) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL COMMENT '创建时间',
  `image` varchar(600) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL COMMENT '图片',
  `is_see` varchar(600) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL,
  `type_id` varchar(600) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL,
  `type_name` varchar(600) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `state` varchar(600) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL COMMENT '分类',
  `title` varchar(600) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT '标题',
  `by_user_id` varchar(600) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL COMMENT '地址',
  `type` varchar(600) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL,
  `by_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `user_id` varchar(255) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL COMMENT '用户id',
  `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名',
  `audit_content` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 9361 CHARACTER SET = big5 COLLATE = big5_chinese_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of message_info
-- ----------------------------

-- ----------------------------
-- Table structure for msg
-- ----------------------------
DROP TABLE IF EXISTS `msg`;
CREATE TABLE `msg`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `code` varchar(255) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL COMMENT '短信验证码',
  `phone` varchar(255) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL COMMENT '电话',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `index_name`(`code`, `phone`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3315 CHARACTER SET = big5 COLLATE = big5_chinese_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of msg
-- ----------------------------

-- ----------------------------
-- Table structure for orders
-- ----------------------------
DROP TABLE IF EXISTS `orders`;
CREATE TABLE `orders` (
 `orders_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '订单id',
 `artificer_id` int(11) DEFAULT NULL COMMENT '技师id',
 `user_id` int(11) DEFAULT NULL COMMENT '用户id',
 `serve_time` varchar(64) DEFAULT NULL COMMENT '服务时间',
 `phone` varchar(255) DEFAULT NULL COMMENT '联系电话',
 `address` varchar(500) DEFAULT NULL COMMENT '地址',
 `remark` varchar(1000) DEFAULT NULL COMMENT '备注',
 `pay_money` decimal(10,2) DEFAULT NULL COMMENT '项目单价',
 `orders_no` varchar(64) DEFAULT NULL COMMENT '订单号',
 `pay_time` varchar(64) DEFAULT NULL COMMENT '支付时间',
 `pay_way` int(11) DEFAULT NULL COMMENT '支付方式',
 `status` int(11) DEFAULT NULL COMMENT '状态 1待支付 2待服务 3待评论 4已取消  5已完成  6进行中  7技师出发 8技师到达',
 `artificer_start_time` varchar(64) DEFAULT NULL COMMENT '技师出发时间',
 `artificer_end_time` varchar(64) DEFAULT NULL COMMENT '技师到达时间',
 `create_time` varchar(64) DEFAULT NULL COMMENT '创建时间',
 `artificer_money` decimal(10,2) DEFAULT NULL COMMENT '技师收益',
 `longitude` varchar(255) DEFAULT NULL COMMENT '经度',
 `latitude` varchar(255) DEFAULT NULL COMMENT '纬度',
 `start_longitude` varchar(255) DEFAULT NULL COMMENT '技师出发经度',
 `start_latitude` varchar(255) DEFAULT NULL COMMENT '技师出发纬度',
 `sum_money` varchar(255) DEFAULT NULL COMMENT '总金额',
 `add_num` int(11) DEFAULT NULL COMMENT '加钟次数',
 `add_time` varchar(60) DEFAULT NULL COMMENT '加钟时长',
 `taxi_money` decimal(10,2) DEFAULT NULL COMMENT '出行服务费',
 `trip_way` int(11) DEFAULT NULL COMMENT '出行方式 1公交 2出租 3免费',
 `km` varchar(255) DEFAULT NULL COMMENT '全程公里',
 `parent_id` int(11) DEFAULT NULL COMMENT '下级id 加钟订单id',
 `start_time` datetime DEFAULT NULL COMMENT '开始服务时间',
 `coupon_id` int(11) DEFAULT NULL COMMENT '优惠券id',
 `coupon_name` varchar(255) DEFAULT NULL COMMENT '优惠券名称',
 `coupon_money` decimal(10,2) DEFAULT NULL COMMENT '优惠券金额',
 `add_artificer_money` decimal(10,2) DEFAULT NULL COMMENT '技师加钟金额',
 `add_money` decimal(10,2) DEFAULT NULL COMMENT '加钟金额',
 `price` decimal(10,2) DEFAULT NULL COMMENT '服务费用',
 `sum_artificer_money` decimal(10,2) DEFAULT NULL COMMENT '技师总收益',
 `is_send` int(11) DEFAULT NULL COMMENT '是否通知技师结束1是',
 `end_time` varchar(64) DEFAULT NULL COMMENT '预估结束时间',
 `user_name` varchar(255) DEFAULT NULL COMMENT '下单用户名称',
 `one_user_money` decimal(10,2) DEFAULT NULL COMMENT '推广用户收益',
 `one_user_id` int(11) DEFAULT NULL COMMENT '推广用户id',
 `one_user_name` varchar(255) DEFAULT NULL COMMENT '推广用户名称',
 `one_artificer_money` decimal(10,2) DEFAULT NULL COMMENT '推广技师收益',
 `one_artificer_user_id` int(11) DEFAULT NULL COMMENT '推广技师用户id',
 `one_artificer_user_name` varchar(255) DEFAULT NULL COMMENT '推广技师用户名称',
 `ping_money` decimal(10,2) DEFAULT NULL COMMENT '平台收益',
 `massage_type_id` int(11) DEFAULT NULL COMMENT '服务id',
 `shop_money` decimal(10,2) DEFAULT NULL COMMENT '商家收益',
 `shop_user_id` int(11) DEFAULT NULL COMMENT '商家用户id',
 `shop_user_name` varchar(255) DEFAULT NULL COMMENT '商家用户名称',
 `over_time_orders` int(11) DEFAULT NULL COMMENT '是否超时 1是 2否',
 `end_times` varchar(64) DEFAULT NULL COMMENT '服务结束时间',
 `consortia_id` int(11) DEFAULT NULL COMMENT '商家id',
 `accomplish_longitude` varchar(255) DEFAULT NULL COMMENT '师傅完成经度',
 `accomplish_latitude` varchar(255) DEFAULT NULL COMMENT '师傅完成纬度',
 `warning` int(11) DEFAULT NULL COMMENT '是否是警告订单 1是',
 `user_artificer_money` int(255) DEFAULT NULL,
 `ping_taxi_money` decimal(10,2) DEFAULT NULL,
 `artificer_taxi_money` decimal(10,2) DEFAULT NULL,
 `start_address` varchar(500) DEFAULT NULL COMMENT '开始服务地点',
 `accomplish_address` varchar(500) DEFAULT NULL COMMENT '完成服务地点',
 `start_img` varchar(2000) DEFAULT NULL,
 PRIMARY KEY (`orders_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=318 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Records of orders
-- ----------------------------

-- ----------------------------
-- Table structure for orders_massage
-- ----------------------------
DROP TABLE IF EXISTS `orders_massage`;
CREATE TABLE `orders_massage`  (
  `orders_massage_id` int(255) NOT NULL AUTO_INCREMENT COMMENT '订单服务id',
  `orders_id` int(11) NULL DEFAULT NULL COMMENT '订单id',
  `massage_id` int(11) NULL DEFAULT NULL COMMENT '服务id',
  `num` int(11) NULL DEFAULT NULL COMMENT '数量',
  PRIMARY KEY (`orders_massage_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 201 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of orders_massage
-- ----------------------------

-- ----------------------------
-- Table structure for pay_classify
-- ----------------------------
DROP TABLE IF EXISTS `pay_classify`;
CREATE TABLE `pay_classify`  (
  `pay_classify_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '充值分类id',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '售价',
  `coupon_id` bigint(10) NULL DEFAULT NULL COMMENT '优惠券id',
  `give_num` bigint(10) NULL DEFAULT NULL COMMENT '数量',
  `sort` int(11) NULL DEFAULT NULL COMMENT '排序',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '时间',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '到账金额',
  PRIMARY KEY (`pay_classify_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of pay_classify
-- ----------------------------
INSERT INTO `pay_classify` VALUES (2, 0.01, 30, 1, 2, NULL, NULL);
INSERT INTO `pay_classify` VALUES (3, 0.02, 26, 2, 3, NULL, NULL);
INSERT INTO `pay_classify` VALUES (4, 1000.00, 25, 4, 4, NULL, NULL);
INSERT INTO `pay_classify` VALUES (5, 3000.00, 26, 5, 5, NULL, NULL);
INSERT INTO `pay_classify` VALUES (17, 0.03, NULL, NULL, NULL, '2022-11-25 18:54:10', NULL);
INSERT INTO `pay_classify` VALUES (18, 100.00, 30, 1, NULL, '2022-11-25 18:55:00', NULL);

-- ----------------------------
-- Table structure for pay_details
-- ----------------------------
DROP TABLE IF EXISTS `pay_details`;
CREATE TABLE `pay_details`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '充值id',
  `classify` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '分类（ 1app微信 2微信公众号 3微信小程序 4支付宝）',
  `order_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '订单编号',
  `trade_no` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '支付宝支付单号',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '充值金额',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  `state` int(4) NULL DEFAULT NULL COMMENT '0待支付 1支付成功 2失败',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `pay_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '支付时间',
  `type` int(4) NULL DEFAULT NULL COMMENT '支付类型 1 用户  2会员',
  `remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 840 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of pay_details
-- ----------------------------

-- ----------------------------
-- Table structure for risk
-- ----------------------------
DROP TABLE IF EXISTS `risk`;
CREATE TABLE `risk`  (
  `risk_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '风险记录',
  `risk_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '风险类型（1ip属地风险 2动态评价风险 3聊天风险）',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '用户id',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '触犯原因',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '时间',
  PRIMARY KEY (`risk_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 93 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of risk
-- ----------------------------

-- ----------------------------
-- Table structure for search
-- ----------------------------
DROP TABLE IF EXISTS `search`;
CREATE TABLE `search`  (
  `search_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '搜索id',
  `search_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '搜索名称',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  `update_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`search_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 121 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of search
-- ----------------------------

-- ----------------------------
-- Table structure for self_activity
-- ----------------------------
DROP TABLE IF EXISTS `self_activity`;
CREATE TABLE `self_activity`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `create_at` varchar(255) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL COMMENT '创建时间',
  `image_url` varchar(255) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL COMMENT '图片地址',
  `state` varchar(255) CHARACTER SET big5 COLLATE big5_chinese_ci NULL DEFAULT NULL COMMENT '状态',
  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '链接',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '标题',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 40 CHARACTER SET = big5 COLLATE = big5_chinese_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_activity
-- ----------------------------
INSERT INTO `self_activity` VALUES (9, '2021-08-24 18:23:56', 'https://taskshop.xianmxkj.com/img/20210824/7f9c10c8434748c19b8aaaaef462f516.png', '1', '/package/pages/zysc/my/myList', '我的订单');
INSERT INTO `self_activity` VALUES (10, '2021-08-24 18:24:19', 'https://taskshop.xianmxkj.com/img/20210824/de708a8d95504c94bac0e0ef8fea0c45.png', '1', '/package/pages/zysc/my/rebateorder', '我的返利');
INSERT INTO `self_activity` VALUES (11, '2021-08-24 18:24:23', 'https://taskshop.xianmxkj.com/img/20210824/af5a96620ff54553a2958de23af1f1e7.png', '1', '/package/pages/zysc/my/teamorder', '团队返利');
INSERT INTO `self_activity` VALUES (12, '2021-08-24 18:24:27', 'https://taskshop.xianmxkj.com/img/20210824/aafe0eb7a4ce4dbf838ec4706c847642.png', '1', '/package/pages/zysc/categray/category', '商品分类');
INSERT INTO `self_activity` VALUES (13, '2021-08-24 18:24:32', 'https://taskshop.xianmxkj.com/img/20210824/c5199711f8484d84932f000475012cb9.png', '1', '/pages/invitation/invitationUser', '邀请好友');
INSERT INTO `self_activity` VALUES (20, '2021-08-24 18:25:37', 'https://taskshop.xianmxkj.com/img/20210824/0d9a3211fc8f420ab3620adc1076a28e.png', '3', '/pages/index/tuiguang?cid=1', '精选好物');
INSERT INTO `self_activity` VALUES (21, '2021-08-24 18:25:48', 'https://taskshop.xianmxkj.com/img/20210824/e234249b69e2464691b14c0a97200e75.png', '3', '/pages/index/tuiguang?cid=10', '精选好物');
INSERT INTO `self_activity` VALUES (22, '2021-08-24 18:25:53', 'https://taskshop.xianmxkj.com/img/20210824/6c130f7cecc34100aefd396d2f3ba734.png', '4', '/pages/miandan/miandan', '热卖榜单');
INSERT INTO `self_activity` VALUES (23, '2021-08-24 18:26:00', 'https://taskshop.xianmxkj.com/img/20210824/bff1b15798cc4b26bfb63eede94ea7a4.png', '4', '/pages/index/tuiguang?cid=4', '热卖榜单');
INSERT INTO `self_activity` VALUES (24, '2021-08-24 18:26:07', 'https://taskshop.xianmxkj.com/img/20210824/9514cce44dc54eeeaaa2e15a64a1e73f.png', '5', '/pages/index/list?title=每日上新&type=1', '每日上新');
INSERT INTO `self_activity` VALUES (25, '2021-08-24 18:26:11', 'https://taskshop.xianmxkj.com/img/20210824/d89261b278ec483aa5d30993b469eace.png', '5', '/pages/index/food?title=爆款美食&type=9', '爆款美食');
INSERT INTO `self_activity` VALUES (35, '2021-08-24 18:24:45', 'https://taskshop.xianmxkj.com/img/20210824/d6de78ba664e424f852f3d05104717a0.png', '1', '/package/pages/zysc/categray/search?cid=48&name=衬衫', '女装');
INSERT INTO `self_activity` VALUES (36, '2021-08-24 18:24:50', 'https://taskshop.xianmxkj.com/img/20210824/0e0791133e024a40a54f146f1dd6bb2a.png', '1', '/package/pages/zysc/my/like', '我的收藏');
INSERT INTO `self_activity` VALUES (37, '2021-08-24 18:24:57', 'https://taskshop.xianmxkj.com/img/20210824/4e42272c61ca4f49aa88ecad7d953275.png', '1', '/package/pages/zysc/categray/search?cid=48&name=苹果', '新鲜瓜果');
INSERT INTO `self_activity` VALUES (38, '2021-08-24 18:25:02', 'https://taskshop.xianmxkj.com/img/20210824/d757d4507d324b9f9d03fa4d81af94e2.png', '1', '/package/pages/zysc/categray/search?cid=48&name=电视', '电视');
INSERT INTO `self_activity` VALUES (39, '2021-08-24 18:25:06', 'https://taskshop.xianmxkj.com/img/20210824/ac36e2e5121f4ad88e3deaca73224b7b.png', '1', '/package/pages/zysc/categray/search?cid=34&name=电子产品', '电子产品');

-- ----------------------------
-- Table structure for self_banner
-- ----------------------------
DROP TABLE IF EXISTS `self_banner`;
CREATE TABLE `self_banner`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `create_at` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `img_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '图片地址',
  `link_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '跳转链接',
  `sort` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '排序',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_banner
-- ----------------------------
INSERT INTO `self_banner` VALUES (1, '2020-08-15 10:58:44', 'https://pic3.zhimg.com/ac2929dd435e78ae8efe25252008dcdd_xs.jpg?source=1940ef5c', 'www.jd.com', '1');
INSERT INTO `self_banner` VALUES (4, '2020-08-15 11:00:26', 'https://pic4.zhimg.com/v2-095892c2f4425ff90f53b946b577847b_540x450.jpeg', 'www.taobao.com', '2');

-- ----------------------------
-- Table structure for self_goods
-- ----------------------------
DROP TABLE IF EXISTS `self_goods`;
CREATE TABLE `self_goods`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '商品id',
  `create_at` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `descrition` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '商品描述',
  `img` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL COMMENT '商品图片',
  `merchants` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商户号',
  `price` double NULL DEFAULT NULL COMMENT '价格',
  `sales` int(11) NULL DEFAULT NULL COMMENT '商品销量',
  `status` int(11) NULL DEFAULT 0 COMMENT '商品状态(默认1正常 2下架)',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '标题',
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商品类型id',
  `member_price` double NULL DEFAULT NULL COMMENT '会员价格',
  `original_price` double NULL DEFAULT NULL COMMENT '商品原价',
  `commission_price` double NULL DEFAULT NULL COMMENT '商品佣金',
  `home_goods` int(11) NULL DEFAULT NULL COMMENT '首页商品(0默认 1是首页商品)',
  `is_select` int(11) NULL DEFAULT NULL COMMENT '精选好物(0默认 1精选好物)',
  `buy_reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '必买理由',
  `cover_img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商品封面图片',
  `is_express` int(11) NULL DEFAULT NULL COMMENT '是否需要发货(1普通商品需要发货 2虚拟商品无需发货)',
  `is_recommend` int(11) NULL DEFAULT NULL COMMENT '每日推荐(0默认 1推荐商品)',
  `postage_price` double NULL DEFAULT NULL COMMENT '邮费',
  `type_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商品类型id',
  `is_postage` int(11) NULL DEFAULT NULL,
  `is_ji_fen_goods` int(11) NULL DEFAULT NULL,
  `brand_id` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 105 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_goods
-- ----------------------------
INSERT INTO `self_goods` VALUES (60, '2020-09-16 13:44:30', '<p><img src=\"https://tk.gomyorder.cn/img/20200916/e016c6093725447683281bdee79c6b90.jpg\" alt=\"\" width=\"800\" height=\"800\" /></p>', 'https://tk.gomyorder.cn/img/20200916/318adb4736a84a70aa02e311c3fcf325.jpg,https://tk.gomyorder.cn/img/20200916/5075c958e04644bd983850e9a8f2e81e.jpg,https://tk.gomyorder.cn/img/20200916/06f285fd5d8748bf9baede8d38b5543a.jpg', '', 2, 21124, 1, '晾衣架子小孩子晒挂衣服婴儿童凉的家用袜子多夹子新生功能可折叠', NULL, 2, 3, 0.01, 1, 1, '好物', 'https://tk.gomyorder.cn/img/20200916/99e1d541b5c245e2addb9d5c4cdfddd1.jpg', 1, 0, NULL, '13', NULL, NULL, NULL);
INSERT INTO `self_goods` VALUES (63, '2020-09-24 14:45:50', '<p><img src=\"https://tk.gomyorder.cn/img/20200924/9f7af3e5ceb249498c950e5b3dd50112.jpg\" alt=\"\" /></p>\n<p><img src=\"https://tk.gomyorder.cn/img/20200924/3dac2bca3ba248fa8d0aaeeca6ca4d95.jpg\" alt=\"\" /></p>\n<p><img src=\"https://tk.gomyorder.cn/img/20200924/fa13cd3e64354448a59fe69d3e3f220a.jpg\" alt=\"\" /></p>', 'https://tk.gomyorder.cn/img/20200924/7bae1c7b42d04943adb64b901cdca345.jpg,https://tk.gomyorder.cn/img/20200924/a401af5d892c4226bc5fdb31946bccb3.jpg,https://tk.gomyorder.cn/img/20200924/2c081e77d2c047d2b383de763b2a736b.jpg,https://tk.gomyorder.cn/img/20200924/7d729c59272e46d9bac220f19f94b4f0.jpg', '', 1, 1578, 1, '乔丹女运动鞋2020秋季网面跑步鞋气垫缓震增高旅游鞋黑粉色波鞋子', NULL, 1, 5, 0.01, 1, 1, '有种脾气叫，不放弃。', 'https://tk.gomyorder.cn/img/20200924/8bc17c26f578441981efb5c0d55a761f.jpg', 1, 1, 0, '13', NULL, NULL, NULL);
INSERT INTO `self_goods` VALUES (65, '2020-09-24 14:49:11', '<p><img src=\"https://tk.gomyorder.cn/img/20200924/c932c5b3a8fa45bf909102d42ef93ec8.jpg\" alt=\"\" width=\"790\" height=\"764\" /></p>\n<p><img src=\"https://tk.gomyorder.cn/img/20200924/5b15208c7db247a3991b757d40d75fd3.jpg\" alt=\"\" width=\"790\" height=\"711\" /></p>\n<p><img src=\"https://tk.gomyorder.cn/img/20200924/fcf368702631418aa193f76b9ecc7aab.jpg\" alt=\"\" /></p>\n<p><img src=\"https://tk.gomyorder.cn/img/20200924/9b0e4dda36194296ac3349f1218fd498.jpg\" alt=\"\" /></p>', 'https://tk.gomyorder.cn/img/20200924/1dfcd54fcc0a49a9bef6d6c93e354464.jpg,https://tk.gomyorder.cn/img/20200924/1523374d86b34c25a9af121c3238adee.jpg,https://tk.gomyorder.cn/img/20200924/13e991739f384fc3bbff71b65cab2b3b.jpg', '', 1, 2112, 1, '百草味-零食大礼包网红爆款休闲充饥夜宵小吃饼干组合一整箱送礼', NULL, 1, 2, 0.01, 1, 1, '600款零食 一站购 1元起开抢', 'https://tk.gomyorder.cn/img/20200924/6896a2717e3c419094f62a3c107455e6.jpg', 1, 1, 0, '21', NULL, NULL, NULL);
INSERT INTO `self_goods` VALUES (66, '2020-09-24 14:52:21', '<p><img src=\"https://tk.gomyorder.cn/img/20201107/7bddfab214274981b86892d1a64078c5.png\" alt=\"\" /></p>\n<p><img src=\"https://tk.gomyorder.cn/img/20201107/3fbe401efe264924a3aa34ef113bc1f1.png\" alt=\"\" width=\"775\" height=\"775\" /></p>', 'https://api.shengqianxiong.com.cn/img/20210820/a59e127b5f1d435bb813543293609640.png', '', 1, 54219, 1, '维达手帕纸超韧4层8张18包卫生纸巾 自然无香面巾纸 新旧交替发货', NULL, 1, 5, 0.1, 1, 1, '出门必备易携带，超韧细密湿水不易破', 'https://api.shengqianxiong.com.cn/img/20210820/a61d772ddf6e4eaaae843993c91170d7.png', 1, 1, 0, '30', NULL, NULL, 1);
INSERT INTO `self_goods` VALUES (97, '2021-08-10 16:12:36', '<p>好好学习，天天向上。</p>', 'https://api.shengqianxiong.com.cn/img/20210810/d08193121f8549199294a3a0f53a9f22.jpg,https://api.shengqianxiong.com.cn/img/20210810/21001828cf2c465896995c6360f486e7.jpg,https://api.shengqianxiong.com.cn/img/20210810/852c4e1c2ef84f5087a58503bf32cdb8.jpg', '', 55, 12, 1, '计算机与科学书籍·', NULL, 55, 36, 0.2, 1, 1, '有用的东西不需要理由', 'https://api.shengqianxiong.com.cn/img/20210810/a47def2d5bfe4c07b8d6dfba2ff7fd8a.jpg', 1, 1, 0, '51', NULL, NULL, NULL);
INSERT INTO `self_goods` VALUES (98, '2021-08-11 18:09:32', '<p>嗯<img src=\"https://api.shengqianxiong.com.cn/file/uploadPath/2022/04/15/cb2b28ba33e65f4226ab8f6bd77d036d.jpg\" alt=\"fsdf\" height=\"375\" width=\"800\"></p>', 'https://api.shengqianxiong.com.cn/img/20210811/7d923d42836a4d82af306ec7163dbff6.jpg,https://api.shengqianxiong.com.cn/img/20210811/1339d822bf9042b99d85971752d4055d.jpg', '', 85, 10000, 1, '哲学', NULL, 85, 95, 0.1, 1, 1, '对你们有用哦', 'https://api.shengqianxiong.com.cn/img/20210811/7e2a40c37b1745539da07793e1c1c7dc.jpg', 3, 1, 10, '53', NULL, NULL, NULL);
INSERT INTO `self_goods` VALUES (100, '2021-08-14 10:11:28', '<p>今天 你吃了吗</p>', 'https://api.shengqianxiong.com.cn/img/20210814/19222cef43a845209f081ab6a38c4e2f.jpg,https://api.shengqianxiong.com.cn/img/20210814/48949a3bbb53412391ea33290e626f32.jpg', '', 50, 101, 1, '测试商品', NULL, 50, 100, 10, 1, 1, '迎娶白富美 走上人生巅峰', 'https://api.shengqianxiong.com.cn/img/20210814/7bb076847871417d9d153c1b126f99f2.jpg', 2, 1, 0, '48', NULL, NULL, 1);
INSERT INTO `self_goods` VALUES (101, '2022-04-25 11:21:41', '<p>asdas</p>', 'https://api.shengqianxiong.com.cn/file/uploadPath/2022/04/25/a9e8f15bdc0839a183fcfe208ddfe95f.jpg', '', 20, 20, 1, 'ceshi', NULL, NULL, NULL, NULL, NULL, NULL, '223232', 'https://api.shengqianxiong.com.cn/file/uploadPath/2022/04/25/ae6370334a486d637f73de07c32afd6f.jpg', 1, NULL, 0, NULL, NULL, 1, NULL);
INSERT INTO `self_goods` VALUES (102, '2022-04-30 01:54:19', '<p>好喝不上头</p>', 'https://api.shengqianxiong.com.cn/file/uploadPath/2022/04/30/f71215b08370ee99d3008430ce7740fb.png', '', 100, 100, 1, '神酒', NULL, 100, 100, 100, 1, 1, '好喝不上头', 'https://api.shengqianxiong.com.cn/file/uploadPath/2022/04/30/7981dc0ed9a4792ddf3d14243e9473f2.png', 1, 1, 0, '44', NULL, NULL, NULL);
INSERT INTO `self_goods` VALUES (103, '2022-05-19 10:22:59', '<p>dfdsfsf</p>', 'https://rwshop.xianmxkj.com/file/uploadPath/2022/05/19/83d2e2b580440e41eef40eb4f2539058.jpg,https://rwshop.xianmxkj.com/file/uploadPath/2022/05/19/e04c924326249cef6ffb6af9ee90a2be.jpg', '', 1.01, 0, 1, '自营商品0519', NULL, 1.01, 10, 0.5, 1, 1, 'mmm', 'https://rwshop.xianmxkj.com/file/uploadPath/2022/05/19/176e12eee3b6f6b9b61e6dc047a6870c.jpg', 1, 1, 0, '55', NULL, NULL, NULL);
INSERT INTO `self_goods` VALUES (104, '2022-06-24 17:12:07', '<p><img src=\"https://rwshop.xianmxkj.com/file/uploadPath/2022/06/24/2467ef878df1d4cbc89378b031c8b79d.jpg\"><img src=\"https://rwshop.xianmxkj.com/file/uploadPath/2022/06/24/8e7382ccdf793ba51ea792826bce592c.jpg\"></p>', 'https://rwshop.xianmxkj.com/file/uploadPath/2022/06/24/516bdde7ccaada5913f6002fda859160.jpg,https://rwshop.xianmxkj.com/file/uploadPath/2022/06/24/5b7b056cd7ca3197fe44282eb668fce0.jpg', '', 90, 25, 1, '千禾酱油味极鲜1L特级生抽', NULL, 90, 100, 5, 1, 1, '千禾酱油味极鲜值得信赖', 'https://rwshop.xianmxkj.com/file/uploadPath/2022/06/24/94681944d192677aa426b95837c1abec.jpg', 1, 1, 5, '55', NULL, NULL, NULL);

-- ----------------------------
-- Table structure for self_goods_attr
-- ----------------------------
DROP TABLE IF EXISTS `self_goods_attr`;
CREATE TABLE `self_goods_attr`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `attr_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '属性名称',
  `goods_id` bigint(20) NULL DEFAULT NULL COMMENT '商品id',
  `rule_id` bigint(20) NULL DEFAULT NULL COMMENT '规格模板id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 128 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_goods_attr
-- ----------------------------
INSERT INTO `self_goods_attr` VALUES (1, '帽子', 52, NULL);
INSERT INTO `self_goods_attr` VALUES (2, '衣服', 53, NULL);
INSERT INTO `self_goods_attr` VALUES (3, '衣服', 54, NULL);
INSERT INTO `self_goods_attr` VALUES (4, '衣服', 55, NULL);
INSERT INTO `self_goods_attr` VALUES (5, '衣服', 56, NULL);
INSERT INTO `self_goods_attr` VALUES (6, '衣服', 57, NULL);
INSERT INTO `self_goods_attr` VALUES (7, '衣服', 58, NULL);
INSERT INTO `self_goods_attr` VALUES (8, '衣服', 59, NULL);
INSERT INTO `self_goods_attr` VALUES (13, '衣服', 76, 8);
INSERT INTO `self_goods_attr` VALUES (15, '帽子', 77, 9);
INSERT INTO `self_goods_attr` VALUES (20, '衣服', 78, 8);
INSERT INTO `self_goods_attr` VALUES (25, '衣服', 79, 8);
INSERT INTO `self_goods_attr` VALUES (45, '衣服', 83, 8);
INSERT INTO `self_goods_attr` VALUES (91, '衣服', 94, 8);
INSERT INTO `self_goods_attr` VALUES (117, '衣服', 99, 8);
INSERT INTO `self_goods_attr` VALUES (121, '衣服', 97, 8);
INSERT INTO `self_goods_attr` VALUES (122, '衣服1423', 96, 8);
INSERT INTO `self_goods_attr` VALUES (123, '帽子', 95, 9);
INSERT INTO `self_goods_attr` VALUES (126, '衣服', 100, 8);
INSERT INTO `self_goods_attr` VALUES (127, '帽子', 104, 9);

-- ----------------------------
-- Table structure for self_goods_attr_value
-- ----------------------------
DROP TABLE IF EXISTS `self_goods_attr_value`;
CREATE TABLE `self_goods_attr_value`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '属性值组合:{尺寸: \"7寸\", 颜色: \"红底\"}',
  `goods_id` bigint(20) NULL DEFAULT NULL COMMENT '商品id',
  `img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '图片',
  `member_price` double NULL DEFAULT NULL COMMENT '会员价格',
  `original_price` double NULL DEFAULT NULL COMMENT '原价',
  `price` double NULL DEFAULT NULL COMMENT '价格',
  `sales` int(11) NULL DEFAULT NULL,
  `stock` int(11) NULL DEFAULT NULL,
  `attr_id` bigint(20) NULL DEFAULT NULL,
  `value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 293 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_goods_attr_value
-- ----------------------------
INSERT INTO `self_goods_attr_value` VALUES (1, '大', 52, NULL, NULL, NULL, NULL, NULL, NULL, 1, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (2, '红色', 52, NULL, NULL, NULL, NULL, NULL, NULL, 1, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (3, '紫色,红色', 53, NULL, NULL, NULL, NULL, NULL, NULL, 2, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (4, 'm', 53, NULL, NULL, NULL, NULL, NULL, NULL, 2, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (5, '紫色,红色', 54, NULL, NULL, NULL, NULL, NULL, NULL, 3, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (6, 'm', 54, NULL, NULL, NULL, NULL, NULL, NULL, 3, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (7, '紫色,红色', 55, NULL, NULL, NULL, NULL, NULL, NULL, 4, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (8, 'm', 55, NULL, NULL, NULL, NULL, NULL, NULL, 4, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (11, '紫色,红色', 57, NULL, NULL, NULL, NULL, NULL, NULL, 6, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (12, 'm', 57, NULL, NULL, NULL, NULL, NULL, NULL, 6, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (13, '紫色,红色', 58, NULL, NULL, NULL, NULL, NULL, NULL, 7, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (14, 'm', 58, NULL, NULL, NULL, NULL, NULL, NULL, 7, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (15, '紫色,红色', 59, NULL, NULL, NULL, NULL, NULL, NULL, 8, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (16, 'm', 59, NULL, NULL, NULL, NULL, NULL, NULL, 8, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (33, '紫色,红色', 78, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (34, 'm', 78, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (43, '紫色,红色', 79, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (44, 'm', 79, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (83, '紫色,红色', 83, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (84, 'm', 83, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (175, '紫色,红色', 94, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (176, 'm', 94, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (237, '红,黄,蓝', 97, NULL, NULL, NULL, NULL, NULL, NULL, 121, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (238, 'x,l', 97, NULL, NULL, NULL, NULL, NULL, NULL, 121, '大小');
INSERT INTO `self_goods_attr_value` VALUES (239, '紫色,红色', 96, NULL, NULL, NULL, NULL, NULL, NULL, 122, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (240, 'm', 96, NULL, NULL, NULL, NULL, NULL, NULL, 122, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (241, '大', 95, NULL, NULL, NULL, NULL, NULL, NULL, 123, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (242, '红色', 95, NULL, NULL, NULL, NULL, NULL, NULL, 123, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (261, '红色', 99, NULL, NULL, NULL, NULL, NULL, NULL, 117, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (262, 'm', 99, NULL, NULL, NULL, NULL, NULL, NULL, 117, '大小');
INSERT INTO `self_goods_attr_value` VALUES (263, '工装', 99, NULL, NULL, NULL, NULL, NULL, NULL, 117, '风格');
INSERT INTO `self_goods_attr_value` VALUES (264, '粉色,五颜六色', 99, NULL, NULL, NULL, NULL, NULL, NULL, 117, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (285, '红色', 100, NULL, NULL, NULL, NULL, NULL, NULL, 126, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (286, 'm', 100, NULL, NULL, NULL, NULL, NULL, NULL, 126, '大小');
INSERT INTO `self_goods_attr_value` VALUES (287, '工装', 100, NULL, NULL, NULL, NULL, NULL, NULL, 126, '风格');
INSERT INTO `self_goods_attr_value` VALUES (288, '粉色,黑色,红色', 100, NULL, NULL, NULL, NULL, NULL, NULL, 126, '颜色');
INSERT INTO `self_goods_attr_value` VALUES (291, '大,小', 104, NULL, NULL, NULL, NULL, NULL, NULL, 127, '尺码');
INSERT INTO `self_goods_attr_value` VALUES (292, '红色,黑色', 104, NULL, NULL, NULL, NULL, NULL, NULL, 127, '颜色');

-- ----------------------------
-- Table structure for self_goods_brand
-- ----------------------------
DROP TABLE IF EXISTS `self_goods_brand`;
CREATE TABLE `self_goods_brand`  (
  `brand_id` bigint(20) NOT NULL AUTO_INCREMENT,
  `brand_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `create_time` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `names` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`brand_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_goods_brand
-- ----------------------------
INSERT INTO `self_goods_brand` VALUES (1, '马来西亚', '2020-10-28 10:05:10', 'INTI');
INSERT INTO `self_goods_brand` VALUES (2, '泰国', '2020-10-28 10:18:25', '西那瓦');
INSERT INTO `self_goods_brand` VALUES (3, '英国', '2020-10-28 10:19:21', '伯明翰');
INSERT INTO `self_goods_brand` VALUES (5, '腾讯', '2020-11-10 16:07:18', '腾讯视频');

-- ----------------------------
-- Table structure for self_goods_comment
-- ----------------------------
DROP TABLE IF EXISTS `self_goods_comment`;
CREATE TABLE `self_goods_comment`  (
  `comment_id` bigint(20) NOT NULL AUTO_INCREMENT,
  `content` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
  `create_time` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `goods_id` bigint(20) NULL DEFAULT NULL,
  `img` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
  `sku` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `user_header` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `user_id` bigint(20) NULL DEFAULT NULL,
  `user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `order_id` bigint(20) NULL DEFAULT NULL,
  `sku_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `reply` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `score` int(11) NULL DEFAULT NULL,
  `score_type` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`comment_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 40 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_goods_comment
-- ----------------------------

-- ----------------------------
-- Table structure for self_goods_rule
-- ----------------------------
DROP TABLE IF EXISTS `self_goods_rule`;
CREATE TABLE `self_goods_rule`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `rule_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '规格名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_goods_rule
-- ----------------------------
INSERT INTO `self_goods_rule` VALUES (8, '2020-09-11 15:21:01', '衣服');
INSERT INTO `self_goods_rule` VALUES (9, '2020-09-11 15:27:02', '帽子');
INSERT INTO `self_goods_rule` VALUES (10, '2020-09-11 15:44:37', '鞋子');
INSERT INTO `self_goods_rule` VALUES (14, '2020-09-11 17:27:49', '裤子');
INSERT INTO `self_goods_rule` VALUES (15, '2020-09-11 17:38:59', '袜子');
INSERT INTO `self_goods_rule` VALUES (27, '2021-08-10 17:58:41', '首饰');
INSERT INTO `self_goods_rule` VALUES (28, '2021-08-11 17:45:25', '项链');

-- ----------------------------
-- Table structure for self_goods_rule_value
-- ----------------------------
DROP TABLE IF EXISTS `self_goods_rule_value`;
CREATE TABLE `self_goods_rule_value`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '规格属性值',
  `rule_id` bigint(20) NULL DEFAULT NULL COMMENT '规格id',
  `value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '规格属性名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 103 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_goods_rule_value
-- ----------------------------
INSERT INTO `self_goods_rule_value` VALUES (1, '紫色', 3, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (2, '紫色', 4, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (3, 'm', 5, '尺码');
INSERT INTO `self_goods_rule_value` VALUES (4, 'm,l', 5, NULL);
INSERT INTO `self_goods_rule_value` VALUES (5, '紫色,红色', 6, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (6, '紫色,红色,蓝色', 7, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (9, '大', 9, '尺码');
INSERT INTO `self_goods_rule_value` VALUES (10, '红色', 9, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (14, 'm', 11, '大小');
INSERT INTO `self_goods_rule_value` VALUES (15, '紫色', 12, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (16, '红色,紫色', 13, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (20, '红色', 16, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (22, '红色,白色', 17, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (23, '红色', 18, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (24, 'm', 18, '尺码');
INSERT INTO `self_goods_rule_value` VALUES (25, '红色,黑色,白色', 19, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (26, 'm,l,s', 19, '尺码');
INSERT INTO `self_goods_rule_value` VALUES (27, 'm,l', 20, '大小');
INSERT INTO `self_goods_rule_value` VALUES (28, '红色,紫色', 20, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (29, 'm,l', 21, '大小');
INSERT INTO `self_goods_rule_value` VALUES (30, '红色,紫色', 21, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (47, '黑色,白色,黑色', 22, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (52, '紫色', 10, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (53, 'm', 10, '尺码');
INSERT INTO `self_goods_rule_value` VALUES (54, '红色,紫色', 14, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (55, 'm', 14, '大小');
INSERT INTO `self_goods_rule_value` VALUES (56, '黑色,白色,紫色', 15, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (59, '黑色', 23, 'X');
INSERT INTO `self_goods_rule_value` VALUES (60, '156', 24, '大小·');
INSERT INTO `self_goods_rule_value` VALUES (61, '222', 25, '大小');
INSERT INTO `self_goods_rule_value` VALUES (68, '253', 26, '大小');
INSERT INTO `self_goods_rule_value` VALUES (78, '带钻', 27, '有无钻');
INSERT INTO `self_goods_rule_value` VALUES (79, '2-2000000', 27, '价位');
INSERT INTO `self_goods_rule_value` VALUES (93, '布灵布灵', 28, '风格');
INSERT INTO `self_goods_rule_value` VALUES (94, 'l', 28, '大小');
INSERT INTO `self_goods_rule_value` VALUES (99, '红色', 8, '颜色');
INSERT INTO `self_goods_rule_value` VALUES (100, 'm', 8, '大小');
INSERT INTO `self_goods_rule_value` VALUES (101, '工装', 8, '风格');
INSERT INTO `self_goods_rule_value` VALUES (102, '粉色,五颜六色', 8, '颜色');

-- ----------------------------
-- Table structure for self_goods_sku
-- ----------------------------
DROP TABLE IF EXISTS `self_goods_sku`;
CREATE TABLE `self_goods_sku`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `goods_id` bigint(20) NULL DEFAULT NULL COMMENT '商品id',
  `sku_img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT 'sku图片',
  `sku_original_price` double NULL DEFAULT NULL COMMENT 'sku原价',
  `sku_price` double NULL DEFAULT NULL COMMENT 'sku商品售价',
  `member_price` double NULL DEFAULT NULL COMMENT '会员价格',
  `detail_json` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT 'sku信息，json封装',
  `sales` int(11) NULL DEFAULT NULL COMMENT '销量',
  `stock` int(11) NULL DEFAULT NULL COMMENT '库存',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 160 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_goods_sku
-- ----------------------------
INSERT INTO `self_goods_sku` VALUES (1, 52, NULL, 0, 0, 0, '大,红色', 0, 0);
INSERT INTO `self_goods_sku` VALUES (2, 53, NULL, 0, 0, 0, '紫色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (3, 53, NULL, 0, 0, 0, '红色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (4, 54, NULL, 0, 0, 0, '紫色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (5, 54, NULL, 0, 0, 0, '红色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (6, 55, NULL, 0, 0, 0, '紫色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (7, 55, NULL, 0, 0, 0, '红色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (8, 57, NULL, 0, 0, 0, '紫色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (9, 57, NULL, 0, 0, 0, '红色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (10, 58, NULL, 0, 0, 0, '紫色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (11, 58, NULL, 0, 0, 0, '红色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (12, 59, NULL, 0, 0, 0, '紫色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (13, 59, NULL, 0, 0, 0, '红色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (16, 76, NULL, 0, 0, 0, '紫色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (17, 76, NULL, 0, 0, 0, '红色,m', 0, 0);
INSERT INTO `self_goods_sku` VALUES (34, 91, 'https://tk.gomyorder.cn/img/20210512/66e26326a0a14e3abea2090bebd588f3.jfif', 100, 50, NULL, NULL, 0, 999);
INSERT INTO `self_goods_sku` VALUES (84, 97, 'https://api.shengqianxiong.com.cn/img/20210810/a47def2d5bfe4c07b8d6dfba2ff7fd8a.jpg', 36, 55, NULL, '红,x', 0, 995);
INSERT INTO `self_goods_sku` VALUES (85, 97, 'https://api.shengqianxiong.com.cn/img/20210810/a47def2d5bfe4c07b8d6dfba2ff7fd8a.jpg', 36, 55, NULL, '红,l', 0, 999);
INSERT INTO `self_goods_sku` VALUES (86, 97, 'https://api.shengqianxiong.com.cn/img/20210810/a47def2d5bfe4c07b8d6dfba2ff7fd8a.jpg', 36, 55, NULL, '黄,x', 0, 999);
INSERT INTO `self_goods_sku` VALUES (87, 97, 'https://api.shengqianxiong.com.cn/img/20210810/a47def2d5bfe4c07b8d6dfba2ff7fd8a.jpg', 36, 55, NULL, '黄,l', 0, 999);
INSERT INTO `self_goods_sku` VALUES (88, 97, 'https://api.shengqianxiong.com.cn/img/20210810/a47def2d5bfe4c07b8d6dfba2ff7fd8a.jpg', 36, 55, NULL, '蓝,x', 0, 999);
INSERT INTO `self_goods_sku` VALUES (89, 97, 'https://api.shengqianxiong.com.cn/img/20210810/a47def2d5bfe4c07b8d6dfba2ff7fd8a.jpg', 36, 55, NULL, '蓝,l', 0, 999);
INSERT INTO `self_goods_sku` VALUES (90, 96, 'https://api.shengqianxiong.com.cn/img/20210810/99866e2ada0e4d9c8d55a56527f77deb.jpg', 50, 40, NULL, '紫色,m', 0, 999);
INSERT INTO `self_goods_sku` VALUES (91, 96, 'https://api.shengqianxiong.com.cn/img/20210810/99866e2ada0e4d9c8d55a56527f77deb.jpg', 50, 40, NULL, '红色,m', 0, 999);
INSERT INTO `self_goods_sku` VALUES (92, 95, 'https://api.shengqianxiong.com.cn/img/20210810/0f972f2dc9fe46a08dfebf508364be80.jpg', 100, 90, NULL, '大,红色', 0, 999);
INSERT INTO `self_goods_sku` VALUES (107, 99, 'https://api.shengqianxiong.com.cn/img/20210814/bcd8ed002d9446d1b2e26d12a35283f9.jpeg', 10, 0.01, NULL, '红色,m,工装,粉色', 0, 96);
INSERT INTO `self_goods_sku` VALUES (108, 99, 'https://api.shengqianxiong.com.cn/img/20210814/8c038f45f5864a6e9bbaab133ee52bea.jpg', 10, 0.01, NULL, '红色,m,工装,五颜六色', 0, 88);
INSERT INTO `self_goods_sku` VALUES (111, 65, 'https://tk.gomyorder.cn/img/20200924/6896a2717e3c419094f62a3c107455e6.jpg', 2, 1, NULL, NULL, 0, 5);
INSERT INTO `self_goods_sku` VALUES (112, 63, 'https://tk.gomyorder.cn/img/20200924/8bc17c26f578441981efb5c0d55a761f.jpg', 5, 1, NULL, NULL, 0, 997);
INSERT INTO `self_goods_sku` VALUES (133, 66, 'https://tk.gomyorder.cn/img/20201107/e2c3514bc9824acd97841a23bc5f9998.png', 5, 1, NULL, NULL, 0, 5);
INSERT INTO `self_goods_sku` VALUES (135, 100, 'https://api.shengqianxiong.com.cn/img/20210814/7bb076847871417d9d153c1b126f99f2.jpg', 100, 50, NULL, '红色,m,工装,粉色', 0, 0);
INSERT INTO `self_goods_sku` VALUES (136, 100, 'https://api.shengqianxiong.com.cn/img/20210814/7bb076847871417d9d153c1b126f99f2.jpg', 100, 50, NULL, '红色,m,工装,黑色', 0, 0);
INSERT INTO `self_goods_sku` VALUES (137, 100, 'https://api.shengqianxiong.com.cn/img/20210814/7bb076847871417d9d153c1b126f99f2.jpg', 100, 50, NULL, '红色,m,工装,红色', 0, 0);
INSERT INTO `self_goods_sku` VALUES (138, 101, 'https://api.shengqianxiong.com.cn/file/uploadPath/2022/04/25/ae6370334a486d637f73de07c32afd6f.jpg', NULL, 20, NULL, NULL, 0, 999);
INSERT INTO `self_goods_sku` VALUES (140, 102, 'https://api.shengqianxiong.com.cn/file/uploadPath/2022/04/30/7981dc0ed9a4792ddf3d14243e9473f2.png', 100, 100, NULL, NULL, 0, 999);
INSERT INTO `self_goods_sku` VALUES (148, 98, 'https://api.shengqianxiong.com.cn/img/20210811/7e2a40c37b1745539da07793e1c1c7dc.jpg', 95, 85, NULL, NULL, 0, 998);
INSERT INTO `self_goods_sku` VALUES (155, 104, 'https://rwshop.xianmxkj.com/file/uploadPath/2022/06/24/94681944d192677aa426b95837c1abec.jpg', 100, 90, NULL, '大,红色', 0, 996);
INSERT INTO `self_goods_sku` VALUES (156, 104, 'https://rwshop.xianmxkj.com/file/uploadPath/2022/06/24/94681944d192677aa426b95837c1abec.jpg', 100, 90, NULL, '大,黑色', 0, 999);
INSERT INTO `self_goods_sku` VALUES (157, 104, 'https://rwshop.xianmxkj.com/file/uploadPath/2022/06/24/94681944d192677aa426b95837c1abec.jpg', 100, 90, NULL, '小,红色', 0, 999);
INSERT INTO `self_goods_sku` VALUES (158, 104, 'https://rwshop.xianmxkj.com/file/uploadPath/2022/06/24/94681944d192677aa426b95837c1abec.jpg', 100, 90, NULL, '小,黑色', 0, 998);
INSERT INTO `self_goods_sku` VALUES (159, 103, 'https://rwshop.xianmxkj.com/file/uploadPath/2022/05/19/176e12eee3b6f6b9b61e6dc047a6870c.jpg', 10, 1.01, NULL, NULL, 0, 999);

-- ----------------------------
-- Table structure for self_goods_virtual
-- ----------------------------
DROP TABLE IF EXISTS `self_goods_virtual`;
CREATE TABLE `self_goods_virtual`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '卡密内容',
  `cover_img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商品封面图片',
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `goods_id` bigint(20) NULL DEFAULT NULL COMMENT '商品id',
  `link_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '链接',
  `status` int(11) NULL DEFAULT NULL COMMENT '状态（1正常 2关闭 3已使用）',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '标题',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 57 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_goods_virtual
-- ----------------------------
INSERT INTO `self_goods_virtual` VALUES (6, 'sadasd45455', 'https://www.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2020-11-12 15:06:06', 80, 'http://www.baidu.com', 3, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (7, '12211212s1d', 'https://www.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2020-11-12 15:06:06', 80, 'http://www.baidu.com', 3, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (8, 'sfdssd65656', 'https://www.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2020-11-12 15:31:22', 80, 'http://www.baidu.com', 3, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (9, 'sdfsdfsd54587', 'https://www.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2020-11-12 15:31:22', 80, 'http://www.baidu.com', 3, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (10, 'sdfdsf5655', 'https://www.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2020-11-12 15:31:22', 80, 'http://www.baidu.com', 3, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (11, 'sfdssd65656', 'https://www.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2020-11-12 19:45:25', 80, 'http://www.baidu.com', 3, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (15, 'sfdssd656586', 'https://www.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2020-11-12 19:48:41', 80, 'https://www.xiansqx.com', 3, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (16, 'sfdssd659656', 'https://www.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2020-11-12 19:48:41', 80, 'https://www.xiansqx.com', 3, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (17, 'sfdssd651656', 'https://www.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2020-11-12 19:48:41', 80, 'https://www.xiansqx.com', 3, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (20, 'sfdssd65656', 'https://www.gomyorder.cn/img/20201107/10febbaeed25419f82a8d2cf7782f792.png', '2020-11-12 19:53:00', 82, 'https://www.xiansqx.com', 1, '诗凡黎衬衫女2020年新款秋装设计感小众天丝女装上衣长袖黄色衬衣');
INSERT INTO `self_goods_virtual` VALUES (22, 'dfjkhf', 'https://www.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2020-11-17 13:31:06', 80, 'https://www.xiansqx.com', 3, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (23, 'dfjkhdgf', 'https://www.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2020-11-17 13:31:06', 80, 'https://www.xiansqx.com', 3, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (24, 'dsadkskldsalfDSF', 'https://www.gomyorder.cn/img/20201107/10febbaeed25419f82a8d2cf7782f792.png', '2020-11-17 14:58:54', 82, 'https://www.xiansqx.com', 1, '诗凡黎衬衫女2020年新款秋装设计感小众天丝女装上衣长袖黄色衬衣');
INSERT INTO `self_goods_virtual` VALUES (25, '5546565656', 'https://www.gomyorder.cn/img/20201107/10febbaeed25419f82a8d2cf7782f792.png', '2020-11-17 14:58:54', 82, 'https://www.xiansqx.com', 1, '诗凡黎衬衫女2020年新款秋装设计感小众天丝女装上衣长袖黄色衬衣');
INSERT INTO `self_goods_virtual` VALUES (30, '5454578855', 'https://www.gomyorder.cn/img/20201107/10febbaeed25419f82a8d2cf7782f792.png', '2020-11-17 15:14:49', 82, 'https://sqx.gomyorder.cn', 1, '诗凡黎衬衫女2020年新款秋装设计感小众天丝女装上衣长袖黄色衬衣');
INSERT INTO `self_goods_virtual` VALUES (31, 'aaa', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2020-11-24 15:08:22', 83, 'http://tengxun.com', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (32, 'bbb', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2020-11-24 15:08:22', 83, 'http://tengxun.com', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (33, 'ccc', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2020-11-24 15:08:22', 83, 'https://m.nn.com/mcenterList.html?region_code=1&language=zh_CN&platform=2', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (34, 'dskjjfhkfh', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2020-12-04 13:10:27', 83, 'http://www/cj', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (35, 'sfjsf', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2020-12-04 13:10:27', 83, 'http://www/cj', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (36, 'sfkj', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2020-12-04 13:10:27', 83, 'http://www/cj', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (37, 'aa', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2020-12-08 10:57:49', 83, 'ss', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (38, 'wwqq', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2020-12-08 10:57:57', 83, 'ww', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (39, 'sbfsb', 'https://www.gomyorder.cn/img/20210322/77756115a5e046ee9b0463d53fb5ecfe.jpg', '2021-03-22 14:59:53', 89, 'sdvsf', 3, 'dbfg');
INSERT INTO `self_goods_virtual` VALUES (40, 'grgde', 'https://www.gomyorder.cn/img/20210322/77756115a5e046ee9b0463d53fb5ecfe.jpg', '2021-03-22 15:00:17', 89, 'dgfr', 3, 'dbfg');
INSERT INTO `self_goods_virtual` VALUES (41, 'fdhgf', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2021-03-24 11:04:22', 83, 'gdf', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (42, 'fdgdf', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2021-03-24 11:05:48', 83, 'http://www.baidu.com', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (43, 'dsgds', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2021-03-24 11:12:36', 83, 'https://www.baidu.com/', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (44, 'dvd', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2021-03-24 11:13:27', 83, 'https://sqx.gomyorder.cn', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (45, 'gregee', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2021-03-24 13:39:16', 83, 'reter', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (46, 'gtrg', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2021-03-24 14:05:15', 83, 'trg', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (47, 'fdbf', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2021-03-24 14:05:32', 83, 'dhb', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (48, 'bgf', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2021-03-24 14:05:45', 83, 'bfg', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (49, 'vd', 'https://www.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2021-03-24 14:06:39', 83, 'dv', 2, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (50, '111111111111111', 'https://tk.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2021-04-12 13:25:49', 83, '1111111', 3, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (51, '654654', 'https://tk.gomyorder.cn/img/20201118/3c8f31bfe8604dc199e52c59a15dae18.png', '2021-06-28 15:38:30', 83, '4645', 1, '腾讯视频');
INSERT INTO `self_goods_virtual` VALUES (52, '64564', 'https://tk.gomyorder.cn/img/20210628/185be6791d9d4dc99d6b90602201f2cf.png', '2021-06-29 11:28:23', 92, '436456', 1, '衬衫');
INSERT INTO `self_goods_virtual` VALUES (53, '67575', 'https://tk.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2021-06-29 16:33:42', 80, '75675', 3, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (54, '儿童', 'https://tk.gomyorder.cn/img/20201107/10febbaeed25419f82a8d2cf7782f792.png', '2021-08-03 09:45:08', 82, '儿童椅44444', 1, '诗凡黎衬衫女2020年新款秋装设计感小众天丝女装上衣长袖黄色衬衣');
INSERT INTO `self_goods_virtual` VALUES (55, '没有', 'https://tk.gomyorder.cn/img/20201028/800543bfd20e4d4b818e8797146a655b.png', '2021-08-10 15:32:09', 80, 'VC', 1, '省钱兄淘宝客系统');
INSERT INTO `self_goods_virtual` VALUES (56, '兜兜风', 'https://api.shengqianxiong.com.cn/img/20210814/7bb076847871417d9d153c1b126f99f2.jpg', '2022-04-15 10:43:36', 100, '嗯嗯', 3, '测试商品');

-- ----------------------------
-- Table structure for self_merchant_apply
-- ----------------------------
DROP TABLE IF EXISTS `self_merchant_apply`;
CREATE TABLE `self_merchant_apply`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `audit_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '生效日期',
  `audit_years` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '生效年限',
  `company_address_city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司注册地址市',
  `company_address_detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司注册详细地址',
  `company_address_district` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司注册地址区',
  `company_address_province` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '公司注册地址省',
  `company_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '营业执照编号',
  `company_license_img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '营业执照照片',
  `company_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商户名称',
  `company_term` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '营业期限',
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `id_card_img1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '证件照片正面',
  `id_card_img2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '证件照片国徽面',
  `id_card_img3` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '手持证件照片',
  `id_card_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '身份证号码',
  `id_card_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '证件类型(1中国大陆居民身份证 2中国香港居民来往内地通行证 3中国澳门居民来往内地通行证 4中国台湾居民来往内地通行证 5其他国家或地区居民护照)',
  `id_card_valid_time_end` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '身份证有效期起始时间',
  `id_card_valid_time_start` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '身份证有效期截止时间',
  `legal` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '店铺负责人',
  `legal_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '负责人电话',
  `server_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '客服电话',
  `status` int(11) NULL DEFAULT NULL COMMENT '审核状态（1待处理 2通过 3拒绝）',
  `store_address_detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '店铺地址详细',
  `store_address_province` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '店铺地址省市',
  `store_head` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '负责人姓名',
  `store_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '店铺名称',
  `store_type` int(11) NULL DEFAULT NULL COMMENT '店铺类型（1个人 2个体工商户 3企业 4其他组织）',
  `refund_reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '拒绝原因',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_merchant_apply
-- ----------------------------

-- ----------------------------
-- Table structure for self_order_relation
-- ----------------------------
DROP TABLE IF EXISTS `self_order_relation`;
CREATE TABLE `self_order_relation`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `commission_price` double NULL DEFAULT NULL COMMENT '订单佣金',
  `create_at` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `order_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单id',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  `detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '分销明细',
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '电话',
  `status` int(11) NULL DEFAULT NULL COMMENT '状态 1未到账 2已到账',
  `finish_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '收货时间',
  `goods_id` bigint(20) NULL DEFAULT NULL COMMENT '商品id',
  `goods_img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商品图片',
  `goods_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商品标题',
  `lower_user_id` bigint(20) NULL DEFAULT NULL COMMENT '下级用户id',
  `lower_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '下级用户名称',
  `money_from` int(11) NULL DEFAULT NULL COMMENT '佣金来源（1直属 2自己 3非直属）',
  `pay_money` double NULL DEFAULT NULL COMMENT '支付金额',
  `commission_money` double NULL DEFAULT NULL COMMENT '订单佣金',
  `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '用户姓名',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 473 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_order_relation
-- ----------------------------

-- ----------------------------
-- Table structure for self_order_remind
-- ----------------------------
DROP TABLE IF EXISTS `self_order_remind`;
CREATE TABLE `self_order_remind`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `orders_id` bigint(20) NULL DEFAULT NULL COMMENT '订单id',
  `status` int(11) NULL DEFAULT NULL COMMENT '状态1提醒 2收到',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 50 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_order_remind
-- ----------------------------

-- ----------------------------
-- Table structure for self_order_sale
-- ----------------------------
DROP TABLE IF EXISTS `self_order_sale`;
CREATE TABLE `self_order_sale`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '未使用',
  `refused` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `apply` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `orders_id` bigint(20) NULL DEFAULT NULL,
  `status` int(11) NULL DEFAULT NULL,
  `user_id` bigint(20) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_order_sale
-- ----------------------------

-- ----------------------------
-- Table structure for self_orders
-- ----------------------------
DROP TABLE IF EXISTS `self_orders`;
CREATE TABLE `self_orders`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `consignee` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '收货人',
  `create_at` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `descrition` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单备注',
  `detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '详细地址',
  `img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商品图片',
  `mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '电话',
  `number` int(11) NULL DEFAULT NULL COMMENT '商品个数',
  `order_num` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '订单号',
  `pay_money` double NULL DEFAULT NULL COMMENT '支付金额',
  `price` double NULL DEFAULT NULL COMMENT '价格',
  `status` int(11) NULL DEFAULT NULL COMMENT '订单状态（1待付款 2已付款 3已发货 4已收货 5已取消 6退款中 7已退款 8拒绝退款 9拼团中 10已评价）',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '标题',
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '类型',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  `finish_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '完成时间',
  `pay_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '支付时间',
  `pay_way` int(11) NULL DEFAULT NULL COMMENT '支付方式（1app微信 2微信公众号 3微信小程序 4app支付宝 5H5支付宝 6零钱）',
  `user_coupons_id` bigint(20) NULL DEFAULT NULL COMMENT '用户优惠券id',
  `commission_price` double NULL DEFAULT NULL COMMENT '订单佣金',
  `relation_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '会员邀请码id',
  `provinces` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '省市区',
  `express_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递名称',
  `express_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '快递单号',
  `refund` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '退款理由',
  `goods_id` bigint(20) NULL DEFAULT NULL COMMENT '商品id',
  `is_express` int(11) NULL DEFAULT NULL COMMENT '是否需要发货(1需要发货 2无需发货)',
  `is_refund` int(11) NULL DEFAULT NULL COMMENT '是否可以退款（2不可退款）',
  `refused_refund` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '拒绝退款理由',
  `coupon_money` double NULL DEFAULT NULL COMMENT '优惠券金额',
  `detail_json` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '商品sku信息',
  `express_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '发货时间',
  `group_id` bigint(20) NULL DEFAULT NULL COMMENT '拼团商品Id',
  `group_pink_id` bigint(20) NULL DEFAULT NULL COMMENT '加入拼团团体id',
  `merchant_id` bigint(20) NULL DEFAULT NULL COMMENT '商户id',
  `order_type` int(11) NULL DEFAULT NULL COMMENT '订单类型（1普通订单 2拼团 3秒杀）',
  `pay_num` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '支付单号',
  `postage_price` double NULL DEFAULT NULL COMMENT '邮费',
  `sec_kill_id` bigint(20) NULL DEFAULT NULL COMMENT '秒杀商品id',
  `sku_id` bigint(20) NULL DEFAULT NULL COMMENT '商品skuId',
  `virtual_id` bigint(20) NULL DEFAULT NULL COMMENT '虚拟商品id',
  `member_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员价格',
  `send_way` int(11) NULL DEFAULT NULL COMMENT '配送方式 1快递 2自取',
  `old_status` int(11) NULL DEFAULT NULL COMMENT '退款前状态',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 618 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_orders
-- ----------------------------

-- ----------------------------
-- Table structure for self_prize
-- ----------------------------
DROP TABLE IF EXISTS `self_prize`;
CREATE TABLE `self_prize`  (
  `prize_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '奖品id',
  `add_ji_fen` int(11) NULL DEFAULT NULL COMMENT '中奖积分',
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '奖品展示名称',
  `prize_image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '奖品图片',
  `prize_rule_id` bigint(20) NULL DEFAULT NULL,
  `type` int(11) NULL DEFAULT NULL COMMENT '类型',
  `weight` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`prize_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_prize
-- ----------------------------
INSERT INTO `self_prize` VALUES (1, 0, '2020-11-25 16:59:43', '谢谢惠顾', 'https://api.shengqianxiong.com.cn/img/20201125/83eca1a126ab43ddb98d50317ba98550.png', 1, 1, 100);
INSERT INTO `self_prize` VALUES (2, 10, '2020-11-25 16:59:54', '10积分', 'https://api.shengqianxiong.com.cn/img/20201125/90f5eb02d4af4083a80e8dae51bdfd78.png', 1, 1, 30);
INSERT INTO `self_prize` VALUES (3, 50, '2020-11-25 17:00:04', '50积分', 'https://api.shengqianxiong.com.cn/img/20201125/b7c494a13a06457192a2b63f9e7bcb3f.png', 1, 1, 50);
INSERT INTO `self_prize` VALUES (4, 5, '2021-03-22 14:27:33', 'tyrt', '', 5, 1, 1);
INSERT INTO `self_prize` VALUES (6, 1, '2021-06-25 16:51:49', 'tytr', 'https://h5.xuexiaedu.com/img/20210625/5ed65002c33f417eb7bfa5876723dd48.png', 7, 1, 5);

-- ----------------------------
-- Table structure for self_prize_rule
-- ----------------------------
DROP TABLE IF EXISTS `self_prize_rule`;
CREATE TABLE `self_prize_rule`  (
  `prize_rule_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '奖池id',
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '活动规则',
  `ji_fen` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '消耗积分',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '抽奖名称',
  `number` int(11) NULL DEFAULT NULL COMMENT '每日抽取次数',
  `status` int(11) NULL DEFAULT NULL COMMENT '状态（1开启 2关闭）',
  PRIMARY KEY (`prize_rule_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_prize_rule
-- ----------------------------
INSERT INTO `self_prize_rule` VALUES (1, '2020-11-23 13:55:18', '每人每天限制抽取3次', '10', '积分抽奖', 3, 1);

-- ----------------------------
-- Table structure for self_prize_user
-- ----------------------------
DROP TABLE IF EXISTS `self_prize_user`;
CREATE TABLE `self_prize_user`  (
  `prize_user_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '抽奖记录id',
  `add_ji_fen` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '增加的积分',
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `less_ji_fen` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '减少的积分',
  `nick_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '昵称',
  `prize_id` bigint(20) NULL DEFAULT NULL COMMENT '奖品id',
  `prize_rule_id` bigint(20) NULL DEFAULT NULL COMMENT '奖池id',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  PRIMARY KEY (`prize_user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 189 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_prize_user
-- ----------------------------

-- ----------------------------
-- Table structure for self_tenant_apply
-- ----------------------------
DROP TABLE IF EXISTS `self_tenant_apply`;
CREATE TABLE `self_tenant_apply`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '未使用',
  `company_address_city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `company_address_detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `company_address_district` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `company_address_province` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `company_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `company_license_img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `company_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `company_term` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `legal` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `legal_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `server_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `store_address_detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `store_address_province` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `store_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `store_type` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_tenant_apply
-- ----------------------------

-- ----------------------------
-- Table structure for self_user_collect
-- ----------------------------
DROP TABLE IF EXISTS `self_user_collect`;
CREATE TABLE `self_user_collect`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `cover_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `create_time` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `goods_id` bigint(20) NULL DEFAULT NULL,
  `price` double NULL DEFAULT NULL,
  `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `user_id` bigint(20) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 104 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of self_user_collect
-- ----------------------------

-- ----------------------------
-- Table structure for sys_captcha
-- ----------------------------
DROP TABLE IF EXISTS `sys_captcha`;
CREATE TABLE `sys_captcha`  (
  `uuid` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'uuid',
  `code` varchar(6) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '验证码',
  `expire_time` datetime(0) NULL DEFAULT NULL COMMENT '过期时间',
  PRIMARY KEY (`uuid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统验证码' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_captcha
-- ----------------------------

-- ----------------------------
-- Table structure for sys_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_config`;
CREATE TABLE `sys_config`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `param_key` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'key',
  `param_value` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'value',
  `status` tinyint(4) NULL DEFAULT 1 COMMENT '状态   0：隐藏   1：显示',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `param_key`(`param_key`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统配置信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_config
-- ----------------------------

-- ----------------------------
-- Table structure for sys_dict
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict`;
CREATE TABLE `sys_dict`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字典名称',
  `type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字典类型',
  `code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字典码',
  `value` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字典值',
  `order_num` int(11) NULL DEFAULT 0 COMMENT '排序',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `parent_id` int(11) NULL DEFAULT NULL,
  `status` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 96 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '数据字典表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_dict
-- ----------------------------
INSERT INTO `sys_dict` VALUES (22, '服务类型', '服务类型', '', '', 5, '11', 0, NULL);
INSERT INTO `sys_dict` VALUES (91, '', '', '足浴按摩', '足浴按摩', 2, '足浴按摩', 22, 1);
INSERT INTO `sys_dict` VALUES (95, '', '', '健身私教', '健身私教', 1, '健身私教', 22, 1);

-- ----------------------------
-- Table structure for sys_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_log`;
CREATE TABLE `sys_log`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名',
  `operation` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户操作',
  `method` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '请求方法',
  `params` varchar(5000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '请求参数',
  `time` bigint(20) NOT NULL COMMENT '执行时长(毫秒)',
  `ip` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'IP地址',
  `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 473 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统日志' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_log
-- ----------------------------

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu`  (
  `menu_id` bigint(20) NOT NULL AUTO_INCREMENT,
  `parent_id` bigint(20) NULL DEFAULT NULL COMMENT '父菜单ID，一级菜单为0',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单名称',
  `url` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单URL',
  `perms` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '授权(多个用逗号分隔，如：user:list,user:create)',
  `type` int(11) NULL DEFAULT NULL COMMENT '类型   0：目录   1：菜单   2：按钮',
  `icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '菜单图标',
  `order_num` int(11) NULL DEFAULT NULL COMMENT '排序',
  PRIMARY KEY (`menu_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 264 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '菜单管理' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
INSERT INTO `sys_menu` VALUES (2, 128, '管理员列表', 'sys/user', NULL, 1, 'admin', 1);
INSERT INTO `sys_menu` VALUES (3, 128, '角色管理', 'sys/role', NULL, 1, 'role', 1);
INSERT INTO `sys_menu` VALUES (4, 128, '菜单管理', 'sys/menu', NULL, 1, 'menu', 2);
INSERT INTO `sys_menu` VALUES (15, 2, '查看', NULL, 'sys:user:list,sys:user:info', 2, NULL, 0);
INSERT INTO `sys_menu` VALUES (16, 2, '新增', NULL, 'sys:user:save,sys:role:select', 2, NULL, 0);
INSERT INTO `sys_menu` VALUES (17, 2, '修改', NULL, 'sys:user:update,sys:role:select', 2, NULL, 0);
INSERT INTO `sys_menu` VALUES (18, 2, '删除', NULL, 'sys:user:delete', 2, NULL, 0);
INSERT INTO `sys_menu` VALUES (19, 3, '查看', NULL, 'sys:role:list,sys:role:info', 2, NULL, 0);
INSERT INTO `sys_menu` VALUES (20, 3, '新增', NULL, 'sys:role:save,sys:menu:list', 2, NULL, 0);
INSERT INTO `sys_menu` VALUES (21, 3, '修改', NULL, 'sys:role:update,sys:menu:list', 2, NULL, 0);
INSERT INTO `sys_menu` VALUES (22, 3, '删除', NULL, 'sys:role:delete', 2, NULL, 0);
INSERT INTO `sys_menu` VALUES (23, 4, '查看', NULL, 'sys:menu:list,sys:menu:info', 2, NULL, 0);
INSERT INTO `sys_menu` VALUES (24, 4, '新增', NULL, 'sys:menu:save,sys:menu:select', 2, NULL, 0);
INSERT INTO `sys_menu` VALUES (25, 4, '修改', NULL, 'sys:menu:update,sys:menu:select', 2, NULL, 0);
INSERT INTO `sys_menu` VALUES (26, 4, '删除', NULL, 'sys:menu:delete', 2, NULL, 0);
INSERT INTO `sys_menu` VALUES (32, 0, '用户中心', 'userList', '', 1, 'yonghul', 1);
INSERT INTO `sys_menu` VALUES (33, 0, '数据中心', 'home', '', 1, 'shuju', 0);
INSERT INTO `sys_menu` VALUES (34, 0, '财务中心', 'financeList', '', 1, 'caiwu', 1);
INSERT INTO `sys_menu` VALUES (35, 34, '查看', '', 'financeList:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (36, 34, '转账', '', 'financeList:transfer', 2, '', 0);
INSERT INTO `sys_menu` VALUES (37, 34, '退款', '', 'financeList:refund', 2, '', 0);
INSERT INTO `sys_menu` VALUES (39, 34, '修改', '', 'financeList:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (40, 34, '删除', '', 'financeList:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (41, 0, '消息中心', 'message', '', 1, 'xiaoxi', 1);
INSERT INTO `sys_menu` VALUES (42, 41, '查看', '', 'message:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (43, 41, '消息推送', '', 'message:push', 2, '', 0);
INSERT INTO `sys_menu` VALUES (50, 0, '首页装修', 'bannerList', '', 1, 'shangpin', 2);
INSERT INTO `sys_menu` VALUES (51, 50, '查看', '', 'bannerList:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (52, 50, '添加', '', 'bannerList:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (53, 50, '修改', '', 'bannerList:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (54, 50, '删除', '', 'bannerList:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (57, 0, '系统配置', 'allocationList', '', 1, 'menu', 19);
INSERT INTO `sys_menu` VALUES (58, 57, '查看', '', 'allocationList:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (59, 57, '修改', '', 'allocationList:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (60, 32, '查看', '', 'userList:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (61, 32, '删除', '', 'userList:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (62, 0, '订单中心', 'orderCenter', '', 1, 'log', 4);
INSERT INTO `sys_menu` VALUES (63, 62, '查看', '', '', 2, '', 0);
INSERT INTO `sys_menu` VALUES (64, 62, '删除', '', 'orderCenter:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (69, 41, '添加', '', 'message:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (70, 41, '修改', '', 'message:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (71, 41, '删除', '', 'message:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (72, 0, '服务中心', 'locality', '', 1, 'order', 6);
INSERT INTO `sys_menu` VALUES (73, 72, '添加', '', 'locality:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (74, 72, '查看', '', 'locality:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (75, 72, '修改', '', 'locality:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (76, 72, '删除', '', 'locality:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (77, 159, '实名认证', 'autonym', '', 1, 'shangpin', 6);
INSERT INTO `sys_menu` VALUES (78, 77, '列表', '', 'autonym:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (79, 129, '聊天室', 'vueMchat', '', 1, 'xiaoxi', 0);
INSERT INTO `sys_menu` VALUES (90, 32, '修改积分', '', 'userList:updatejf', 2, '', 0);
INSERT INTO `sys_menu` VALUES (91, 32, '修改用户状态', '', 'userList:updateStatus', 2, '', 0);
INSERT INTO `sys_menu` VALUES (92, 77, '通过', '', 'autonym:tongguo', 2, '', 0);
INSERT INTO `sys_menu` VALUES (93, 77, '拒绝', '', 'autonym:jujue', 2, '', 0);
INSERT INTO `sys_menu` VALUES (94, 128, '升级配置', 'app', '', 1, 'sql', 9);
INSERT INTO `sys_menu` VALUES (95, 94, '查看', '', 'app:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (96, 94, '添加', '', 'app:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (97, 94, '修改', '', 'app:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (98, 94, '删除', '', 'app:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (99, 129, '聊天记录', 'chatRecord', '', 1, 'renwu', 0);
INSERT INTO `sys_menu` VALUES (100, 99, '查看', '', 'chatRecord:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (101, 99, '删除', '', 'chatRecord:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (107, 159, '技师申请', 'applyList', '', 1, 'fenleilist', 0);
INSERT INTO `sys_menu` VALUES (108, 107, '查看', '', 'applyList:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (109, 107, '通过', '', 'applyList:tongguo', 2, '', 0);
INSERT INTO `sys_menu` VALUES (110, 107, '拒绝', '', 'applyList:jujue', 2, '', 0);
INSERT INTO `sys_menu` VALUES (118, 130, '会员配置', 'memberDetails', '', 1, 'renwu', 0);
INSERT INTO `sys_menu` VALUES (119, 130, '会员特权', 'vipPrivilege', '', 1, 'renwu', 0);
INSERT INTO `sys_menu` VALUES (120, 118, '修改', '', 'memberDetails:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (121, 118, '删除', '', 'memberDetails:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (122, 118, '添加', '', 'memberDetails:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (123, 118, '列表', '', 'memberDetails:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (124, 119, '列表', '', 'vipPrivilege:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (125, 119, '添加', '', 'vipPrivilege:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (126, 119, '修改', '', 'vipPrivilege:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (127, 119, '删除', '', 'vipPrivilege:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (128, 0, '系统管理', '', '', 0, 'shezhi', 20);
INSERT INTO `sys_menu` VALUES (129, 0, '聊天管理', '', '', 0, 'renwu1', 9);
INSERT INTO `sys_menu` VALUES (130, 0, '会员管理', '', '', 0, 'leibie', 7);
INSERT INTO `sys_menu` VALUES (131, 128, '字典', 'sys/dict', '', 1, 'fenleilist', 0);
INSERT INTO `sys_menu` VALUES (132, 131, '查看', '', 'sys:dict:list,sys:dict:info', 2, '', 0);
INSERT INTO `sys_menu` VALUES (133, 131, '新增', '', 'sys:dict:save', 2, '', 0);
INSERT INTO `sys_menu` VALUES (134, 131, '修改', '', 'sys:dict:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (135, 131, '删除', '', 'sys:dict:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (136, 0, '师傅地图', 'shifuScheduling', '', 1, 'dangdifill', 10);
INSERT INTO `sys_menu` VALUES (137, 136, '查看', '', 'shifuScheduling:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (138, 195, '天网中心', 'skynetCenter', '', 1, 'xinxi', 0);
INSERT INTO `sys_menu` VALUES (139, 138, '查看', '', 'skynetCenter:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (140, 0, '优惠券管理', '', '', 0, 'editor', 7);
INSERT INTO `sys_menu` VALUES (141, 140, '优惠券', 'couponYhq', '', 1, 'tianjia', 0);
INSERT INTO `sys_menu` VALUES (142, 141, '查看', '', 'couponYhq:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (143, 141, '添加', '', 'couponYhq:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (144, 141, '修改', '', 'couponYhq:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (145, 141, '删除', '', 'couponYhq:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (146, 141, '赠送', '', 'couponYhq:zengsong', 2, '', 0);
INSERT INTO `sys_menu` VALUES (152, 140, '优惠券领取记录', 'couponuser', '', 1, 'order', 0);
INSERT INTO `sys_menu` VALUES (153, 152, '查看', '', 'couponuser:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (154, 140, '充值配置', 'IntegralGoods', '', 1, 'log', 0);
INSERT INTO `sys_menu` VALUES (155, 154, '查看', '', 'IntegralGoods:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (156, 154, '添加', '', 'IntegralGoods:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (157, 154, '修改', '', 'IntegralGoods:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (158, 154, '删除', '', 'IntegralGoods:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (159, 0, '技师管理', '', '', 0, 'role', 8);
INSERT INTO `sys_menu` VALUES (160, 159, '技师列表', 'technician', '', 1, 'renwu', 0);
INSERT INTO `sys_menu` VALUES (161, 160, '查看', '', 'technician:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (162, 160, '修改', '', 'technician:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (163, 160, '删除', '', 'technician:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (164, 0, '评价中心', 'comment', '', 1, 'pinglun', 9);
INSERT INTO `sys_menu` VALUES (165, 164, '查看', '', 'comment:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (166, 164, '删除', '', 'comment:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (167, 0, '投诉中心', 'business', '', 1, 'renwu1', 9);
INSERT INTO `sys_menu` VALUES (168, 167, '查看', '', 'business:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (169, 167, '通过', '', 'business:tongguo', 2, '', 0);
INSERT INTO `sys_menu` VALUES (170, 167, '拒绝', '', 'business:jujue', 2, '', 0);
INSERT INTO `sys_menu` VALUES (171, 167, '添加', '', 'business:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (172, 167, '修改', '', 'business:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (173, 167, '删除', '', 'business:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (174, 195, '紧急求助', 'emergencyHelp', '', 1, 'tianjia', 0);
INSERT INTO `sys_menu` VALUES (175, 174, '查看', '', 'emergencyHelp:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (176, 32, '修改信用分', '', 'userList:updateXyf', 2, '', 0);
INSERT INTO `sys_menu` VALUES (177, 0, '出行配置', 'travel', '', 1, 'pingtai', 12);
INSERT INTO `sys_menu` VALUES (178, 177, '查看', '', 'travel:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (179, 177, '添加', '', 'travel:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (180, 177, '修改', '', 'travel:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (181, 177, '删除', '', 'travel:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (182, 0, '推广代理', 'agent', '', 1, 'shangpin', 10);
INSERT INTO `sys_menu` VALUES (183, 182, '查看', '', 'agent:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (184, 0, '帮助中心', 'materialsList', '', 1, 'leibie', 10);
INSERT INTO `sys_menu` VALUES (185, 184, '查看', '', 'materialsList:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (186, 184, '添加', '', 'materialsList:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (188, 184, '修改', '', 'materialsList:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (189, 184, '删除', '', 'materialsList:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (195, 0, '安全中心', '', '', 0, 'tianjia', 11);
INSERT INTO `sys_menu` VALUES (196, 32, '修改佣金比例', '', 'userList:updatebl', 2, '', 0);
INSERT INTO `sys_menu` VALUES (197, 32, '设置会员', '', 'userList:updateVip', 2, '', 0);
INSERT INTO `sys_menu` VALUES (198, 32, '设置技师', '', 'userList:updateJs', 2, '', 0);
INSERT INTO `sys_menu` VALUES (199, 32, '设置推广员', '', 'userList:updateTgy', 2, '', 0);
INSERT INTO `sys_menu` VALUES (200, 32, '修改信息', '', 'userList:updateXx', 2, '', 0);
INSERT INTO `sys_menu` VALUES (201, 34, '导出', '', 'financeList:daochu', 2, '', 0);
INSERT INTO `sys_menu` VALUES (202, 62, '导出', '', 'orderCenter:daochu', 2, '', 0);
INSERT INTO `sys_menu` VALUES (203, 62, '退款', '', 'orderCenter:tuikuan', 2, '', 0);
INSERT INTO `sys_menu` VALUES (204, 182, '通过', '', 'agent:tongguo', 2, '', 0);
INSERT INTO `sys_menu` VALUES (205, 182, '拒绝', '', 'agent:jujue', 2, '', 0);
INSERT INTO `sys_menu` VALUES (206, 138, '修改用户状态', '', 'skynetCenter:fxyh', 2, '', 0);
INSERT INTO `sys_menu` VALUES (207, 174, '处理', '', 'emergencyHelp:chuli', 2, '', 0);
INSERT INTO `sys_menu` VALUES (208, 0, '自营商城', '', '', 0, 'shouye', 6);
INSERT INTO `sys_menu` VALUES (209, 208, '商品管理', 'shopAdmin', '', 1, 'peizhilb', 0);
INSERT INTO `sys_menu` VALUES (210, 209, '查看', '', 'shopAdmin:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (211, 209, '添加', '', 'shopAdmin:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (213, 209, '修改', '', 'shopAdmin:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (214, 209, '删除', '', 'shopAdmin:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (215, 208, '商品分类', 'classifyAdmin', '', 1, 'leibie', 0);
INSERT INTO `sys_menu` VALUES (216, 215, '查看', '', 'classifyAdmin:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (217, 215, '添加', '', 'classifyAdmin:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (218, 215, '修改', '', 'classifyAdmin:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (219, 215, '删除', '', 'classifyAdmin:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (220, 208, '商品规格', 'specification', '', 1, 'fenleilist', 0);
INSERT INTO `sys_menu` VALUES (221, 220, '查看', '', 'specification:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (222, 220, '添加', '', 'specification:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (223, 220, '修改', '', 'specification:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (224, 220, '删除', '', 'specification:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (225, 208, '订单管理', 'orderAdmin', '', 1, 'order', 0);
INSERT INTO `sys_menu` VALUES (226, 225, '查看', '', 'orderAdmin:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (227, 208, '商城配置', 'shopConfig', '', 1, 'config', 0);
INSERT INTO `sys_menu` VALUES (228, 227, '查看', '', 'shopConfig:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (229, 227, '添加', '', 'shopConfig:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (230, 227, '修改', '', 'shopConfig:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (231, 227, '删除', '', 'shopConfig:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (232, 0, '商家管理', 'merchantList', '', 1, 'yonghul', 6);
INSERT INTO `sys_menu` VALUES (233, 232, '查看', '', 'merchantList:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (234, 232, '添加', '', 'merchantList:add', 2, '', 0);
INSERT INTO `sys_menu` VALUES (235, 232, '修改', '', 'merchantList:update', 2, '', 0);
INSERT INTO `sys_menu` VALUES (236, 232, '删除', '', 'merchantList:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (237, 208, '待处理订单', 'disposeOrder', '', 1, 'config', 0);
INSERT INTO `sys_menu` VALUES (238, 237, '查看', '', 'disposeOrder:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (239, 237, '确认退款', '', 'disposeOrder:refund', 2, '', 0);
INSERT INTO `sys_menu` VALUES (240, 237, '拒绝退款', '', 'disposeOrder:jujue', 2, '', 0);
INSERT INTO `sys_menu` VALUES (241, 237, '发货', '', 'disposeOrder:deliver', 2, '', 0);
INSERT INTO `sys_menu` VALUES (242, 32, '解绑商家', '', 'userList:updatejb', 2, '', 0);
INSERT INTO `sys_menu` VALUES (243, 32, '添加充值技师金额', '', 'userList:addcz', 2, '', 0);
INSERT INTO `sys_menu` VALUES (244, 32, '修改充值技师金额', '', 'userList:updatecz', 2, '', 0);
INSERT INTO `sys_menu` VALUES (245, 208, '商品评价', 'discuss', '', 1, 'xiaoxi', 0);
INSERT INTO `sys_menu` VALUES (246, 245, '查看', '', 'discuss:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (247, 245, '回复', '', 'brandShop:huifu', 2, '', 0);
INSERT INTO `sys_menu` VALUES (248, 245, '删除', '', 'brandShop:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (249, 237, '确认收货', '', 'disposeOrder:shouhuo', 2, '', 0);
INSERT INTO `sys_menu` VALUES (250, 225, '确认收货', '', 'disposeOrder:shouhuo', 2, '', 0);
INSERT INTO `sys_menu` VALUES (251, 159, '签到记录', 'signIn', '', 1, 'renwu', 0);
INSERT INTO `sys_menu` VALUES (252, 251, '查看', '', 'signIn:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (253, 159, '收益排行榜', 'riderTop', '', 1, 'tubiao', 0);
INSERT INTO `sys_menu` VALUES (254, 253, '查看', '', 'riderTop:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (257, 0, '城市投票', 'cityVoting', '', 1, 'mudedi', 8);
INSERT INTO `sys_menu` VALUES (258, 257, '查看', '', 'cityVoting:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (259, 195, '师傅位置记录', 'masterPosition', '', 1, 'dangdifill', 0);
INSERT INTO `sys_menu` VALUES (260, 259, '查看', '', 'masterPosition:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (261, 195, '服务中订单', 'orderInService', '', 1, 'renwu', 0);
INSERT INTO `sys_menu` VALUES (262, 261, '查看', '', 'orderInService:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (263, 62, '完成订单', '', 'orderCenter:wancheng', 2, '', 0);
INSERT INTO `sys_menu` VALUES (264, 159, '信用分排行榜', 'top', '', 1, 'tubiao', 1);
INSERT INTO `sys_menu` VALUES (265, 264, '查看', '', 'top:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (266, 159, '信用分明细', 'creditScore', '', 1, 'renwu', 2);
INSERT INTO `sys_menu` VALUES (267, 266, '查看', '', 'creditScore:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (268, 251, '删除', '', 'signIn:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (269, 0, '转化率列表', 'conversionRate', ' ', 1, 'leibie', 9);
INSERT INTO `sys_menu` VALUES (270, 269, '查看', '', 'conversionRate:list', 2, '', 0);
INSERT INTO `sys_menu` VALUES (271, 152, '失效', '', 'couponuser:shixiao', 2, '', 0);
INSERT INTO `sys_menu` VALUES (272, 152, '删除', '', 'couponuser:delete', 2, '', 0);
INSERT INTO `sys_menu` VALUES (273, 62, '取消订单', '', 'orderCenter:quxiao', 2, '', 0);

-- ----------------------------
-- Table structure for sys_oss
-- ----------------------------
DROP TABLE IF EXISTS `sys_oss`;
CREATE TABLE `sys_oss`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `url` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'URL地址',
  `create_date` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '文件上传' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_oss
-- ----------------------------

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role`  (
  `role_id` bigint(20) NOT NULL AUTO_INCREMENT,
  `role_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '角色名称',
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_user_id` bigint(20) NULL DEFAULT NULL COMMENT '创建者ID',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`role_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_role
-- ----------------------------
INSERT INTO `sys_role` VALUES (1, '超级管理员', 'super', 2, '2021-06-04 17:38:28');
INSERT INTO `sys_role` VALUES (4, '普通用户', '普通用户', 2, '2021-09-10 15:33:47');

-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `role_id` bigint(20) NULL DEFAULT NULL COMMENT '角色ID',
  `menu_id` bigint(20) NULL DEFAULT NULL COMMENT '菜单ID',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6313 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色与菜单对应关系' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------
INSERT INTO `sys_role_menu` VALUES (7087, 4, 33);
INSERT INTO `sys_role_menu` VALUES (7088, 4, 60);
INSERT INTO `sys_role_menu` VALUES (7089, 4, 90);
INSERT INTO `sys_role_menu` VALUES (7090, 4, 91);
INSERT INTO `sys_role_menu` VALUES (7091, 4, 176);
INSERT INTO `sys_role_menu` VALUES (7092, 4, 196);
INSERT INTO `sys_role_menu` VALUES (7093, 4, 197);
INSERT INTO `sys_role_menu` VALUES (7094, 4, 198);
INSERT INTO `sys_role_menu` VALUES (7095, 4, 199);
INSERT INTO `sys_role_menu` VALUES (7096, 4, 200);
INSERT INTO `sys_role_menu` VALUES (7097, 4, 242);
INSERT INTO `sys_role_menu` VALUES (7098, 4, 243);
INSERT INTO `sys_role_menu` VALUES (7099, 4, 244);
INSERT INTO `sys_role_menu` VALUES (7100, 4, 34);
INSERT INTO `sys_role_menu` VALUES (7101, 4, 35);
INSERT INTO `sys_role_menu` VALUES (7102, 4, 36);
INSERT INTO `sys_role_menu` VALUES (7103, 4, 37);
INSERT INTO `sys_role_menu` VALUES (7104, 4, 39);
INSERT INTO `sys_role_menu` VALUES (7105, 4, 40);
INSERT INTO `sys_role_menu` VALUES (7106, 4, 201);
INSERT INTO `sys_role_menu` VALUES (7107, 4, 41);
INSERT INTO `sys_role_menu` VALUES (7108, 4, 42);
INSERT INTO `sys_role_menu` VALUES (7109, 4, 43);
INSERT INTO `sys_role_menu` VALUES (7110, 4, 69);
INSERT INTO `sys_role_menu` VALUES (7111, 4, 70);
INSERT INTO `sys_role_menu` VALUES (7112, 4, 71);
INSERT INTO `sys_role_menu` VALUES (7113, 4, 51);
INSERT INTO `sys_role_menu` VALUES (7114, 4, 62);
INSERT INTO `sys_role_menu` VALUES (7115, 4, 263);
INSERT INTO `sys_role_menu` VALUES (7116, 4, 63);
INSERT INTO `sys_role_menu` VALUES (7117, 4, 64);
INSERT INTO `sys_role_menu` VALUES (7118, 4, 202);
INSERT INTO `sys_role_menu` VALUES (7119, 4, 203);
INSERT INTO `sys_role_menu` VALUES (7120, 4, 73);
INSERT INTO `sys_role_menu` VALUES (7121, 4, 74);
INSERT INTO `sys_role_menu` VALUES (7122, 4, 75);
INSERT INTO `sys_role_menu` VALUES (7123, 4, 208);
INSERT INTO `sys_role_menu` VALUES (7124, 4, 209);
INSERT INTO `sys_role_menu` VALUES (7125, 4, 210);
INSERT INTO `sys_role_menu` VALUES (7126, 4, 211);
INSERT INTO `sys_role_menu` VALUES (7127, 4, 213);
INSERT INTO `sys_role_menu` VALUES (7128, 4, 214);
INSERT INTO `sys_role_menu` VALUES (7129, 4, 215);
INSERT INTO `sys_role_menu` VALUES (7130, 4, 216);
INSERT INTO `sys_role_menu` VALUES (7131, 4, 217);
INSERT INTO `sys_role_menu` VALUES (7132, 4, 218);
INSERT INTO `sys_role_menu` VALUES (7133, 4, 219);
INSERT INTO `sys_role_menu` VALUES (7134, 4, 220);
INSERT INTO `sys_role_menu` VALUES (7135, 4, 221);
INSERT INTO `sys_role_menu` VALUES (7136, 4, 222);
INSERT INTO `sys_role_menu` VALUES (7137, 4, 223);
INSERT INTO `sys_role_menu` VALUES (7138, 4, 224);
INSERT INTO `sys_role_menu` VALUES (7139, 4, 225);
INSERT INTO `sys_role_menu` VALUES (7140, 4, 226);
INSERT INTO `sys_role_menu` VALUES (7141, 4, 250);
INSERT INTO `sys_role_menu` VALUES (7142, 4, 227);
INSERT INTO `sys_role_menu` VALUES (7143, 4, 228);
INSERT INTO `sys_role_menu` VALUES (7144, 4, 229);
INSERT INTO `sys_role_menu` VALUES (7145, 4, 230);
INSERT INTO `sys_role_menu` VALUES (7146, 4, 231);
INSERT INTO `sys_role_menu` VALUES (7147, 4, 237);
INSERT INTO `sys_role_menu` VALUES (7148, 4, 238);
INSERT INTO `sys_role_menu` VALUES (7149, 4, 239);
INSERT INTO `sys_role_menu` VALUES (7150, 4, 240);
INSERT INTO `sys_role_menu` VALUES (7151, 4, 241);
INSERT INTO `sys_role_menu` VALUES (7152, 4, 249);
INSERT INTO `sys_role_menu` VALUES (7153, 4, 245);
INSERT INTO `sys_role_menu` VALUES (7154, 4, 246);
INSERT INTO `sys_role_menu` VALUES (7155, 4, 247);
INSERT INTO `sys_role_menu` VALUES (7156, 4, 248);
INSERT INTO `sys_role_menu` VALUES (7157, 4, 233);
INSERT INTO `sys_role_menu` VALUES (7158, 4, 234);
INSERT INTO `sys_role_menu` VALUES (7159, 4, 235);
INSERT INTO `sys_role_menu` VALUES (7160, 4, 120);
INSERT INTO `sys_role_menu` VALUES (7161, 4, 122);
INSERT INTO `sys_role_menu` VALUES (7162, 4, 123);
INSERT INTO `sys_role_menu` VALUES (7163, 4, 124);
INSERT INTO `sys_role_menu` VALUES (7164, 4, 125);
INSERT INTO `sys_role_menu` VALUES (7165, 4, 126);
INSERT INTO `sys_role_menu` VALUES (7166, 4, 140);
INSERT INTO `sys_role_menu` VALUES (7167, 4, 141);
INSERT INTO `sys_role_menu` VALUES (7168, 4, 142);
INSERT INTO `sys_role_menu` VALUES (7169, 4, 143);
INSERT INTO `sys_role_menu` VALUES (7170, 4, 144);
INSERT INTO `sys_role_menu` VALUES (7171, 4, 145);
INSERT INTO `sys_role_menu` VALUES (7172, 4, 146);
INSERT INTO `sys_role_menu` VALUES (7178, 4, 152);
INSERT INTO `sys_role_menu` VALUES (7179, 4, 153);
INSERT INTO `sys_role_menu` VALUES (7180, 4, 154);
INSERT INTO `sys_role_menu` VALUES (7181, 4, 155);
INSERT INTO `sys_role_menu` VALUES (7182, 4, 156);
INSERT INTO `sys_role_menu` VALUES (7183, 4, 157);
INSERT INTO `sys_role_menu` VALUES (7184, 4, 158);
INSERT INTO `sys_role_menu` VALUES (7185, 4, 257);
INSERT INTO `sys_role_menu` VALUES (7186, 4, 258);
INSERT INTO `sys_role_menu` VALUES (7187, 4, 159);
INSERT INTO `sys_role_menu` VALUES (7188, 4, 107);
INSERT INTO `sys_role_menu` VALUES (7189, 4, 108);
INSERT INTO `sys_role_menu` VALUES (7190, 4, 109);
INSERT INTO `sys_role_menu` VALUES (7191, 4, 110);
INSERT INTO `sys_role_menu` VALUES (7192, 4, 160);
INSERT INTO `sys_role_menu` VALUES (7193, 4, 161);
INSERT INTO `sys_role_menu` VALUES (7194, 4, 162);
INSERT INTO `sys_role_menu` VALUES (7195, 4, 163);
INSERT INTO `sys_role_menu` VALUES (7196, 4, 251);
INSERT INTO `sys_role_menu` VALUES (7197, 4, 268);
INSERT INTO `sys_role_menu` VALUES (7198, 4, 252);
INSERT INTO `sys_role_menu` VALUES (7199, 4, 253);
INSERT INTO `sys_role_menu` VALUES (7200, 4, 254);
INSERT INTO `sys_role_menu` VALUES (7201, 4, 264);
INSERT INTO `sys_role_menu` VALUES (7202, 4, 265);
INSERT INTO `sys_role_menu` VALUES (7203, 4, 266);
INSERT INTO `sys_role_menu` VALUES (7204, 4, 267);
INSERT INTO `sys_role_menu` VALUES (7205, 4, 77);
INSERT INTO `sys_role_menu` VALUES (7206, 4, 78);
INSERT INTO `sys_role_menu` VALUES (7207, 4, 92);
INSERT INTO `sys_role_menu` VALUES (7208, 4, 93);
INSERT INTO `sys_role_menu` VALUES (7209, 4, 269);
INSERT INTO `sys_role_menu` VALUES (7210, 4, 270);
INSERT INTO `sys_role_menu` VALUES (7211, 4, 164);
INSERT INTO `sys_role_menu` VALUES (7212, 4, 165);
INSERT INTO `sys_role_menu` VALUES (7213, 4, 166);
INSERT INTO `sys_role_menu` VALUES (7214, 4, 167);
INSERT INTO `sys_role_menu` VALUES (7215, 4, 168);
INSERT INTO `sys_role_menu` VALUES (7216, 4, 169);
INSERT INTO `sys_role_menu` VALUES (7217, 4, 170);
INSERT INTO `sys_role_menu` VALUES (7218, 4, 171);
INSERT INTO `sys_role_menu` VALUES (7219, 4, 172);
INSERT INTO `sys_role_menu` VALUES (7220, 4, 173);
INSERT INTO `sys_role_menu` VALUES (7221, 4, 136);
INSERT INTO `sys_role_menu` VALUES (7222, 4, 137);
INSERT INTO `sys_role_menu` VALUES (7223, 4, 182);
INSERT INTO `sys_role_menu` VALUES (7224, 4, 183);
INSERT INTO `sys_role_menu` VALUES (7225, 4, 204);
INSERT INTO `sys_role_menu` VALUES (7226, 4, 205);
INSERT INTO `sys_role_menu` VALUES (7227, 4, 184);
INSERT INTO `sys_role_menu` VALUES (7228, 4, 185);
INSERT INTO `sys_role_menu` VALUES (7229, 4, 186);
INSERT INTO `sys_role_menu` VALUES (7230, 4, 188);
INSERT INTO `sys_role_menu` VALUES (7231, 4, 189);
INSERT INTO `sys_role_menu` VALUES (7232, 4, 195);
INSERT INTO `sys_role_menu` VALUES (7233, 4, 259);
INSERT INTO `sys_role_menu` VALUES (7234, 4, 260);
INSERT INTO `sys_role_menu` VALUES (7235, 4, 261);
INSERT INTO `sys_role_menu` VALUES (7236, 4, 262);
INSERT INTO `sys_role_menu` VALUES (7237, 4, 138);
INSERT INTO `sys_role_menu` VALUES (7238, 4, 139);
INSERT INTO `sys_role_menu` VALUES (7239, 4, 206);
INSERT INTO `sys_role_menu` VALUES (7240, 4, 174);
INSERT INTO `sys_role_menu` VALUES (7241, 4, 175);
INSERT INTO `sys_role_menu` VALUES (7242, 4, 207);
INSERT INTO `sys_role_menu` VALUES (7243, 4, 178);
INSERT INTO `sys_role_menu` VALUES (7244, 4, 179);
INSERT INTO `sys_role_menu` VALUES (7245, 4, 180);
INSERT INTO `sys_role_menu` VALUES (7246, 4, 58);
INSERT INTO `sys_role_menu` VALUES (7247, 4, 132);
INSERT INTO `sys_role_menu` VALUES (7248, 4, 15);
INSERT INTO `sys_role_menu` VALUES (7249, 4, 19);
INSERT INTO `sys_role_menu` VALUES (7250, 4, 23);
INSERT INTO `sys_role_menu` VALUES (7251, 4, 95);
INSERT INTO `sys_role_menu` VALUES (7252, 4, -666666);
INSERT INTO `sys_role_menu` VALUES (7253, 4, 32);
INSERT INTO `sys_role_menu` VALUES (7254, 4, 50);
INSERT INTO `sys_role_menu` VALUES (7255, 4, 72);
INSERT INTO `sys_role_menu` VALUES (7256, 4, 232);
INSERT INTO `sys_role_menu` VALUES (7257, 4, 130);
INSERT INTO `sys_role_menu` VALUES (7258, 4, 118);
INSERT INTO `sys_role_menu` VALUES (7259, 4, 119);
INSERT INTO `sys_role_menu` VALUES (7260, 4, 177);
INSERT INTO `sys_role_menu` VALUES (7261, 4, 57);
INSERT INTO `sys_role_menu` VALUES (7262, 4, 128);
INSERT INTO `sys_role_menu` VALUES (7263, 4, 131);
INSERT INTO `sys_role_menu` VALUES (7264, 4, 2);
INSERT INTO `sys_role_menu` VALUES (7265, 4, 3);
INSERT INTO `sys_role_menu` VALUES (7266, 4, 4);
INSERT INTO `sys_role_menu` VALUES (7267, 4, 94);
INSERT INTO `sys_role_menu` VALUES (7471, 1, 33);
INSERT INTO `sys_role_menu` VALUES (7472, 1, 32);
INSERT INTO `sys_role_menu` VALUES (7473, 1, 60);
INSERT INTO `sys_role_menu` VALUES (7474, 1, 61);
INSERT INTO `sys_role_menu` VALUES (7475, 1, 90);
INSERT INTO `sys_role_menu` VALUES (7476, 1, 91);
INSERT INTO `sys_role_menu` VALUES (7477, 1, 176);
INSERT INTO `sys_role_menu` VALUES (7478, 1, 196);
INSERT INTO `sys_role_menu` VALUES (7479, 1, 197);
INSERT INTO `sys_role_menu` VALUES (7480, 1, 198);
INSERT INTO `sys_role_menu` VALUES (7481, 1, 199);
INSERT INTO `sys_role_menu` VALUES (7482, 1, 200);
INSERT INTO `sys_role_menu` VALUES (7483, 1, 242);
INSERT INTO `sys_role_menu` VALUES (7484, 1, 243);
INSERT INTO `sys_role_menu` VALUES (7485, 1, 244);
INSERT INTO `sys_role_menu` VALUES (7486, 1, 34);
INSERT INTO `sys_role_menu` VALUES (7487, 1, 35);
INSERT INTO `sys_role_menu` VALUES (7488, 1, 36);
INSERT INTO `sys_role_menu` VALUES (7489, 1, 37);
INSERT INTO `sys_role_menu` VALUES (7490, 1, 39);
INSERT INTO `sys_role_menu` VALUES (7491, 1, 40);
INSERT INTO `sys_role_menu` VALUES (7492, 1, 201);
INSERT INTO `sys_role_menu` VALUES (7493, 1, 41);
INSERT INTO `sys_role_menu` VALUES (7494, 1, 42);
INSERT INTO `sys_role_menu` VALUES (7495, 1, 43);
INSERT INTO `sys_role_menu` VALUES (7496, 1, 69);
INSERT INTO `sys_role_menu` VALUES (7497, 1, 70);
INSERT INTO `sys_role_menu` VALUES (7498, 1, 71);
INSERT INTO `sys_role_menu` VALUES (7499, 1, 50);
INSERT INTO `sys_role_menu` VALUES (7500, 1, 51);
INSERT INTO `sys_role_menu` VALUES (7501, 1, 52);
INSERT INTO `sys_role_menu` VALUES (7502, 1, 53);
INSERT INTO `sys_role_menu` VALUES (7503, 1, 54);
INSERT INTO `sys_role_menu` VALUES (7504, 1, 62);
INSERT INTO `sys_role_menu` VALUES (7505, 1, 263);
INSERT INTO `sys_role_menu` VALUES (7506, 1, 273);
INSERT INTO `sys_role_menu` VALUES (7507, 1, 63);
INSERT INTO `sys_role_menu` VALUES (7508, 1, 64);
INSERT INTO `sys_role_menu` VALUES (7509, 1, 202);
INSERT INTO `sys_role_menu` VALUES (7510, 1, 203);
INSERT INTO `sys_role_menu` VALUES (7511, 1, 72);
INSERT INTO `sys_role_menu` VALUES (7512, 1, 73);
INSERT INTO `sys_role_menu` VALUES (7513, 1, 74);
INSERT INTO `sys_role_menu` VALUES (7514, 1, 75);
INSERT INTO `sys_role_menu` VALUES (7515, 1, 76);
INSERT INTO `sys_role_menu` VALUES (7516, 1, 208);
INSERT INTO `sys_role_menu` VALUES (7517, 1, 209);
INSERT INTO `sys_role_menu` VALUES (7518, 1, 210);
INSERT INTO `sys_role_menu` VALUES (7519, 1, 211);
INSERT INTO `sys_role_menu` VALUES (7520, 1, 213);
INSERT INTO `sys_role_menu` VALUES (7521, 1, 214);
INSERT INTO `sys_role_menu` VALUES (7522, 1, 215);
INSERT INTO `sys_role_menu` VALUES (7523, 1, 216);
INSERT INTO `sys_role_menu` VALUES (7524, 1, 217);
INSERT INTO `sys_role_menu` VALUES (7525, 1, 218);
INSERT INTO `sys_role_menu` VALUES (7526, 1, 219);
INSERT INTO `sys_role_menu` VALUES (7527, 1, 220);
INSERT INTO `sys_role_menu` VALUES (7528, 1, 221);
INSERT INTO `sys_role_menu` VALUES (7529, 1, 222);
INSERT INTO `sys_role_menu` VALUES (7530, 1, 223);
INSERT INTO `sys_role_menu` VALUES (7531, 1, 224);
INSERT INTO `sys_role_menu` VALUES (7532, 1, 225);
INSERT INTO `sys_role_menu` VALUES (7533, 1, 226);
INSERT INTO `sys_role_menu` VALUES (7534, 1, 250);
INSERT INTO `sys_role_menu` VALUES (7535, 1, 227);
INSERT INTO `sys_role_menu` VALUES (7536, 1, 228);
INSERT INTO `sys_role_menu` VALUES (7537, 1, 229);
INSERT INTO `sys_role_menu` VALUES (7538, 1, 230);
INSERT INTO `sys_role_menu` VALUES (7539, 1, 231);
INSERT INTO `sys_role_menu` VALUES (7540, 1, 237);
INSERT INTO `sys_role_menu` VALUES (7541, 1, 238);
INSERT INTO `sys_role_menu` VALUES (7542, 1, 239);
INSERT INTO `sys_role_menu` VALUES (7543, 1, 240);
INSERT INTO `sys_role_menu` VALUES (7544, 1, 241);
INSERT INTO `sys_role_menu` VALUES (7545, 1, 249);
INSERT INTO `sys_role_menu` VALUES (7546, 1, 245);
INSERT INTO `sys_role_menu` VALUES (7547, 1, 246);
INSERT INTO `sys_role_menu` VALUES (7548, 1, 247);
INSERT INTO `sys_role_menu` VALUES (7549, 1, 248);
INSERT INTO `sys_role_menu` VALUES (7550, 1, 232);
INSERT INTO `sys_role_menu` VALUES (7551, 1, 233);
INSERT INTO `sys_role_menu` VALUES (7552, 1, 234);
INSERT INTO `sys_role_menu` VALUES (7553, 1, 235);
INSERT INTO `sys_role_menu` VALUES (7554, 1, 236);
INSERT INTO `sys_role_menu` VALUES (7555, 1, 130);
INSERT INTO `sys_role_menu` VALUES (7556, 1, 118);
INSERT INTO `sys_role_menu` VALUES (7557, 1, 120);
INSERT INTO `sys_role_menu` VALUES (7558, 1, 121);
INSERT INTO `sys_role_menu` VALUES (7559, 1, 122);
INSERT INTO `sys_role_menu` VALUES (7560, 1, 123);
INSERT INTO `sys_role_menu` VALUES (7561, 1, 119);
INSERT INTO `sys_role_menu` VALUES (7562, 1, 124);
INSERT INTO `sys_role_menu` VALUES (7563, 1, 125);
INSERT INTO `sys_role_menu` VALUES (7564, 1, 126);
INSERT INTO `sys_role_menu` VALUES (7565, 1, 127);
INSERT INTO `sys_role_menu` VALUES (7566, 1, 140);
INSERT INTO `sys_role_menu` VALUES (7567, 1, 141);
INSERT INTO `sys_role_menu` VALUES (7568, 1, 142);
INSERT INTO `sys_role_menu` VALUES (7569, 1, 143);
INSERT INTO `sys_role_menu` VALUES (7570, 1, 144);
INSERT INTO `sys_role_menu` VALUES (7571, 1, 145);
INSERT INTO `sys_role_menu` VALUES (7572, 1, 146);
INSERT INTO `sys_role_menu` VALUES (7573, 1, 152);
INSERT INTO `sys_role_menu` VALUES (7574, 1, 271);
INSERT INTO `sys_role_menu` VALUES (7575, 1, 272);
INSERT INTO `sys_role_menu` VALUES (7576, 1, 153);
INSERT INTO `sys_role_menu` VALUES (7577, 1, 154);
INSERT INTO `sys_role_menu` VALUES (7578, 1, 155);
INSERT INTO `sys_role_menu` VALUES (7579, 1, 156);
INSERT INTO `sys_role_menu` VALUES (7580, 1, 157);
INSERT INTO `sys_role_menu` VALUES (7581, 1, 158);
INSERT INTO `sys_role_menu` VALUES (7582, 1, 257);
INSERT INTO `sys_role_menu` VALUES (7583, 1, 258);
INSERT INTO `sys_role_menu` VALUES (7584, 1, 159);
INSERT INTO `sys_role_menu` VALUES (7585, 1, 107);
INSERT INTO `sys_role_menu` VALUES (7586, 1, 108);
INSERT INTO `sys_role_menu` VALUES (7587, 1, 109);
INSERT INTO `sys_role_menu` VALUES (7588, 1, 110);
INSERT INTO `sys_role_menu` VALUES (7589, 1, 160);
INSERT INTO `sys_role_menu` VALUES (7590, 1, 161);
INSERT INTO `sys_role_menu` VALUES (7591, 1, 162);
INSERT INTO `sys_role_menu` VALUES (7592, 1, 163);
INSERT INTO `sys_role_menu` VALUES (7593, 1, 251);
INSERT INTO `sys_role_menu` VALUES (7594, 1, 268);
INSERT INTO `sys_role_menu` VALUES (7595, 1, 252);
INSERT INTO `sys_role_menu` VALUES (7596, 1, 253);
INSERT INTO `sys_role_menu` VALUES (7597, 1, 254);
INSERT INTO `sys_role_menu` VALUES (7598, 1, 264);
INSERT INTO `sys_role_menu` VALUES (7599, 1, 265);
INSERT INTO `sys_role_menu` VALUES (7600, 1, 266);
INSERT INTO `sys_role_menu` VALUES (7601, 1, 267);
INSERT INTO `sys_role_menu` VALUES (7602, 1, 77);
INSERT INTO `sys_role_menu` VALUES (7603, 1, 78);
INSERT INTO `sys_role_menu` VALUES (7604, 1, 92);
INSERT INTO `sys_role_menu` VALUES (7605, 1, 93);
INSERT INTO `sys_role_menu` VALUES (7606, 1, 269);
INSERT INTO `sys_role_menu` VALUES (7607, 1, 270);
INSERT INTO `sys_role_menu` VALUES (7608, 1, 164);
INSERT INTO `sys_role_menu` VALUES (7609, 1, 165);
INSERT INTO `sys_role_menu` VALUES (7610, 1, 166);
INSERT INTO `sys_role_menu` VALUES (7611, 1, 167);
INSERT INTO `sys_role_menu` VALUES (7612, 1, 168);
INSERT INTO `sys_role_menu` VALUES (7613, 1, 169);
INSERT INTO `sys_role_menu` VALUES (7614, 1, 170);
INSERT INTO `sys_role_menu` VALUES (7615, 1, 171);
INSERT INTO `sys_role_menu` VALUES (7616, 1, 172);
INSERT INTO `sys_role_menu` VALUES (7617, 1, 173);
INSERT INTO `sys_role_menu` VALUES (7618, 1, 136);
INSERT INTO `sys_role_menu` VALUES (7619, 1, 137);
INSERT INTO `sys_role_menu` VALUES (7620, 1, 182);
INSERT INTO `sys_role_menu` VALUES (7621, 1, 183);
INSERT INTO `sys_role_menu` VALUES (7622, 1, 204);
INSERT INTO `sys_role_menu` VALUES (7623, 1, 205);
INSERT INTO `sys_role_menu` VALUES (7624, 1, 184);
INSERT INTO `sys_role_menu` VALUES (7625, 1, 185);
INSERT INTO `sys_role_menu` VALUES (7626, 1, 186);
INSERT INTO `sys_role_menu` VALUES (7627, 1, 188);
INSERT INTO `sys_role_menu` VALUES (7628, 1, 189);
INSERT INTO `sys_role_menu` VALUES (7629, 1, 195);
INSERT INTO `sys_role_menu` VALUES (7630, 1, 259);
INSERT INTO `sys_role_menu` VALUES (7631, 1, 260);
INSERT INTO `sys_role_menu` VALUES (7632, 1, 261);
INSERT INTO `sys_role_menu` VALUES (7633, 1, 262);
INSERT INTO `sys_role_menu` VALUES (7634, 1, 138);
INSERT INTO `sys_role_menu` VALUES (7635, 1, 139);
INSERT INTO `sys_role_menu` VALUES (7636, 1, 206);
INSERT INTO `sys_role_menu` VALUES (7637, 1, 174);
INSERT INTO `sys_role_menu` VALUES (7638, 1, 175);
INSERT INTO `sys_role_menu` VALUES (7639, 1, 207);
INSERT INTO `sys_role_menu` VALUES (7640, 1, 177);
INSERT INTO `sys_role_menu` VALUES (7641, 1, 178);
INSERT INTO `sys_role_menu` VALUES (7642, 1, 179);
INSERT INTO `sys_role_menu` VALUES (7643, 1, 180);
INSERT INTO `sys_role_menu` VALUES (7644, 1, 181);
INSERT INTO `sys_role_menu` VALUES (7645, 1, 57);
INSERT INTO `sys_role_menu` VALUES (7646, 1, 58);
INSERT INTO `sys_role_menu` VALUES (7647, 1, 59);
INSERT INTO `sys_role_menu` VALUES (7648, 1, 128);
INSERT INTO `sys_role_menu` VALUES (7649, 1, 131);
INSERT INTO `sys_role_menu` VALUES (7650, 1, 132);
INSERT INTO `sys_role_menu` VALUES (7651, 1, 133);
INSERT INTO `sys_role_menu` VALUES (7652, 1, 134);
INSERT INTO `sys_role_menu` VALUES (7653, 1, 135);
INSERT INTO `sys_role_menu` VALUES (7654, 1, 2);
INSERT INTO `sys_role_menu` VALUES (7655, 1, 15);
INSERT INTO `sys_role_menu` VALUES (7656, 1, 16);
INSERT INTO `sys_role_menu` VALUES (7657, 1, 17);
INSERT INTO `sys_role_menu` VALUES (7658, 1, 18);
INSERT INTO `sys_role_menu` VALUES (7659, 1, 3);
INSERT INTO `sys_role_menu` VALUES (7660, 1, 19);
INSERT INTO `sys_role_menu` VALUES (7661, 1, 20);
INSERT INTO `sys_role_menu` VALUES (7662, 1, 21);
INSERT INTO `sys_role_menu` VALUES (7663, 1, 22);
INSERT INTO `sys_role_menu` VALUES (7664, 1, 4);
INSERT INTO `sys_role_menu` VALUES (7665, 1, 23);
INSERT INTO `sys_role_menu` VALUES (7666, 1, 24);
INSERT INTO `sys_role_menu` VALUES (7667, 1, 25);
INSERT INTO `sys_role_menu` VALUES (7668, 1, 26);
INSERT INTO `sys_role_menu` VALUES (7669, 1, 94);
INSERT INTO `sys_role_menu` VALUES (7670, 1, 95);
INSERT INTO `sys_role_menu` VALUES (7671, 1, 96);
INSERT INTO `sys_role_menu` VALUES (7672, 1, 97);
INSERT INTO `sys_role_menu` VALUES (7673, 1, 98);
INSERT INTO `sys_role_menu` VALUES (7674, 1, -666666);

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user`  (
  `user_id` bigint(20) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户名',
  `password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '密码',
  `salt` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '盐',
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮箱',
  `mobile` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态  0：禁用   1：正常',
  `create_user_id` bigint(20) NULL DEFAULT NULL COMMENT '创建者ID',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`user_id`) USING BTREE,
  UNIQUE INDEX `username`(`username`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 17 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统用户' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_user
-- ----------------------------
INSERT INTO `sys_user` VALUES (1, 'admin', '1cc7f0f4e29524bfbfb2a299dde135e6ebad047b2c0ef70eceb7fbc198293927', 'YKJpTRPDurwTYVsIhd0P', '24564651@qq.com', '13612345678', 1, 1, '2016-11-11 11:11:11');

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户ID',
  `role_id` bigint(20) NULL DEFAULT NULL COMMENT '角色ID',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 38 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户与角色对应关系' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
INSERT INTO `sys_user_role` VALUES (30, 1, 1);

-- ----------------------------
-- Table structure for sys_user_token
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_token`;
CREATE TABLE `sys_user_token`  (
  `user_id` bigint(20) NOT NULL,
  `token` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'token',
  `expire_time` datetime(0) NULL DEFAULT NULL COMMENT '过期时间',
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`user_id`) USING BTREE,
  UNIQUE INDEX `token`(`token`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统用户Token' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_user_token
-- ----------------------------

-- ----------------------------
-- Table structure for taking_commnt
-- ----------------------------
DROP TABLE IF EXISTS `taking_commnt`;
CREATE TABLE `taking_commnt`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '接单评论id',
  `order_id` bigint(20) NULL DEFAULT NULL COMMENT '接单id',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论内容',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `mail` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系方式',
  `score` int(11) NULL DEFAULT NULL COMMENT '评分',
  `artificer_id` int(11) NULL DEFAULT NULL COMMENT '评论id',
  `massage_type_id` int(11) NULL DEFAULT NULL COMMENT '项目id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 109 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of taking_commnt
-- ----------------------------

-- ----------------------------
-- Table structure for tb_user
-- ----------------------------
DROP TABLE IF EXISTS `tb_user`;
CREATE TABLE `tb_user`  (
  `user_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户id',
  `type` int(11) NULL DEFAULT NULL COMMENT '用户类型 1普通用户  2技师',
  `user_name` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名',
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号',
  `avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '头像',
  `sex` int(11) NULL DEFAULT NULL COMMENT '性别 1男 2女',
  `age` int(4) NULL DEFAULT NULL COMMENT '年龄',
  `open_id` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信小程序openId',
  `wx_open_id` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '微信App  openId',
  `password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '密码',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `update_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新时间',
  `apple_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '苹果id',
  `sys_phone` int(11) NULL DEFAULT NULL COMMENT '手机类型 1安卓 2ios',
  `status` int(11) NULL DEFAULT NULL COMMENT '状态 1正常 2禁用',
  `platform` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '来源 APP 小程序  公众号',
  `jifen` int(11) NULL DEFAULT NULL COMMENT '积分',
  `invitation_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邀请码',
  `inviter_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邀请人邀请码',
  `clientid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'app消息推送',
  `zhi_fu_bao_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '支付宝名称',
  `zhi_fu_bao` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '支付宝账号',
  `is_authentication` int(11) NULL DEFAULT NULL COMMENT '实名认证0未认证  1个人认证审核中  2个人认证成功  3个人认证失败',
  `is_cash_deposit` int(11) NULL DEFAULT NULL COMMENT '保证金状态  1待缴纳 2已缴纳 3申请退款中',
  `cash_deposit_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '申请时间',
  `artificer_open_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '技师小程序openId',
  `is_coupon` int(11) NULL DEFAULT NULL COMMENT '是否领取新人优惠券',
  `risk` int(11) NULL DEFAULT NULL COMMENT '是否是风险用户 1是 2不是',
  `is_agency` int(11) NULL DEFAULT NULL COMMENT '是否是代理1是',
  `user_rate` decimal(10, 2) NULL DEFAULT NULL COMMENT '代理用户分佣比例',
  `shop_rate` decimal(10, 2) NULL DEFAULT NULL COMMENT '代理技师分佣比例',
  `consortia_id` int(11) NULL DEFAULT NULL COMMENT '商家id',
  `is_shop` int(11) NULL DEFAULT NULL COMMENT '是否是商家 1是',
  `bank_card` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '银行卡号',
  `bank_card_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '银行名称',
  `bank_card_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '银行卡用户姓名',
  `bank_card_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '银行开户行地址',
  PRIMARY KEY (`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 313 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of tb_user
-- ----------------------------
INSERT INTO `tb_user` VALUES (1, NULL, '官方', '13000000000', 'https://jiaoyu.xianmxkj.com/file/uploadPath/2021/08/30/18d20e9a11701fbe6dbb31454ec37eb8.jpg', 0, NULL, NULL, NULL, '8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92', '2021-08-24 10:14:40', '2023-01-10 17:38:52', NULL, NULL, 2, 'H5', NULL, '666666', '666666', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 0.10, 0.20, NULL, NULL, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for trip
-- ----------------------------
DROP TABLE IF EXISTS `trip`;
CREATE TABLE `trip`  (
  `trip_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '出行方式',
  `taxi_starting_fare` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '出租起步价',
  `taxi_starting_km` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '出租起步公里',
  `taxi_km_money` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '出租每公里价格',
  `bus_starting_fare` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公交起步价',
  `bus_starting_km` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公交起步公里',
  `bus_km_money` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公交每公里价格',
  `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '城市',
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`trip_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of trip
-- ----------------------------
INSERT INTO `trip` VALUES (1, '8.5', '3', '1.5', '2', '3', '0.5', '西安市', '2020-12-12 12:12:12');
INSERT INTO `trip` VALUES (3, '10', '5', '3', '2', '6', '0.5', '北京', '2023-01-14 15:00:17');

-- ----------------------------
-- Table structure for user_browse
-- ----------------------------
DROP TABLE IF EXISTS `user_browse`;
CREATE TABLE `user_browse`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  `by_browse_id` bigint(20) NULL DEFAULT NULL COMMENT '浏览用户id',
  `update_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新时间',
  `taking_id` bigint(20) NULL DEFAULT NULL COMMENT '接单id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 838 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_browse
-- ----------------------------

-- ----------------------------
-- Table structure for user_follow
-- ----------------------------
DROP TABLE IF EXISTS `user_follow`;
CREATE TABLE `user_follow`  (
  `follow_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  `follow_user_id` bigint(20) NULL DEFAULT NULL COMMENT '关注用户id',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`follow_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 167 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_follow
-- ----------------------------

-- ----------------------------
-- Table structure for user_money
-- ----------------------------
DROP TABLE IF EXISTS `user_money`;
CREATE TABLE `user_money`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '钱包id',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '钱包金额',
  `user_id` bigint(11) NULL DEFAULT NULL COMMENT '用户id',
  `cash_deposit` decimal(10, 2) NULL DEFAULT NULL COMMENT '技师保证金',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 336 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_money
-- ----------------------------

-- ----------------------------
-- Table structure for user_money_artificer
-- ----------------------------
DROP TABLE IF EXISTS `user_money_artificer`;
CREATE TABLE `user_money_artificer`  (
  `user_money_artificer_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '用户充值师傅钱包',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '用户id',
  `artificer_id` int(11) NULL DEFAULT NULL COMMENT '师傅id',
  `money` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '金额',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '时间',
  PRIMARY KEY (`user_money_artificer_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 17 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_money_artificer
-- ----------------------------

-- ----------------------------
-- Table structure for user_money_details
-- ----------------------------
DROP TABLE IF EXISTS `user_money_details`;
CREATE TABLE `user_money_details`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '钱包详情id',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '用户id',
  `by_user_id` int(11) NULL DEFAULT NULL COMMENT '邀请用户id',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标题',
  `classify` int(11) NULL DEFAULT NULL COMMENT '1注册   2购买 3提现',
  `type` int(11) NULL DEFAULT NULL COMMENT '类型（1充值 2.提现）',
  `state` int(11) NULL DEFAULT 1 COMMENT '状态 1待支付 2已到账 3取消',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '内容',
  `create_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建时间',
  `artificer_id` int(11) NULL DEFAULT NULL COMMENT '技师id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1595 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_money_details
-- ----------------------------

-- ----------------------------
-- Table structure for user_vip
-- ----------------------------
DROP TABLE IF EXISTS `user_vip`;
CREATE TABLE `user_vip`  (
  `vip_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '会员id',
  `vip_name_type` int(2) NULL DEFAULT NULL COMMENT '会员类型0月1季2年',
  `user_id` bigint(20) NULL DEFAULT NULL COMMENT '用户id',
  `create_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '购买时间',
  `end_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '到期时间',
  `is_vip` int(255) NULL DEFAULT NULL COMMENT '1是会员2不是',
  PRIMARY KEY (`vip_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 45 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_vip
-- ----------------------------

-- ----------------------------
-- Table structure for user_visitor
-- ----------------------------
DROP TABLE IF EXISTS `user_visitor`;
CREATE TABLE `user_visitor`  (
  `id` bigint(32) NOT NULL AUTO_INCREMENT COMMENT '访客id',
  `user_id` bigint(32) NULL DEFAULT NULL COMMENT '用户id',
  `by_user_id` bigint(32) NULL DEFAULT NULL COMMENT '访问用户id',
  `update_time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 310 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_visitor
-- ----------------------------

-- ----------------------------
-- Table structure for vip_details
-- ----------------------------
DROP TABLE IF EXISTS `vip_details`;
CREATE TABLE `vip_details`  (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
  `vip_name_type` int(2) NULL DEFAULT NULL COMMENT '会员类型0月1季2年',
  `money` decimal(10, 0) NULL DEFAULT NULL COMMENT '会员价格',
  `vip_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '会员名称',
  `rate` decimal(10, 2) NULL DEFAULT NULL,
  `award` decimal(10, 2) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of vip_details
-- ----------------------------
INSERT INTO `vip_details` VALUES (2, 1, 2, '季会员', NULL, 20.00);
INSERT INTO `vip_details` VALUES (3, 2, 3, '年会员', NULL, 50.00);
INSERT INTO `vip_details` VALUES (8, 0, 1, '月会员', NULL, 10.00);

SET FOREIGN_KEY_CHECKS = 1;
