/* Navicat Premium Dump SQL Source Server : jxy-hjf-db Source Server Type : MySQL Source Server Version : 50740 (5.7.40-log) Source Host : 182.92.142.158:3306 Source Schema : hjfshop Target Server Type : MySQL Target Server Version : 50740 (5.7.40-log) File Encoding : 65001 Date: 21/03/2026 22:42:49 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for eb_agent_level -- ---------------------------- DROP TABLE IF EXISTS `eb_agent_level`; CREATE TABLE `eb_agent_level` ( `id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(50) NOT NULL DEFAULT '' COMMENT '等级名称', `image` varchar(255) NOT NULL DEFAULT '' COMMENT '背景图', `color` varchar(32) NOT NULL DEFAULT '' COMMENT ' 字体颜色', `one_brokerage` smallint(5) NOT NULL DEFAULT '0' COMMENT '一级分拥比例', `two_brokerage` smallint(5) NOT NULL DEFAULT '0' COMMENT '二级分拥比例', `grade` smallint(5) NOT NULL DEFAULT '0' COMMENT '等级', `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态', `is_del` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否删除', `add_time` int(10) NOT NULL DEFAULT '0' COMMENT '添加时间', `direct_reward_points` int(11) NOT NULL DEFAULT '0' COMMENT '直推奖励积分(每单)', `umbrella_reward_points` int(11) NOT NULL DEFAULT '0' COMMENT '伞下奖励积分(每单,级差基数)', PRIMARY KEY (`id`), KEY `status` (`status`,`is_del`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COMMENT='分销员等级表'; -- ---------------------------- -- Records of eb_agent_level -- ---------------------------- BEGIN; INSERT INTO `eb_agent_level` (`id`, `name`, `image`, `color`, `one_brokerage`, `two_brokerage`, `grade`, `status`, `is_del`, `add_time`, `direct_reward_points`, `umbrella_reward_points`) VALUES (1, '创客', '/uploads/system/agent_level_1.png', '#D97E1D', 1, 0, 1, 1, 0, 1700126550, 500, 0); INSERT INTO `eb_agent_level` (`id`, `name`, `image`, `color`, `one_brokerage`, `two_brokerage`, `grade`, `status`, `is_del`, `add_time`, `direct_reward_points`, `umbrella_reward_points`) VALUES (2, '云店', '/uploads/system/agent_level_2.png', '#5D7DAC', 5, 3, 2, 1, 0, 1700126572, 800, 300); INSERT INTO `eb_agent_level` (`id`, `name`, `image`, `color`, `one_brokerage`, `two_brokerage`, `grade`, `status`, `is_del`, `add_time`, `direct_reward_points`, `umbrella_reward_points`) VALUES (3, '服务商', '/uploads/system/agent_level_3.png', '#5856D6', 10, 5, 3, 1, 0, 1700126595, 1000, 200); INSERT INTO `eb_agent_level` (`id`, `name`, `image`, `color`, `one_brokerage`, `two_brokerage`, `grade`, `status`, `is_del`, `add_time`, `direct_reward_points`, `umbrella_reward_points`) VALUES (4, '分公司', '/uploads/system/agent_level_4.png', '#1DB0FC', 12, 7, 4, 1, 0, 1700126621, 1300, 300); INSERT INTO `eb_agent_level` (`id`, `name`, `image`, `color`, `one_brokerage`, `two_brokerage`, `grade`, `status`, `is_del`, `add_time`, `direct_reward_points`, `umbrella_reward_points`) VALUES (5, '等级五', '/uploads/system/agent_level_5.png', '#AF52DE', 19, 12, 5, 0, 1, 1701764897, 0, 0); INSERT INTO `eb_agent_level` (`id`, `name`, `image`, `color`, `one_brokerage`, `two_brokerage`, `grade`, `status`, `is_del`, `add_time`, `direct_reward_points`, `umbrella_reward_points`) VALUES (6, '服务商1', '', '#9C27B0', 0, 0, 3, 0, 1, 1774091023, 1000, 200); INSERT INTO `eb_agent_level` (`id`, `name`, `image`, `color`, `one_brokerage`, `two_brokerage`, `grade`, `status`, `is_del`, `add_time`, `direct_reward_points`, `umbrella_reward_points`) VALUES (7, '分公司2', '', '#F44336', 0, 0, 4, 0, 1, 1774091023, 1300, 300); COMMIT; SET FOREIGN_KEY_CHECKS = 1;