-- ======================================== -- 电商系统完整数据库初始化脚本 v2.0 With Data -- 包含294个表结构 + 基础配置数据 -- 基于生产环境备份生成 -- -- 使用说明: -- 1. 先创建数据库:CREATE DATABASE shop_v2 CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; -- 2. 导入本脚本:mysql -u root -p shop_v2 < init_v2.0_with_data.sql -- 3. 验证初始化:SELECT COUNT(*) FROM information_schema.tables WHERE table_schema='shop_v2'; -- ======================================== -- 设置字符集和SQL模式 SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; -- ======================================== -- 1. 插件系统表 + 基础数据 -- ======================================== create table if not exists lucky_addon ( id int auto_increment comment '主键' primary key, name varchar(40) default '' not null comment '插件名称或者标识', type varchar(255) default '' not null comment '插件类型', icon varchar(255) default '' not null comment '插件图标', title varchar(20) default '' not null comment '中文名', description text null comment '插件描述', status tinyint default 1 not null comment '状态', author varchar(40) default '' not null comment '作者', version varchar(20) default '' not null comment '版本号', version_no varchar(255) default '' not null comment '版本编号', content text null comment '详情', create_time int default 0 not null comment '安装时间', constraint UK_nc_addons_name unique (name) ) comment '插件表' charset = utf8 row_format = DYNAMIC; -- 插件基础数据(核心插件) insert into lucky_addon (id, name, type, icon, title, description, status, author, version, version_no, content, create_time) values (1, 'alioss', 'system', 'addon/alioss/icon.png', '阿里云OSS', '阿里云OSS', 1, '', '5.3.1', '525231212001', '', 1717865205), (2, 'alipay', 'system', 'addon/alipay/icon.png', '支付宝支付', '支付宝支付功能', 1, '', '5.3.1', '525231212001', '', 1717865205), (13, 'diy_default1', 'system', 'addon/diy_default1/icon.png', '官方模板一', '官方默认模板(一)', 1, '', '5.3.1', '525231212001', '', 1717865206), (14, 'diy_default2', 'system', 'addon/diy_default2/icon.png', '官方模板二', '官方默认模板(二)', 1, '', '5.3.1', '525231212001', '', 1717865206), (18, 'electronicsheet', 'tool', 'addon/electronicsheet/icon.png', '电子面单', '电子面单', 1, '', '5.3.1', '525231212001', '', 1717865206), (20, 'form', 'system', 'addon/form/icon.png', '系统表单', '表单自定义信息收集', 1, '', '5.3.1', '525231212001', '', 1717865206), (31, 'memberprice', 'tool', 'addon/memberprice/icon.png', '会员价', '会员价', 1, '', '5.3.1', '525231212001', '', 1717865206), (36, 'memberwithdraw', 'tool', 'addon/memberwithdraw/icon.png', '会员提现', '会员提现', 1, '', '5.3.1', '525231212001', '', 1717865206), (47, 'qiniu', 'system', 'addon/qiniu/icon.png', '七牛云上传', '七牛云上传功能', 1, '', '5.3.1', '525231212001', '', 1717865207), (62, 'weapp', 'system', 'addon/weapp/icon.png', '微信小程序', '微信小程序功能', 1, '', '5.3.1', '525231212001', '', 1717865208), (64, 'wechatpay', 'system', 'addon/wechatpay/icon.png', '微信支付', '微信支付功能', 1, '', '5.3.1', '525231212001', '', 1717865208), (99, 'pointcash', 'tool', 'addon/pointcash/icon.png', '积分抵现', '下单时积分可抵部分现金', 1, '', '5.3.1', '525231212001', '', 1718645067), (103, 'pointexchange', 'tool', 'addon/pointexchange/icon.png', '积分商城', '积分购买商品,形成积分营销闭环', 1, '', '1.0', '100000', '', 1718682212), (140, 'memberrecharge', 'tool', 'addon/memberrecharge/icon.png', '充值礼包', '会员充值设置', 1, '', '5.3.1', '525231212001', '', 1719824382), (169, 'coupon', 'system', 'addon/coupon/icon.png', '优惠券', '会员优惠券功能', 1, '', '5.3.1', '525231212001', '', 1720112328), (170, 'freeshipping', 'system', 'addon/freeshipping/icon.png', '满额包邮', '满额包邮', 1, '', '5.3.1', '525231212001', '', 1720115228), (171, 'manjian', 'promotion', 'addon/manjian/icon.png', '满额立减', '满额立减', 1, '', '5.3.1', '525231212001', '', 1720116066), (177, 'alisms', 'tool', 'addon/alisms/icon.png', '阿里云短信', '阿里云短信功能', 1, '', '1', '100', '', 1721645613), (184, 'fenxiao', 'tool', 'addon/fenxiao/icon.png', '分销', '全民推广裂变,快速拓客销货', 1, '', '5.3.1', '525231212001', '', 1721880603), (185, 'memberconsume', 'system', 'addon/memberconsume/icon.png', '消费奖励', ' 消费优惠奖励,二次消费增加营收 ', 1, '', '1.0', '100', '', 1724523397), (186, 'merch', 'tool', 'addon/merch/icon.png', '多商户', '总部统筹管理,线上线下协同锁客', 1, '', '1.0', '2024050000001', '', 1724523400), (193, 'membercancel', 'tool', 'addon/membercancel/icon.png', '会员注销', '会员注销', 1, '', '5.3.1', '525231212001', '', 1725947387), (195, 'cases', 'tool', 'addon/cases/icon.png', '案例展示', '展示案例信息', 1, '', '1.0.0', '2025051923121', '', 1748019603), (196, 'personnel', 'tool', 'addon/personnel/icon.png', '电子名片', '展示公司人员名片信息', 1, '', '5.3.1', '525231212001', '', 1748332094); create table if not exists lucky_addon_quick ( id int auto_increment comment '主键' primary key, name varchar(40) default '' not null comment '插件名称或者标识', package_name varchar(255) default '' not null comment '套餐名称', type varchar(255) default '' not null comment '插件类型', icon varchar(255) default '' not null comment '插件图标', title varchar(20) default '' not null comment '中文名', description text null comment '插件描述', author varchar(40) default '' not null comment '作者', version varchar(20) default '' not null comment '版本号', version_no varchar(255) default '' not null comment '版本编号', content text null comment '详情', create_time int default 0 not null, constraint UK_nc_addons_name unique (name) ) comment '插件表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_adv ( adv_id int auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', ap_id int default 0 not null comment '广告位id', adv_title varchar(255) default '' not null comment '广告内容描述', adv_url text null comment '广告链接', adv_image varchar(255) default '' not null comment '广告内容图片', slide_sort int default 0 not null comment '排序号', price decimal(10, 2) default 0.00 not null comment '广告价格/月', background varchar(255) default '#FFFFFF' not null comment '背景色', state tinyint default 1 not null comment '状态 1:启用 0:关闭' ) comment '广告表' charset = utf8 avg_row_length = 1365 row_format = DYNAMIC; create table if not exists lucky_adv_position ( ap_id mediumint(9) unsigned auto_increment comment '广告位置id' primary key, site_id int default 0 not null comment '站点id', ap_name varchar(100) default '' not null comment '广告位置名', ap_intro varchar(255) default '' not null comment '广告位简介', ap_height int default 0 not null comment '广告位高度', ap_width int default 0 not null comment '广告位宽度', default_content varchar(300) default '' not null, ap_background_color varchar(50) default '#FFFFFF' not null comment '广告位背景色 默认白色', type tinyint default 1 not null comment '广告位所在位置类型 1 pc端 2 手机端', keyword varchar(255) default '' not null comment '关键字', is_system tinyint default 0 not null comment '是否系统', state tinyint default 1 not null comment '状态 1:启用 0:关闭' ) comment '广告位表' charset = utf8 avg_row_length = 2048 row_format = DYNAMIC; create table if not exists lucky_album ( album_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', site_name varchar(255) default '' not null comment '站点名称', album_name varchar(50) default '' not null comment '相册,名称', sort int default 0 not null comment '排序', cover varchar(255) default '' not null comment '背景图', `desc` varchar(255) default '' not null comment '介绍', is_default tinyint default 0 not null comment '是否默认', update_time int default 0 not null comment '更新时间', num int default 0 not null comment '相册图片数', type varchar(50) default 'img' not null comment '类型', pid int default 0 not null comment '上级pid', level int default 0 not null comment '层级', merch_id int default 0 not null comment '商户id' ) comment '相册表' charset = utf8 row_format = DYNAMIC; create index IDX_sys_album_is_default on lucky_album (is_default); create index IDX_sys_album_site_id on lucky_album (site_id); create index IDX_sys_album_sort on lucky_album (sort); create table if not exists lucky_album_pic ( pic_id int(11) unsigned auto_increment comment '主键' primary key, pic_name varchar(255) default '' not null comment '名称', pic_path varchar(255) default '' not null comment '路径', pic_spec varchar(255) default '' not null comment '规格', site_id int default 0 not null comment '站点id', update_time int default 0 not null comment '更新时间', album_id int default 0 not null comment '相册id', is_thumb tinyint default 1 not null comment '是否缩略图 0否 1是', type varchar(50) default '' not null comment '类型', merch_id int default 0 not null comment '商户id' ) comment '相册图片表' charset = utf8 row_format = DYNAMIC; create index IDX_sys_album_pic_site_id on lucky_album_pic (site_id); create table if not exists lucky_area ( id int(11) unsigned auto_increment primary key, pid int default 0 not null comment '父级', name varchar(50) default '' not null comment '名称', shortname varchar(30) default '' not null comment '简称', longitude varchar(30) default '' not null comment '经度', latitude varchar(30) default '' not null comment '纬度', level smallint default 0 not null comment '级别', sort mediumint default 0 not null comment '排序', status tinyint default 1 not null comment '状态1有效' ) comment '地址表' charset = utf8 avg_row_length = 84 row_format = DYNAMIC; create index IDX_nc_area on lucky_area (name, shortname); create index level on lucky_area (level, sort, status); create index longitude on lucky_area (longitude, latitude); create index pid on lucky_area (pid); -- 省级行政区基础数据 insert into lucky_area (id, pid, name, shortname, longitude, latitude, level, sort, status) values (110000, 0, '北京市', '北京', '116.40529', '39.904987', 1, 0, 1), (110100, 110000, '北京市', '北京', '116.40529', '39.904987', 2, 0, 1), (110101, 110100, '东城区', '东城', '116.418755', '39.917545', 3, 0, 1), (110102, 110100, '西城区', '西城', '116.36679', '39.91531', 3, 0, 1), (110105, 110100, '朝阳区', '朝阳', '116.48641', '39.92149', 3, 0, 1), (110106, 110100, '丰台区', '丰台', '116.286964', '39.863644', 3, 0, 1), (110107, 110100, '石景山区', '石景山', '116.19544', '39.9146', 3, 0, 1), (110108, 110100, '海淀区', '海淀', '116.31032', '39.956074', 3, 0, 1), (110109, 110100, '门头沟区', '门头沟', '116.10538', '39.937183', 3, 0, 1), (110111, 110100, '房山区', '房山', '116.13916', '39.735535', 3, 0, 1), (110112, 110100, '通州区', '通州', '116.6586', '39.902485', 3, 0, 1), (110113, 110100, '顺义区', '顺义', '116.65353', '40.128937', 3, 0, 1), (110114, 110100, '昌平区', '昌平', '116.23591', '40.218086', 3, 0, 1), (110115, 110100, '大兴区', '大兴', '116.338036', '39.72891', 3, 0, 1), (110116, 110100, '怀柔区', '怀柔', '116.63712', '40.324272', 3, 0, 1), (110117, 110100, '平谷区', '平谷', '117.112335', '40.144783', 3, 0, 1), (110118, 110100, '密云区', '密云', '116.84317', '40.37625', 3, 0, 1), (110119, 110100, '延庆区', '延庆', '115.97503', '40.45678', 3, 0, 1), (120000, 0, '天津市', '天津', '117.190186', '39.125595', 1, 0, 1), (120100, 120000, '天津市', '天津', '117.190186', '39.125595', 2, 0, 1), (120101, 120100, '和平区', '和平', '117.19591', '39.11833', 3, 0, 1), (120102, 120100, '河东区', '河东', '117.22657', '39.122124', 3, 0, 1), (120103, 120100, '河西区', '河西', '117.21754', '39.1019', 3, 0, 1), (120104, 120100, '南开区', '南开', '117.16415', '39.120476', 3, 0, 1), (120105, 120100, '河北区', '河北', '117.20157', '39.15663', 3, 0, 1), (120106, 120100, '红桥区', '红桥', '117.1633', '39.175068', 3, 0, 1), (120110, 120100, '东丽区', '东丽', '117.313965', '39.087765', 3, 0, 1), (120111, 120100, '西青区', '西青', '117.012245', '39.139446', 3, 0, 1), (120112, 120100, '津南区', '津南', '117.382545', '38.98958', 3, 0, 1), (120113, 120100, '北辰区', '北辰', '117.13482', '39.225555', 3, 0, 1), (120114, 120100, '武清区', '武清', '117.05796', '39.376926', 3, 0, 1), (120115, 120100, '宝坻区', '宝坻', '117.30809', '39.716965', 3, 0, 1), (120116, 120100, '滨海新区', '滨海', '117.654175', '39.032845', 3, 0, 1), (120117, 120100, '宁河区', '宁河', '117.82478', '39.33091', 3, 0, 1), (120118, 120100, '静海区', '静海', '116.97428', '38.94737', 3, 0, 1), (120119, 120100, '蓟州区', '蓟州', '117.40829', '40.04577', 3, 0, 1), (130000, 0, '河北省', '河北', '114.502464', '38.045475', 1, 0, 1), (130100, 130000, '石家庄市', '石家庄', '114.502464', '38.045475', 2, 0, 1), (130102, 130100, '长安区', '长安', '114.54815', '38.0475', 3, 0, 1), (130104, 130100, '桥西区', '桥西', '114.46293', '38.02838', 3, 0, 1), (130105, 130100, '新华区', '新华', '114.46597', '38.067142', 3, 0, 1), (130107, 130100, '井陉矿区', '井陉矿', '114.05818', '38.069748', 3, 0, 1), (130108, 130100, '裕华区', '裕华', '114.53326', '38.027695', 3, 0, 1), (130109, 130100, '藁城区', '藁城', '114.84676', '38.02166', 3, 0, 1), (130110, 130100, '鹿泉区', '鹿泉', '114.31344', '38.08587', 3, 0, 1), (130111, 130100, '栾城区', '栾城', '114.64839', '37.90025', 3, 0, 1), (130121, 130100, '井陉县', '井陉', '114.144485', '38.033615', 3, 0, 1), (130123, 130100, '正定县', '正定', '114.569885', '38.147835', 3, 0, 1), (130125, 130100, '行唐县', '行唐', '114.552734', '38.437424', 3, 0, 1), (130126, 130100, '灵寿县', '灵寿', '114.37946', '38.306545', 3, 0, 1), (130127, 130100, '高邑县', '高邑', '114.6107', '37.605713', 3, 0, 1), (130128, 130100, '深泽县', '深泽', '115.20021', '38.18454', 3, 0, 1), (130129, 130100, '赞皇县', '赞皇', '114.38776', '37.6602', 3, 0, 1), (130130, 130100, '无极县', '无极', '114.977844', '38.176376', 3, 0, 1), (130131, 130100, '平山县', '平山', '114.18414', '38.25931', 3, 0, 1), (130132, 130100, '元氏县', '元氏', '114.52618', '37.762512', 3, 0, 1), (130133, 130100, '赵县', '赵县', '114.77536', '37.75434', 3, 0, 1), (130181, 130100, '辛集市', '辛集', '115.21745', '37.92904', 3, 0, 1), (130183, 130100, '晋州市', '晋州', '115.04488', '38.027477', 3, 0, 1), (130184, 130100, '新乐市', '新乐', '114.68578', '38.34477', 3, 0, 1), (130200, 130000, '唐山市', '唐山', '118.17539', '39.635113', 2, 0, 1), (130202, 130200, '路南区', '路南', '118.21082', '39.61516', 3, 0, 1), (130203, 130200, '路北区', '路北', '118.174736', '39.628536', 3, 0, 1), (130204, 130200, '古冶区', '古冶', '118.45429', '39.715736', 3, 0, 1), (130205, 130200, '开平区', '开平', '118.26443', '39.67617', 3, 0, 1), (130207, 130200, '丰南区', '丰南', '118.110794', '39.56303', 3, 0, 1), (130208, 130200, '丰润区', '丰润', '118.15578', '39.831364', 3, 0, 1), (130209, 130200, '曹妃甸区', '曹妃甸', '118.46023', '39.27313', 3, 0, 1), (130224, 130200, '滦南县', '滦南', '118.68155', '39.506203', 3, 0, 1), (130225, 130200, '乐亭县', '乐亭', '118.90534', '39.42813', 3, 0, 1), (130227, 130200, '迁西县', '迁西', '118.30514', '40.146236', 3, 0, 1), (130229, 130200, '玉田县', '玉田', '117.75366', '39.88732', 3, 0, 1), (130281, 130200, '遵化市', '遵化', '117.96587', '40.188618', 3, 0, 1), (130283, 130200, '迁安市', '迁安', '118.701935', '40.012108', 3, 0, 1), (130284, 130200, '滦州市', '滦州', '118.70351', '39.74058', 3, 0, 1), (130300, 130000, '秦皇岛市', '秦皇岛', '119.58658', '39.94253', 2, 0, 1), (130302, 130300, '海港区', '海港', '119.59622', '39.94346', 3, 0, 1), (130303, 130300, '山海关区', '山海关', '119.75359', '39.998024', 3, 0, 1), (130304, 130300, '北戴河区', '北戴河', '119.48628', '39.825123', 3, 0, 1), (130306, 130300, '抚宁区', '抚宁', '119.24444', '39.87634', 3, 0, 1), (130321, 130300, '青龙满族自治县', '青龙', '118.95455', '40.40602', 3, 0, 1), (130322, 130300, '昌黎县', '昌黎', '119.16454', '39.70973', 3, 0, 1), (130324, 130300, '卢龙县', '卢龙', '118.881805', '39.89164', 3, 0, 1), (130400, 130000, '邯郸市', '邯郸', '114.490685', '36.612274', 2, 0, 1), (130402, 130400, '邯山区', '邯山', '114.484985', '36.603195', 3, 0, 1), (130403, 130400, '丛台区', '丛台', '114.494705', '36.61108', 3, 0, 1), (130404, 130400, '复兴区', '复兴', '114.458244', '36.615482', 3, 0, 1), (130406, 130400, '峰峰矿区', '峰峰矿', '114.20994', '36.420486', 3, 0, 1), (130407, 130400, '肥乡区', '肥乡', '114.80002', '36.54811', 3, 0, 1), (130408, 130400, '永年区', '永年', '114.49095', '36.77771', 3, 0, 1), (130423, 130400, '临漳县', '临漳', '114.6107', '36.337605', 3, 0, 1), (130424, 130400, '成安县', '成安', '114.68036', '36.443832', 3, 0, 1), (130425, 130400, '大名县', '大名', '115.15259', '36.283318', 3, 0, 1), (130426, 130400, '涉县', '涉县', '113.673294', '36.563145', 3, 0, 1), (130427, 130400, '磁县', '磁县', '114.38208', '36.367672', 3, 0, 1), (130430, 130400, '邱县', '邱县', '115.16859', '36.81325', 3, 0, 1), (130431, 130400, '鸡泽县', '鸡泽', '114.87852', '36.91491', 3, 0, 1), (130432, 130400, '广平县', '广平', '114.95086', '36.483604', 3, 0, 1), (130433, 130400, '馆陶县', '馆陶', '115.289055', '36.53946', 3, 0, 1), (130434, 130400, '魏县', '魏县', '114.93411', '36.354248', 3, 0, 1), (130435, 130400, '曲周县', '曲周', '114.95759', '36.7734', 3, 0, 1), (130481, 130400, '武安市', '武安', '114.19458', '36.696114', 3, 0, 1), (130500, 130000, '邢台市', '邢台', '114.50885', '37.0682', 2, 0, 1), (130502, 130500, '襄都区', '桥东', '114.50713', '37.064125', 3, 0, 1), (130503, 130500, '信都区', '桥西', '114.47369', '37.06801', 3, 0, 1), (130505, 130500, '任泽区', '任泽', '', '', 3, 0, 1), (130506, 130500, '南和区', '南和', '', '', 3, 0, 1), (130522, 130500, '临城县', '临城', '114.506874', '37.444008', 3, 0, 1), (130523, 130500, '内丘县', '内丘', '114.51152', '37.287663', 3, 0, 1), (130524, 130500, '柏乡县', '柏乡', '114.69338', '37.483597', 3, 0, 1), (130525, 130500, '隆尧县', '隆尧', '114.776344', '37.350925', 3, 0, 1), (130528, 130500, '宁晋县', '宁晋', '114.92103', '37.618958', 3, 0, 1), (130529, 130500, '巨鹿县', '巨鹿', '115.03878', '37.21768', 3, 0, 1), (130530, 130500, '新河县', '新河', '115.247536', '37.526215', 3, 0, 1), (130531, 130500, '广宗县', '广宗', '115.1428', '37.075546', 3, 0, 1), (130532, 130500, '平乡县', '平乡', '115.02922', '37.069405', 3, 0, 1), (130533, 130500, '威县', '威县', '115.27275', '36.983273', 3, 0, 1), (130534, 130500, '清河县', '清河', '115.669', '37.05999', 3, 0, 1), (130535, 130500, '临西县', '临西', '115.49869', '36.8642', 3, 0, 1), (130581, 130500, '南宫市', '南宫', '115.3981', '37.35967', 3, 0, 1), (130582, 130500, '沙河市', '沙河', '114.504906', '36.861904', 3, 0, 1), (130600, 130000, '保定市', '保定', '115.48233', '38.867657', 2, 0, 1), (130602, 130600, '竞秀区', '新市', '115.47066', '38.88662', 3, 0, 1), (130606, 130600, '莲池区', '莲池', '115.49715', '38.88353', 3, 0, 1), (130607, 130600, '满城区', '满城', '115.32217', '38.94892', 3, 0, 1), (130608, 130600, '清苑区', '清苑', '115.48989', '38.76526', 3, 0, 1), (130609, 130600, '徐水区', '徐水', '115.65586', '39.01865', 3, 0, 1), (130623, 130600, '涞水县', '涞水', '115.71198', '39.393147', 3, 0, 1), (130624, 130600, '阜平县', '阜平', '114.1988', '38.847275', 3, 0, 1), (130626, 130600, '定兴县', '定兴', '115.7969', '39.266193', 3, 0, 1), (130627, 130600, '唐县', '唐县', '114.98124', '38.748543', 3, 0, 1), (130628, 130600, '高阳县', '高阳', '115.77888', '38.69009', 3, 0, 1), (130629, 130600, '容城县', '容城', '115.86625', '39.05282', 3, 0, 1), (130630, 130600, '涞源县', '涞源', '114.692566', '39.35755', 3, 0, 1), (130631, 130600, '望都县', '望都', '115.15401', '38.707447', 3, 0, 1), (130632, 130600, '安新县', '安新', '115.93198', '38.929913', 3, 0, 1), (130633, 130600, '易县', '易县', '115.501144', '39.35297', 3, 0, 1), (130634, 130600, '曲阳县', '曲阳', '114.704056', '38.61999', 3, 0, 1), (130635, 130600, '蠡县', '蠡县', '115.58363', '38.49643', 3, 0, 1), (130636, 130600, '顺平县', '顺平', '115.13275', '38.845127', 3, 0, 1), (130637, 130600, '博野县', '博野', '115.4618', '38.45827', 3, 0, 1), (130638, 130600, '雄县', '雄县', '116.107475', '38.990818', 3, 0, 1), (130681, 130600, '涿州市', '涿州', '115.97341', '39.485764', 3, 0, 1), (130682, 130600, '定州市', '定州', '114.99139', '38.5176', 3, 0, 1), (130683, 130600, '安国市', '安国', '115.33141', '38.421368', 3, 0, 1), (130684, 130600, '高碑店市', '高碑店', '115.882706', '39.32769', 3, 0, 1), (130700, 130000, '张家口市', '张家口', '114.884094', '40.8119', 2, 0, 1), (130702, 130700, '桥东区', '桥东', '114.88566', '40.813873', 3, 0, 1), (130703, 130700, '桥西区', '桥西', '114.882126', '40.824387', 3, 0, 1), (130705, 130700, '宣化区', '宣化区', '115.0632', '40.609367', 3, 0, 1), (130706, 130700, '下花园区', '下花园', '115.281', '40.488644', 3, 0, 1), (130708, 130700, '万全区', '万全', '114.74055', '40.76699', 3, 0, 1), (130709, 130700, '崇礼区', '崇礼', '115.282349', '40.974758', 3, 0, 1), (130722, 130700, '张北县', '张北', '114.71595', '41.151714', 3, 0, 1), (130723, 130700, '康保县', '康保', '114.61581', '41.850044', 3, 0, 1), (130724, 130700, '沽源县', '沽源', '115.68484', '41.66742', 3, 0, 1), (130725, 130700, '尚义县', '尚义', '113.977715', '41.08009', 3, 0, 1), (130726, 130700, '蔚县', '蔚县', '114.582695', '39.83718', 3, 0, 1), (130727, 130700, '阳原县', '阳原', '114.16734', '40.11342', 3, 0, 1), (130728, 130700, '怀安县', '怀安', '114.42236', '40.671272', 3, 0, 1), (130730, 130700, '怀来县', '怀来', '115.52084', '40.405403', 3, 0, 1), (130731, 130700, '涿鹿县', '涿鹿', '115.219246', '40.3787', 3, 0, 1), (130732, 130700, '赤城县', '赤城', '115.83271', '40.912083', 3, 0, 1), (130800, 130000, '承德市', '承德', '117.939156', '40.976204', 2, 0, 1), (130802, 130800, '双桥区', '双桥', '117.939156', '40.976204', 3, 0, 1), (130803, 130800, '双滦区', '双滦', '117.797485', '40.959755', 3, 0, 1), (130804, 130800, '鹰手营子矿区', '鹰手营子矿', '117.661156', '40.546955', 3, 0, 1), (130821, 130800, '承德县', '承德', '118.17249', '40.76864', 3, 0, 1), (130822, 130800, '兴隆县', '兴隆', '117.507095', '40.418526', 3, 0, 1), (130824, 130800, '滦平县', '滦平', '117.33713', '40.936646', 3, 0, 1), (130825, 130800, '隆化县', '隆化', '117.73634', '41.316666', 3, 0, 1), (130826, 130800, '丰宁满族自治县', '丰宁', '116.65121', '41.209904', 3, 0, 1), (130827, 130800, '宽城满族自治县', '宽城', '118.48864', '40.607983', 3, 0, 1), (130828, 130800, '围场满族蒙古族自治县', '围场', '117.764084', '41.949406', 3, 0, 1), (130881, 130800, '平泉市', '平泉', '118.70065', '41.01797', 3, 0, 1), (130900, 130000, '沧州市', '沧州', '116.85746', '38.31058', 2, 0, 1), (130902, 130900, '新华区', '新华', '116.87305', '38.308273', 3, 0, 1), (130903, 130900, '运河区', '运河', '116.840065', '38.307404', 3, 0, 1), (130921, 130900, '沧县', '沧县', '117.00748', '38.219856', 3, 0, 1), (130922, 130900, '青县', '青县', '116.83839', '38.569645', 3, 0, 1), (130923, 130900, '东光县', '东光', '116.54206', '37.88655', 3, 0, 1), (130924, 130900, '海兴县', '海兴', '117.496605', '38.141582', 3, 0, 1), (130925, 130900, '盐山县', '盐山', '117.22981', '38.05614', 3, 0, 1), (130926, 130900, '肃宁县', '肃宁', '115.83585', '38.4271', 3, 0, 1), (130927, 130900, '南皮县', '南皮', '116.70917', '38.04244', 3, 0, 1), (130928, 130900, '吴桥县', '吴桥', '116.39151', '37.62818', 3, 0, 1), (130929, 130900, '献县', '献县', '116.12384', '38.18966', 3, 0, 1), (130930, 130900, '孟村回族自治县', '孟村', '117.1051', '38.057953', 3, 0, 1), (130981, 130900, '泊头市', '泊头', '116.57016', '38.07348', 3, 0, 1), (130982, 130900, '任丘市', '任丘', '116.106766', '38.706512', 3, 0, 1), (130983, 130900, '黄骅市', '黄骅', '117.3438', '38.36924', 3, 0, 1), (130984, 130900, '河间市', '河间', '116.089455', '38.44149', 3, 0, 1), (131000, 130000, '廊坊市', '廊坊', '116.70444', '39.523926', 2, 0, 1), (131002, 131000, '安次区', '安次', '116.69454', '39.502567', 3, 0, 1), (131003, 131000, '广阳区', '广阳', '116.71371', '39.52193', 3, 0, 1), (131022, 131000, '固安县', '固安', '116.2999', '39.436466', 3, 0, 1), (131023, 131000, '永清县', '永清', '116.49809', '39.319717', 3, 0, 1), (131024, 131000, '香河县', '香河', '117.007164', '39.757214', 3, 0, 1), (131025, 131000, '大城县', '大城', '116.64073', '38.699215', 3, 0, 1), (131026, 131000, '文安县', '文安', '116.460106', '38.866802', 3, 0, 1), (131028, 131000, '大厂回族自治县', '大厂', '116.9865', '39.889267', 3, 0, 1), (131081, 131000, '霸州市', '霸州', '116.39202', '39.117332', 3, 0, 1), (131082, 131000, '三河市', '三河', '117.07702', '39.982777', 3, 0, 1), (131100, 130000, '衡水市', '衡水', '115.66599', '37.735096', 2, 0, 1), (131102, 131100, '桃城区', '桃城', '115.69495', '37.73224', 3, 0, 1), (131103, 131100, '冀州区', '冀州', '115.57938', '37.55085', 3, 0, 1), (131121, 131100, '枣强县', '枣强', '115.7265', '37.511513', 3, 0, 1), (131122, 131100, '武邑县', '武邑', '115.89242', '37.803776', 3, 0, 1), (131123, 131100, '武强县', '武强', '115.97024', '38.03698', 3, 0, 1), (131124, 131100, '饶阳县', '饶阳', '115.72658', '38.23267', 3, 0, 1), (131125, 131100, '安平县', '安平', '115.51963', '38.233513', 3, 0, 1), (131126, 131100, '故城县', '故城', '115.96674', '37.350983', 3, 0, 1), (131127, 131100, '景县', '景县', '116.258446', '37.686623', 3, 0, 1), (131128, 131100, '阜城县', '阜城', '116.16473', '37.869946', 3, 0, 1), (131182, 131100, '深州市', '深州', '115.554596', '38.00347', 3, 0, 1), (140000, 0, '山西省', '山西', '112.54925', '37.857014', 1, 0, 1), (140100, 140000, '太原市', '太原', '112.54925', '37.857014', 2, 0, 1), (140105, 140100, '小店区', '小店', '112.56427', '37.817974', 3, 0, 1), (140106, 140100, '迎泽区', '迎泽', '112.55885', '37.855804', 3, 0, 1), (140107, 140100, '杏花岭区', '杏花岭', '112.560745', '37.87929', 3, 0, 1), (140108, 140100, '尖草坪区', '尖草坪', '112.48712', '37.93989', 3, 0, 1), (140109, 140100, '万柏林区', '万柏林', '112.522255', '37.86265', 3, 0, 1), (140110, 140100, '晋源区', '晋源', '112.47785', '37.71562', 3, 0, 1), (140121, 140100, '清徐县', '清徐', '112.35796', '37.60729', 3, 0, 1), (140122, 140100, '阳曲县', '阳曲', '112.67382', '38.058796', 3, 0, 1), (140123, 140100, '娄烦县', '娄烦', '111.7938', '38.066036', 3, 0, 1), (140181, 140100, '古交市', '古交', '112.174355', '37.908535', 3, 0, 1), (140200, 140000, '大同市', '大同', '113.29526', '40.09031', 2, 0, 1), (140212, 140200, '新荣区', '新荣', '113.141045', '40.25827', 3, 0, 1), (140213, 140200, '平城区', '平城', '113.29798', '40.07583', 3, 0, 1), (140214, 140200, '云冈区', '云冈', '113.14952', '40.00543', 3, 0, 1), (140215, 140200, '云州区', '云州', '113.61217', '40.04016', 3, 0, 1), (140221, 140200, '阳高县', '阳高', '113.74987', '40.364925', 3, 0, 1), (140222, 140200, '天镇县', '天镇', '114.09112', '40.421337', 3, 0, 1), (140223, 140200, '广灵县', '广灵', '114.27925', '39.76305', 3, 0, 1), (140224, 140200, '灵丘县', '灵丘', '114.23576', '39.438866', 3, 0, 1), (140225, 140200, '浑源县', '浑源', '113.69809', '39.6991', 3, 0, 1), (140226, 140200, '左云县', '左云', '112.70641', '40.012875', 3, 0, 1), (140300, 140000, '阳泉市', '阳泉', '113.58328', '37.861187', 2, 0, 1), (140302, 140300, '城区', '城区', '113.58651', '37.86094', 3, 0, 1), (140303, 140300, '矿区', '矿区', '113.55907', '37.870087', 3, 0, 1), (140311, 140300, '郊区', '郊区', '113.58328', '37.861187', 3, 0, 1), (140321, 140300, '平定县', '平定', '113.63105', '37.80029', 3, 0, 1), (140322, 140300, '盂县', '盂县', '113.41223', '38.086132', 3, 0, 1), (140400, 140000, '长治市', '长治', '113.113556', '36.191113', 2, 0, 1), (140403, 140400, '潞州区', '潞州', '113.12303', '36.20346', 3, 0, 1), (140404, 140400, '上党区', '上党', '113.05135', '36.05312', 3, 0, 1), (140405, 140400, '屯留区', '屯留', '112.89221', '36.31553', 3, 0, 1), (140406, 140400, '潞城区', '潞城', '113.22893', '36.33418', 3, 0, 1), (140423, 140400, '襄垣县', '襄垣', '113.050095', '36.532852', 3, 0, 1), (140425, 140400, '平顺县', '平顺', '113.43879', '36.200203', 3, 0, 1), (140426, 140400, '黎城县', '黎城', '113.38737', '36.50297', 3, 0, 1), (140427, 140400, '壶关县', '壶关', '113.20614', '36.11094', 3, 0, 1), (140428, 140400, '长子县', '长子', '112.88466', '36.119484', 3, 0, 1), (140429, 140400, '武乡县', '武乡', '112.8653', '36.834316', 3, 0, 1), (140430, 140400, '沁县', '沁县', '112.70138', '36.757122', 3, 0, 1), (140431, 140400, '沁源县', '沁源', '112.34088', '36.50078', 3, 0, 1), (140500, 140000, '晋城市', '晋城', '112.85127', '35.497555', 2, 0, 1), (140502, 140500, '城区', '城区', '112.8531', '35.49664', 3, 0, 1), (140521, 140500, '沁水县', '沁水', '112.18721', '35.689472', 3, 0, 1), (140522, 140500, '阳城县', '阳城', '112.42201', '35.482178', 3, 0, 1), (140524, 140500, '陵川县', '陵川', '113.27888', '35.775616', 3, 0, 1), (140525, 140500, '泽州县', '泽州', '112.89914', '35.61722', 3, 0, 1), (140581, 140500, '高平市', '高平', '112.930695', '35.791355', 3, 0, 1), (140600, 140000, '朔州市', '朔州', '112.43339', '39.33126', 2, 0, 1), (140602, 140600, '朔城区', '朔城', '112.42867', '39.324524', 3, 0, 1), (140603, 140600, '平鲁区', '平鲁', '112.29523', '39.515602', 3, 0, 1), (140621, 140600, '山阴县', '山阴', '112.8164', '39.52677', 3, 0, 1), (140622, 140600, '应县', '应县', '113.18751', '39.55919', 3, 0, 1), (140623, 140600, '右玉县', '右玉', '112.46559', '39.98881', 3, 0, 1), (140681, 140600, '怀仁市', '怀仁', '113.10012', '39.82788', 3, 0, 1), (140700, 140000, '晋中市', '晋中', '112.736465', '37.696495', 2, 0, 1), (140702, 140700, '榆次区', '榆次', '112.74006', '37.6976', 3, 0, 1), (140703, 140700, '太谷区', '太谷', '112.55126', '37.42119', 3, 0, 1), (140721, 140700, '榆社县', '榆社', '112.97352', '37.06902', 3, 0, 1), (140722, 140700, '左权县', '左权', '113.37783', '37.079674', 3, 0, 1), (140723, 140700, '和顺县', '和顺', '113.57292', '37.327026', 3, 0, 1), (140724, 140700, '昔阳县', '昔阳', '113.70617', '37.60437', 3, 0, 1), (140725, 140700, '寿阳县', '寿阳', '113.17771', '37.891136', 3, 0, 1), (140727, 140700, '祁县', '祁县', '112.33053', '37.358738', 3, 0, 1), (140728, 140700, '平遥县', '平遥', '112.17406', '37.195473', 3, 0, 1), (140729, 140700, '灵石县', '灵石', '111.77276', '36.84747', 3, 0, 1), (140781, 140700, '介休市', '介休', '111.91386', '37.027615', 3, 0, 1), (140800, 140000, '运城市', '运城', '111.00396', '35.022778', 2, 0, 1), (140802, 140800, '盐湖区', '盐湖', '111.000626', '35.025642', 3, 0, 1), (140821, 140800, '临猗县', '临猗', '110.77493', '35.141884', 3, 0, 1), (140822, 140800, '万荣县', '万荣', '110.84356', '35.41704', 3, 0, 1), (140823, 140800, '闻喜县', '闻喜', '111.22031', '35.35384', 3, 0, 1), (140824, 140800, '稷山县', '稷山', '110.979', '35.60041', 3, 0, 1), (140825, 140800, '新绛县', '新绛', '111.225204', '35.613697', 3, 0, 1), (140826, 140800, '绛县', '绛县', '111.57618', '35.49045', 3, 0, 1), (140827, 140800, '垣曲县', '垣曲', '111.67099', '35.298294', 3, 0, 1), (140828, 140800, '夏县', '夏县', '111.223175', '35.14044', 3, 0, 1), (140829, 140800, '平陆县', '平陆', '111.21238', '34.837257', 3, 0, 1), (140830, 140800, '芮城县', '芮城', '110.69114', '34.69477', 3, 0, 1), (140881, 140800, '永济市', '永济', '110.44798', '34.865124', 3, 0, 1), (140882, 140800, '河津市', '河津', '110.710266', '35.59715', 3, 0, 1), (140900, 140000, '忻州市', '忻州', '112.733536', '38.41769', 2, 0, 1), (140902, 140900, '忻府区', '忻府', '112.734116', '38.417744', 3, 0, 1), (140921, 140900, '定襄县', '定襄', '112.963234', '38.484947', 3, 0, 1), (140922, 140900, '五台县', '五台', '113.25901', '38.72571', 3, 0, 1), (140923, 140900, '代县', '代县', '112.96252', '39.06514', 3, 0, 1), (140924, 140900, '繁峙县', '繁峙', '113.26771', '39.188103', 3, 0, 1), (140925, 140900, '宁武县', '宁武', '112.30794', '39.001717', 3, 0, 1), (140926, 140900, '静乐县', '静乐', '111.94023', '38.355946', 3, 0, 1), (140927, 140900, '神池县', '神池', '112.20044', '39.088467', 3, 0, 1), (140928, 140900, '五寨县', '五寨', '111.84102', '38.91276', 3, 0, 1), (140929, 140900, '岢岚县', '岢岚', '111.56981', '38.705624', 3, 0, 1), (140930, 140900, '河曲县', '河曲', '111.14661', '39.381893', 3, 0, 1), (140931, 140900, '保德县', '保德', '111.085686', '39.022575', 3, 0, 1), (140932, 140900, '偏关县', '偏关', '111.50048', '39.442154', 3, 0, 1), (140981, 140900, '原平市', '原平', '112.713135', '38.729187', 3, 0, 1), (141000, 140000, '临汾市', '临汾', '111.517975', '36.08415', 2, 0, 1), (141002, 141000, '尧都区', '尧都', '111.52294', '36.080364', 3, 0, 1), (141021, 141000, '曲沃县', '曲沃', '111.47553', '35.641388', 3, 0, 1), (141022, 141000, '翼城县', '翼城', '111.71351', '35.73862', 3, 0, 1), (141023, 141000, '襄汾县', '襄汾', '111.44293', '35.87614', 3, 0, 1), (141024, 141000, '洪洞县', '洪洞', '111.67369', '36.25574', 3, 0, 1), (141025, 141000, '古县', '古县', '111.920204', '36.26855', 3, 0, 1), (141026, 141000, '安泽县', '安泽', '112.25137', '36.14603', 3, 0, 1), (141027, 141000, '浮山县', '浮山', '111.85004', '35.97136', 3, 0, 1), (141028, 141000, '吉县', '吉县', '110.68285', '36.099354', 3, 0, 1), (141029, 141000, '乡宁县', '乡宁', '110.85737', '35.975403', 3, 0, 1), (141030, 141000, '大宁县', '大宁', '110.75128', '36.46383', 3, 0, 1), (141031, 141000, '隰县', '隰县', '110.93581', '36.692677', 3, 0, 1), (141032, 141000, '永和县', '永和', '110.63128', '36.760612', 3, 0, 1), (141033, 141000, '蒲县', '蒲县', '111.09733', '36.411682', 3, 0, 1), (141034, 141000, '汾西县', '汾西', '111.56302', '36.65337', 3, 0, 1), (141081, 141000, '侯马市', '侯马', '111.37127', '35.6203', 3, 0, 1), (141082, 141000, '霍州市', '霍州', '111.72311', '36.57202', 3, 0, 1), (141100, 140000, '吕梁市', '吕梁', '111.13434', '37.524364', 2, 0, 1), (141102, 141100, '离石区', '离石', '111.13446', '37.524036', 3, 0, 1), (141121, 141100, '文水县', '文水', '112.03259', '37.436314', 3, 0, 1), (141122, 141100, '交城县', '交城', '112.15916', '37.555157', 3, 0, 1), (141123, 141100, '兴县', '兴县', '111.12482', '38.464134', 3, 0, 1), (141124, 141100, '临县', '临县', '110.995964', '37.960808', 3, 0, 1), (141125, 141100, '柳林县', '柳林', '110.89613', '37.431664', 3, 0, 1), (141126, 141100, '石楼县', '石楼', '110.83712', '36.999428', 3, 0, 1), (141127, 141100, '岚县', '岚县', '111.671555', '38.278652', 3, 0, 1), (141128, 141100, '方山县', '方山', '111.238884', '37.89263', 3, 0, 1), (141129, 141100, '中阳县', '中阳', '111.19332', '37.342052', 3, 0, 1), (141130, 141100, '交口县', '交口', '111.18319', '36.983067', 3, 0, 1), (141181, 141100, '孝义市', '孝义', '111.78157', '37.144474', 3, 0, 1), (141182, 141100, '汾阳市', '汾阳', '111.78527', '37.267742', 3, 0, 1), (150000, 0, '内蒙古自治区', '内蒙古', '111.6708', '40.81831', 1, 0, 1), (150100, 150000, '呼和浩特市', '呼和浩特', '111.6708', '40.81831', 2, 0, 1), (150102, 150100, '新城区', '新城', '111.68597', '40.826225', 3, 0, 1), (150103, 150100, '回民区', '回民', '111.66216', '40.815147', 3, 0, 1), (150104, 150100, '玉泉区', '玉泉', '111.66543', '40.79942', 3, 0, 1), (150105, 150100, '赛罕区', '赛罕', '111.69846', '40.807835', 3, 0, 1), (150121, 150100, '土默特左旗', '土默特左', '111.13361', '40.720417', 3, 0, 1), (150122, 150100, '托克托县', '托克托', '111.19732', '40.27673', 3, 0, 1), (150123, 150100, '和林格尔县', '和林格尔', '111.82414', '40.380287', 3, 0, 1), (150124, 150100, '清水河县', '清水河', '111.67222', '39.91248', 3, 0, 1), (150125, 150100, '武川县', '武川', '111.456566', '41.094482', 3, 0, 1), (150200, 150000, '包头市', '包头', '109.84041', '40.65817', 2, 0, 1), (150202, 150200, '东河区', '东河', '110.02689', '40.587055', 3, 0, 1), (150203, 150200, '昆都仑区', '昆都仑', '109.82293', '40.661346', 3, 0, 1), (150204, 150200, '青山区', '青山', '109.88005', '40.668556', 3, 0, 1), (150205, 150200, '石拐区', '石拐', '110.27257', '40.672092', 3, 0, 1), (150206, 150200, '白云鄂博矿区', '白云矿区', '109.97016', '41.769245', 3, 0, 1), (150207, 150200, '九原区', '九原', '109.968124', '40.600582', 3, 0, 1), (150221, 150200, '土默特右旗', '土默特右', '110.526764', '40.566433', 3, 0, 1), (150222, 150200, '固阳县', '固阳', '110.06342', '41.030003', 3, 0, 1), (150223, 150200, '达尔罕茂明安联合旗', '达尔罕茂明安联合', '109.84041', '40.65817', 3, 0, 1), (150300, 150000, '乌海市', '乌海', '106.82556', '39.673733', 2, 0, 1), (150302, 150300, '海勃湾区', '海勃湾', '106.817764', '39.673527', 3, 0, 1), (150303, 150300, '海南区', '海南', '106.88479', '39.44153', 3, 0, 1), (150304, 150300, '乌达区', '乌达', '106.72271', '39.50229', 3, 0, 1), (150400, 150000, '赤峰市', '赤峰', '118.9568', '42.27532', 2, 0, 1), (150402, 150400, '红山区', '红山', '118.96109', '42.269733', 3, 0, 1), (150403, 150400, '元宝山区', '元宝山', '119.28988', '42.04117', 3, 0, 1), (150404, 150400, '松山区', '松山', '118.93896', '42.281048', 3, 0, 1), (150421, 150400, '阿鲁科尔沁旗', '阿鲁科尔沁', '120.09497', '43.87877', 3, 0, 1), (150422, 150400, '巴林左旗', '巴林左', '119.39174', '43.980717', 3, 0, 1), (150423, 150400, '巴林右旗', '巴林右', '118.678345', '43.52896', 3, 0, 1), (150424, 150400, '林西县', '林西', '118.05775', '43.605328', 3, 0, 1), (150425, 150400, '克什克腾旗', '克什克腾', '117.542465', '43.256233', 3, 0, 1), (150426, 150400, '翁牛特旗', '翁牛特', '119.02262', '42.937126', 3, 0, 1), (150428, 150400, '喀喇沁旗', '喀喇沁', '118.70857', '41.92778', 3, 0, 1), (150429, 150400, '宁城县', '宁城', '119.33924', '41.598694', 3, 0, 1), (150430, 150400, '敖汉旗', '敖汉', '119.90649', '42.28701', 3, 0, 1), (150500, 150000, '通辽市', '通辽', '122.26312', '43.617428', 2, 0, 1), (150502, 150500, '科尔沁区', '科尔沁', '122.264046', '43.61742', 3, 0, 1), (150521, 150500, '科尔沁左翼中旗', '科尔沁左翼中', '123.31387', '44.127167', 3, 0, 1), (150522, 150500, '科尔沁左翼后旗', '科尔沁左翼后', '122.355156', '42.954563', 3, 0, 1), (150523, 150500, '开鲁县', '开鲁', '121.3088', '43.602432', 3, 0, 1), (150524, 150500, '库伦旗', '库伦', '121.77489', '42.73469', 3, 0, 1), (150525, 150500, '奈曼旗', '奈曼', '120.662544', '42.84685', 3, 0, 1), (150526, 150500, '扎鲁特旗', '扎鲁特', '120.90527', '44.555294', 3, 0, 1), (150581, 150500, '霍林郭勒市', '霍林郭勒', '119.65786', '45.53236', 3, 0, 1), (150600, 150000, '鄂尔多斯市', '鄂尔多斯', '109.99029', '39.81718', 2, 0, 1), (150602, 150600, '东胜区', '东胜', '109.98945', '39.81788', 3, 0, 1), (150603, 150600, '康巴什区', '康巴什', '109.85851', '39.60837', 3, 0, 1), (150621, 150600, '达拉特旗', '达拉特', '110.04028', '40.404076', 3, 0, 1), (150622, 150600, '准格尔旗', '准格尔', '111.238335', '39.86522', 3, 0, 1), (150623, 150600, '鄂托克前旗', '鄂托克前', '107.48172', '38.183258', 3, 0, 1), (150624, 150600, '鄂托克旗', '鄂托克', '107.982605', '39.095753', 3, 0, 1), (150625, 150600, '杭锦旗', '杭锦', '108.73632', '39.831787', 3, 0, 1), (150626, 150600, '乌审旗', '乌审', '108.84245', '38.59661', 3, 0, 1), (150627, 150600, '伊金霍洛旗', '伊金霍洛', '109.7874', '39.604313', 3, 0, 1), (150700, 150000, '呼伦贝尔市', '呼伦贝尔', '119.75817', '49.215332', 2, 0, 1), (150702, 150700, '海拉尔区', '海拉尔', '119.76492', '49.21389', 3, 0, 1), (150703, 150700, '扎赉诺尔区', '扎赉诺尔', '117.7927', '49.486942', 3, 0, 1), (150721, 150700, '阿荣旗', '阿荣', '123.464615', '48.130505', 3, 0, 1), (150722, 150700, '莫力达瓦达斡尔族自治旗', '莫力达瓦', '124.5074', '48.478386', 3, 0, 1), (150723, 150700, '鄂伦春自治旗', '鄂伦春', '123.725685', '50.590176', 3, 0, 1), (150724, 150700, '鄂温克族自治旗', '鄂温克', '119.75404', '49.14329', 3, 0, 1), (150725, 150700, '陈巴尔虎旗', '陈巴尔虎', '119.43761', '49.328423', 3, 0, 1), (150726, 150700, '新巴尔虎左旗', '新巴尔虎左', '118.267456', '48.21657', 3, 0, 1), (150727, 150700, '新巴尔虎右旗', '新巴尔虎右', '116.82599', '48.669132', 3, 0, 1), (150781, 150700, '满洲里市', '满洲里', '117.45556', '49.59079', 3, 0, 1), (150782, 150700, '牙克石市', '牙克石', '120.729004', '49.287025', 3, 0, 1), (150783, 150700, '扎兰屯市', '扎兰屯', '122.7444', '48.007412', 3, 0, 1), (150784, 150700, '额尔古纳市', '额尔古纳', '120.178635', '50.2439', 3, 0, 1), (150785, 150700, '根河市', '根河', '121.53272', '50.780453', 3, 0, 1), (150800, 150000, '巴彦淖尔市', '巴彦淖尔', '107.41696', '40.7574', 2, 0, 1), (150802, 150800, '临河区', '临河', '107.417015', '40.75709', 3, 0, 1), (150821, 150800, '五原县', '五原', '108.27066', '41.097637', 3, 0, 1), (150822, 150800, '磴口县', '磴口', '107.00606', '40.33048', 3, 0, 1), (150823, 150800, '乌拉特前旗', '乌拉特前', '108.656815', '40.72521', 3, 0, 1), (150824, 150800, '乌拉特中旗', '乌拉特中', '108.51526', '41.57254', 3, 0, 1), (150825, 150800, '乌拉特后旗', '乌拉特后', '107.07494', '41.08431', 3, 0, 1), (150826, 150800, '杭锦后旗', '杭锦后', '107.14768', '40.888798', 3, 0, 1), (150900, 150000, '乌兰察布市', '乌兰察布', '113.11454', '41.034126', 2, 0, 1), (150902, 150900, '集宁区', '集宁', '113.116455', '41.034134', 3, 0, 1), (150921, 150900, '卓资县', '卓资', '112.577705', '40.89576', 3, 0, 1), (150922, 150900, '化德县', '化德', '114.01008', '41.899334', 3, 0, 1), (150923, 150900, '商都县', '商都', '113.560646', '41.56016', 3, 0, 1), (150924, 150900, '兴和县', '兴和', '113.83401', '40.872437', 3, 0, 1), (150925, 150900, '凉城县', '凉城', '112.50091', '40.531628', 3, 0, 1), (150926, 150900, '察哈尔右翼前旗', '察哈尔右翼前', '113.21196', '40.786858', 3, 0, 1), (150927, 150900, '察哈尔右翼中旗', '察哈尔右翼中', '112.63356', '41.27421', 3, 0, 1), (150928, 150900, '察哈尔右翼后旗', '察哈尔右翼后', '113.1906', '41.447212', 3, 0, 1), (150929, 150900, '四子王旗', '四子王', '111.70123', '41.528114', 3, 0, 1), (150981, 150900, '丰镇市', '丰镇', '113.16346', '40.437534', 3, 0, 1), (152200, 150000, '兴安盟', '兴安', '122.07032', '46.076267', 2, 0, 1), (152201, 152200, '乌兰浩特市', '乌兰浩特', '122.06898', '46.077236', 3, 0, 1), (152202, 152200, '阿尔山市', '阿尔山', '119.94366', '47.177', 3, 0, 1), (152221, 152200, '科尔沁右翼前旗', '科尔沁右翼前', '121.95754', '46.076496', 3, 0, 1), (152222, 152200, '科尔沁右翼中旗', '科尔沁右翼中', '121.47282', '45.059647', 3, 0, 1), (152223, 152200, '扎赉特旗', '扎赉特', '122.90933', '46.725136', 3, 0, 1), (152224, 152200, '突泉县', '突泉', '121.56486', '45.380985', 3, 0, 1), (152500, 150000, '锡林郭勒盟', '锡林郭勒', '116.090996', '43.94402', 2, 0, 1), (152501, 152500, '二连浩特市', '二连浩特', '111.97981', '43.652897', 3, 0, 1), (152502, 152500, '锡林浩特市', '锡林浩特', '116.0919', '43.9443', 3, 0, 1), (152522, 152500, '阿巴嘎旗', '阿巴嘎', '114.97062', '44.022728', 3, 0, 1), (152523, 152500, '苏尼特左旗', '苏尼特左', '113.65341', '43.854107', 3, 0, 1), (152524, 152500, '苏尼特右旗', '苏尼特右', '112.65539', '42.746662', 3, 0, 1), (152525, 152500, '东乌珠穆沁旗', '东乌珠穆沁', '116.98002', '45.510307', 3, 0, 1), (152526, 152500, '西乌珠穆沁旗', '西乌珠穆沁', '117.61525', '44.586147', 3, 0, 1), (152527, 152500, '太仆寺旗', '太仆寺', '115.28728', '41.8952', 3, 0, 1), (152528, 152500, '镶黄旗', '镶黄', '113.84387', '42.239227', 3, 0, 1), (152529, 152500, '正镶白旗', '正镶白', '115.031425', '42.286808', 3, 0, 1), (152530, 152500, '正蓝旗', '正蓝', '116.00331', '42.245895', 3, 0, 1), (152531, 152500, '多伦县', '多伦', '116.47729', '42.197964', 3, 0, 1), (152900, 150000, '阿拉善盟', '阿拉善', '105.70642', '38.844814', 2, 0, 1), (152921, 152900, '阿拉善左旗', '阿拉善左', '105.70192', '38.84724', 3, 0, 1), (152922, 152900, '阿拉善右旗', '阿拉善右', '101.67198', '39.21159', 3, 0, 1), (152923, 152900, '额济纳旗', '额济纳', '101.06944', '41.958813', 3, 0, 1), (210000, 0, '辽宁省', '辽宁', '123.42909', '41.79677', 1, 0, 1), (210100, 210000, '沈阳市', '沈阳', '123.42909', '41.79677', 2, 0, 1), (210102, 210100, '和平区', '和平', '123.40666', '41.788074', 3, 0, 1), (210103, 210100, '沈河区', '沈河', '123.445694', '41.79559', 3, 0, 1), (210104, 210100, '大东区', '大东', '123.469955', '41.808502', 3, 0, 1), (210105, 210100, '皇姑区', '皇姑', '123.40568', '41.822334', 3, 0, 1), (210106, 210100, '铁西区', '铁西', '123.35066', '41.787807', 3, 0, 1), (210111, 210100, '苏家屯区', '苏家屯', '123.341606', '41.665905', 3, 0, 1), (210112, 210100, '浑南区', '东陵', '123.458984', '41.741947', 3, 0, 1), (210113, 210100, '沈北新区', '沈北新', '123.58424', '41.91303', 3, 0, 1), (210114, 210100, '于洪区', '于洪', '123.31083', '41.795834', 3, 0, 1), (210115, 210100, '辽中区', '辽中', '122.76549', '41.51685', 3, 0, 1), (210123, 210100, '康平县', '康平', '123.3527', '42.74153', 3, 0, 1), (210124, 210100, '法库县', '法库', '123.416725', '42.507046', 3, 0, 1), (210181, 210100, '新民市', '新民', '122.828865', '41.99651', 3, 0, 1), (210200, 210000, '大连市', '大连', '121.61862', '38.91459', 2, 0, 1), (210202, 210200, '中山区', '中山', '121.64376', '38.921555', 3, 0, 1), (210203, 210200, '西岗区', '西岗', '121.61611', '38.914265', 3, 0, 1), (210204, 210200, '沙河口区', '沙河口', '121.593704', '38.91286', 3, 0, 1), (210211, 210200, '甘井子区', '甘井子', '121.58261', '38.975147', 3, 0, 1), (210212, 210200, '旅顺口区', '旅顺口', '121.26713', '38.812042', 3, 0, 1), (210213, 210200, '金州区', '金州', '121.78941', '39.052746', 3, 0, 1), (210214, 210200, '普兰店区', '普兰店', '121.96323', '39.39443', 3, 0, 1), (210224, 210200, '长海县', '长海', '122.58782', '39.2724', 3, 0, 1), (210281, 210200, '瓦房店市', '瓦房店', '122.002655', '39.63065', 3, 0, 1), (210283, 210200, '庄河市', '庄河', '122.97061', '39.69829', 3, 0, 1), (210300, 210000, '鞍山市', '鞍山', '122.99563', '41.110626', 2, 0, 1), (210302, 210300, '铁东区', '铁东', '122.99448', '41.110344', 3, 0, 1), (210303, 210300, '铁西区', '铁西', '122.97183', '41.11069', 3, 0, 1), (210304, 210300, '立山区', '立山', '123.0248', '41.150623', 3, 0, 1), (210311, 210300, '千山区', '千山', '122.95788', '41.07072', 3, 0, 1), (210321, 210300, '台安县', '台安', '122.42973', '41.38686', 3, 0, 1), (210323, 210300, '岫岩满族自治县', '岫岩', '123.28833', '40.28151', 3, 0, 1), (210381, 210300, '海城市', '海城', '122.7522', '40.85253', 3, 0, 1), (210400, 210000, '抚顺市', '抚顺', '123.92111', '41.875957', 2, 0, 1), (210402, 210400, '新抚区', '新抚', '123.902855', '41.86082', 3, 0, 1), (210403, 210400, '东洲区', '东洲', '124.04722', '41.86683', 3, 0, 1), (210404, 210400, '望花区', '望花', '123.801506', '41.851803', 3, 0, 1), (210411, 210400, '顺城区', '顺城', '123.91717', '41.88113', 3, 0, 1), (210421, 210400, '抚顺县', '抚顺', '124.09798', '41.922646', 3, 0, 1), (210422, 210400, '新宾满族自治县', '新宾', '125.037544', '41.732456', 3, 0, 1), (210423, 210400, '清原满族自治县', '清原', '124.92719', '42.10135', 3, 0, 1), (210500, 210000, '本溪市', '本溪', '123.770515', '41.29791', 2, 0, 1), (210502, 210500, '平山区', '平山', '123.76123', '41.29158', 3, 0, 1), (210503, 210500, '溪湖区', '溪湖', '123.76523', '41.330055', 3, 0, 1), (210504, 210500, '明山区', '明山', '123.76329', '41.30243', 3, 0, 1), (210505, 210500, '南芬区', '南芬', '123.74838', '41.10409', 3, 0, 1), (210521, 210500, '本溪满族自治县', '本溪', '124.12616', '41.300343', 3, 0, 1), (210522, 210500, '桓仁满族自治县', '桓仁', '125.35919', '41.268997', 3, 0, 1), (210600, 210000, '丹东市', '丹东', '124.38304', '40.124294', 2, 0, 1), (210602, 210600, '元宝区', '元宝', '124.39781', '40.136482', 3, 0, 1), (210603, 210600, '振兴区', '振兴', '124.36115', '40.102802', 3, 0, 1), (210604, 210600, '振安区', '振安', '124.42771', '40.158558', 3, 0, 1), (210624, 210600, '宽甸满族自治县', '宽甸', '124.78487', '40.73041', 3, 0, 1), (210681, 210600, '东港市', '东港', '124.14944', '39.88347', 3, 0, 1), (210682, 210600, '凤城市', '凤城', '124.07107', '40.457565', 3, 0, 1), (210700, 210000, '锦州市', '锦州', '121.13574', '41.11927', 2, 0, 1), (210702, 210700, '古塔区', '古塔', '121.13009', '41.11572', 3, 0, 1), (210703, 210700, '凌河区', '凌河', '121.151306', '41.114662', 3, 0, 1), (210711, 210700, '太和区', '太和', '121.1073', '41.105377', 3, 0, 1), (210726, 210700, '黑山县', '黑山', '122.11791', '41.691803', 3, 0, 1), (210727, 210700, '义县', '义县', '121.24283', '41.537224', 3, 0, 1), (210781, 210700, '凌海市', '凌海', '121.364235', '41.171738', 3, 0, 1), (210782, 210700, '北镇市', '北镇', '121.79596', '41.598763', 3, 0, 1), (210800, 210000, '营口市', '营口', '122.23515', '40.66743', 2, 0, 1), (210802, 210800, '站前区', '站前', '122.253235', '40.66995', 3, 0, 1), (210803, 210800, '西市区', '西市', '122.21007', '40.663086', 3, 0, 1), (210804, 210800, '鲅鱼圈区', '鲅鱼圈', '122.12724', '40.263645', 3, 0, 1), (210811, 210800, '老边区', '老边', '122.38258', '40.682724', 3, 0, 1), (210881, 210800, '盖州市', '盖州', '122.35554', '40.405235', 3, 0, 1), (210882, 210800, '大石桥市', '大石桥', '122.5059', '40.633972', 3, 0, 1), (210900, 210000, '阜新市', '阜新', '121.648964', '42.011795', 2, 0, 1), (210902, 210900, '海州区', '海州', '121.65764', '42.01116', 3, 0, 1), (210903, 210900, '新邱区', '新邱', '121.79054', '42.0866', 3, 0, 1), (210904, 210900, '太平区', '太平', '121.677574', '42.011147', 3, 0, 1), (210905, 210900, '清河门区', '清河门', '121.42018', '41.780476', 3, 0, 1), (210911, 210900, '细河区', '细河', '121.65479', '42.01922', 3, 0, 1), (210921, 210900, '阜新蒙古族自治县', '阜新', '121.743126', '42.058605', 3, 0, 1), (210922, 210900, '彰武县', '彰武', '122.537445', '42.384823', 3, 0, 1), (211000, 210000, '辽阳市', '辽阳', '123.18152', '41.2694', 2, 0, 1), (211002, 211000, '白塔区', '白塔', '123.17261', '41.26745', 3, 0, 1), (211003, 211000, '文圣区', '文圣', '123.188225', '41.266766', 3, 0, 1), (211004, 211000, '宏伟区', '宏伟', '123.20046', '41.205746', 3, 0, 1), (211005, 211000, '弓长岭区', '弓长岭', '123.43163', '41.15783', 3, 0, 1), (211011, 211000, '太子河区', '太子河', '123.18533', '41.251682', 3, 0, 1), (211021, 211000, '辽阳县', '辽阳', '123.07967', '41.21648', 3, 0, 1), (211081, 211000, '灯塔市', '灯塔', '123.32587', '41.427837', 3, 0, 1), (211100, 210000, '盘锦市', '盘锦', '122.06957', '41.124485', 2, 0, 1), (211102, 211100, '双台子区', '双台子', '122.05573', '41.190365', 3, 0, 1), (211103, 211100, '兴隆台区', '兴隆台', '122.071625', '41.12242', 3, 0, 1), (211104, 211100, '大洼区', '大洼', '122.08245', '41.00247', 3, 0, 1), (211122, 211100, '盘山县', '盘山', '121.98528', '41.2407', 3, 0, 1), (211200, 210000, '铁岭市', '铁岭', '123.84428', '42.290585', 2, 0, 1), (211202, 211200, '银州区', '银州', '123.84488', '42.29228', 3, 0, 1), (211204, 211200, '清河区', '清河', '124.14896', '42.542976', 3, 0, 1), (211221, 211200, '铁岭县', '铁岭', '123.72567', '42.223316', 3, 0, 1), (211223, 211200, '西丰县', '西丰', '124.72332', '42.73809', 3, 0, 1), (211224, 211200, '昌图县', '昌图', '124.11017', '42.784443', 3, 0, 1), (211281, 211200, '调兵山市', '调兵山', '123.545364', '42.450733', 3, 0, 1), (211282, 211200, '开原市', '开原', '124.04555', '42.54214', 3, 0, 1), (211300, 210000, '朝阳市', '朝阳', '120.45118', '41.57676', 2, 0, 1), (211302, 211300, '双塔区', '双塔', '120.44877', '41.579388', 3, 0, 1), (211303, 211300, '龙城区', '龙城', '120.413376', '41.576748', 3, 0, 1), (211321, 211300, '朝阳县', '朝阳', '120.40422', '41.52634', 3, 0, 1), (211322, 211300, '建平县', '建平', '119.642365', '41.402576', 3, 0, 1), (211324, 211300, '喀喇沁左翼蒙古族自治县', '喀左', '119.74488', '41.125427', 3, 0, 1), (211381, 211300, '北票市', '北票', '120.76695', '41.803288', 3, 0, 1), (211382, 211300, '凌源市', '凌源', '119.40479', '41.243088', 3, 0, 1), (211400, 210000, '葫芦岛市', '葫芦岛', '120.85639', '40.755573', 2, 0, 1), (211402, 211400, '连山区', '连山', '120.85937', '40.755142', 3, 0, 1), (211403, 211400, '龙港区', '龙港', '120.83857', '40.70999', 3, 0, 1), (211404, 211400, '南票区', '南票', '120.75231', '41.098812', 3, 0, 1), (211421, 211400, '绥中县', '绥中', '120.34211', '40.328407', 3, 0, 1), (211422, 211400, '建昌县', '建昌', '119.80778', '40.81287', 3, 0, 1), (211481, 211400, '兴城市', '兴城', '120.72936', '40.61941', 3, 0, 1), (220000, 0, '吉林省', '吉林', '125.3245', '43.88684', 1, 0, 1), (220100, 220000, '长春市', '长春', '125.3245', '43.88684', 2, 0, 1), (220102, 220100, '南关区', '南关', '125.337234', '43.890236', 3, 0, 1), (220103, 220100, '宽城区', '宽城', '125.34283', '43.903824', 3, 0, 1), (220104, 220100, '朝阳区', '朝阳', '125.31804', '43.86491', 3, 0, 1), (220105, 220100, '二道区', '二道', '125.38473', '43.870823', 3, 0, 1), (220106, 220100, '绿园区', '绿园', '125.27247', '43.892178', 3, 0, 1), (220112, 220100, '双阳区', '双阳', '125.65902', '43.52517', 3, 0, 1), (220113, 220100, '九台区', '九台', '125.83949', '44.15174', 3, 0, 1), (220122, 220100, '农安县', '农安', '125.175285', '44.43126', 3, 0, 1), (220182, 220100, '榆树市', '榆树', '126.55011', '44.82764', 3, 0, 1), (220183, 220100, '德惠市', '德惠', '125.70332', '44.53391', 3, 0, 1), (220184, 220100, '公主岭市', '公主岭', '', '', 3, 0, 1), (220200, 220000, '吉林市', '吉林', '126.55302', '43.84358', 2, 0, 1), (220202, 220200, '昌邑区', '昌邑', '126.57076', '43.851116', 3, 0, 1), (220203, 220200, '龙潭区', '龙潭', '126.56143', '43.909756', 3, 0, 1), (220204, 220200, '船营区', '船营', '126.55239', '43.843803', 3, 0, 1), (220211, 220200, '丰满区', '丰满', '126.56076', '43.816593', 3, 0, 1), (220221, 220200, '永吉县', '永吉', '126.501625', '43.667416', 3, 0, 1), (220281, 220200, '蛟河市', '蛟河', '127.342735', '43.720577', 3, 0, 1), (220282, 220200, '桦甸市', '桦甸', '126.745445', '42.97209', 3, 0, 1), (220283, 220200, '舒兰市', '舒兰', '126.947815', '44.410908', 3, 0, 1), (220284, 220200, '磐石市', '磐石', '126.05993', '42.942474', 3, 0, 1), (220300, 220000, '四平市', '四平', '124.37079', '43.170345', 2, 0, 1), (220302, 220300, '铁西区', '铁西', '124.36089', '43.17626', 3, 0, 1), (220303, 220300, '铁东区', '铁东', '124.388466', '43.16726', 3, 0, 1), (220322, 220300, '梨树县', '梨树', '124.3358', '43.30831', 3, 0, 1), (220323, 220300, '伊通满族自治县', '伊通', '125.30312', '43.345463', 3, 0, 1), (220382, 220300, '双辽市', '双辽', '123.50528', '43.518276', 3, 0, 1), (220400, 220000, '辽源市', '辽源', '125.14535', '42.90269', 2, 0, 1), (220402, 220400, '龙山区', '龙山', '125.145164', '42.902702', 3, 0, 1), (220403, 220400, '西安区', '西安', '125.15142', '42.920414', 3, 0, 1), (220421, 220400, '东丰县', '东丰', '125.529625', '42.67523', 3, 0, 1), (220422, 220400, '东辽县', '东辽', '124.992', '42.927723', 3, 0, 1), (220500, 220000, '通化市', '通化', '125.9365', '41.721176', 2, 0, 1), (220502, 220500, '东昌区', '东昌', '125.936714', '41.721233', 3, 0, 1), (220503, 220500, '二道江区', '二道江', '126.04599', '41.777565', 3, 0, 1), (220521, 220500, '通化县', '通化', '125.75312', '41.677917', 3, 0, 1), (220523, 220500, '辉南县', '辉南', '126.04282', '42.68346', 3, 0, 1), (220524, 220500, '柳河县', '柳河', '125.74054', '42.281483', 3, 0, 1), (220581, 220500, '梅河口市', '梅河口', '125.68734', '42.530003', 3, 0, 1), (220582, 220500, '集安市', '集安', '126.1862', '41.126274', 3, 0, 1), (220600, 220000, '白山市', '白山', '126.42784', '41.942505', 2, 0, 1), (220602, 220600, '浑江区', '浑江', '126.42803', '41.943066', 3, 0, 1), (220605, 220600, '江源区', '江源', '126.59088', '42.05665', 3, 0, 1), (220621, 220600, '抚松县', '抚松', '127.273796', '42.33264', 3, 0, 1), (220622, 220600, '靖宇县', '靖宇', '126.80839', '42.38969', 3, 0, 1), (220623, 220600, '长白朝鲜族自治县', '长白', '128.20338', '41.41936', 3, 0, 1), (220681, 220600, '临江市', '临江', '126.9193', '41.810688', 3, 0, 1), (220700, 220000, '松原市', '松原', '124.82361', '45.118244', 2, 0, 1), (220702, 220700, '宁江区', '宁江', '124.82785', '45.1765', 3, 0, 1), (220721, 220700, '前郭尔罗斯蒙古族自治县', '前郭', '124.826805', '45.116287', 3, 0, 1), (220722, 220700, '长岭县', '长岭', '123.98518', '44.27658', 3, 0, 1), (220723, 220700, '乾安县', '乾安', '124.02436', '45.006847', 3, 0, 1), (220781, 220700, '扶余市', '扶余', '126.04972', '44.99014', 3, 0, 1), (220800, 220000, '白城市', '白城', '122.84111', '45.619026', 2, 0, 1), (220802, 220800, '洮北区', '洮北', '122.8425', '45.61925', 3, 0, 1), (220821, 220800, '镇赉县', '镇赉', '123.20225', '45.84609', 3, 0, 1), (220822, 220800, '通榆县', '通榆', '123.08855', '44.80915', 3, 0, 1), (220881, 220800, '洮南市', '洮南', '122.783775', '45.33911', 3, 0, 1), (220882, 220800, '大安市', '大安', '124.29151', '45.50765', 3, 0, 1), (222400, 220000, '延边朝鲜族自治州', '延边朝鲜族', '129.51323', '42.904823', 2, 0, 1), (222401, 222400, '延吉市', '延吉', '129.5158', '42.906963', 3, 0, 1), (222402, 222400, '图们市', '图们', '129.8467', '42.96662', 3, 0, 1), (222403, 222400, '敦化市', '敦化', '128.22986', '43.36692', 3, 0, 1), (222404, 222400, '珲春市', '珲春', '130.36578', '42.871056', 3, 0, 1), (222405, 222400, '龙井市', '龙井', '129.42575', '42.77103', 3, 0, 1), (222406, 222400, '和龙市', '和龙', '129.00874', '42.547005', 3, 0, 1), (222424, 222400, '汪清县', '汪清', '129.76616', '43.315426', 3, 0, 1), (222426, 222400, '安图县', '安图', '128.90187', '43.110992', 3, 0, 1), (230000, 0, '黑龙江省', '黑龙江', '126.64246', '45.756966', 1, 0, 1), (230100, 230000, '哈尔滨市', '哈尔滨', '126.64246', '45.756966', 2, 0, 1), (230102, 230100, '道里区', '道里', '126.61253', '45.762035', 3, 0, 1), (230103, 230100, '南岗区', '南岗', '126.6521', '45.75597', 3, 0, 1), (230104, 230100, '道外区', '道外', '126.648834', '45.78454', 3, 0, 1), (230108, 230100, '平房区', '平房', '126.62926', '45.605568', 3, 0, 1), (230109, 230100, '松北区', '松北', '126.563065', '45.814655', 3, 0, 1), (230110, 230100, '香坊区', '香坊', '126.66287', '45.70847', 3, 0, 1), (230111, 230100, '呼兰区', '呼兰', '126.6033', '45.98423', 3, 0, 1), (230112, 230100, '阿城区', '阿城', '126.95717', '45.54774', 3, 0, 1), (230113, 230100, '双城区', '双城', '126.31227', '45.38355', 3, 0, 1), (230123, 230100, '依兰县', '依兰', '129.5656', '46.315105', 3, 0, 1), (230124, 230100, '方正县', '方正', '128.83614', '45.839535', 3, 0, 1), (230125, 230100, '宾县', '宾县', '127.48594', '45.75937', 3, 0, 1), (230126, 230100, '巴彦县', '巴彦', '127.4036', '46.08189', 3, 0, 1), (230127, 230100, '木兰县', '木兰', '128.04268', '45.949825', 3, 0, 1), (230128, 230100, '通河县', '通河', '128.74779', '45.97762', 3, 0, 1), (230129, 230100, '延寿县', '延寿', '128.33188', '45.455647', 3, 0, 1), (230183, 230100, '尚志市', '尚志', '127.96854', '45.214954', 3, 0, 1), (230184, 230100, '五常市', '五常', '127.15759', '44.91942', 3, 0, 1), (230200, 230000, '齐齐哈尔市', '齐齐哈尔', '123.95792', '47.34208', 2, 0, 1), (230202, 230200, '龙沙区', '龙沙', '123.95734', '47.341736', 3, 0, 1), (230203, 230200, '建华区', '建华', '123.95589', '47.354492', 3, 0, 1), (230204, 230200, '铁锋区', '铁锋', '123.97356', '47.3395', 3, 0, 1), (230205, 230200, '昂昂溪区', '昂昂溪', '123.81318', '47.156868', 3, 0, 1), (230206, 230200, '富拉尔基区', '富拉尔基', '123.63887', '47.20697', 3, 0, 1), (230207, 230200, '碾子山区', '碾子山', '122.88797', '47.51401', 3, 0, 1), (230208, 230200, '梅里斯达斡尔族区', '梅里斯达斡尔族', '123.7546', '47.31111', 3, 0, 1), (230221, 230200, '龙江县', '龙江', '123.187225', '47.336388', 3, 0, 1), (230223, 230200, '依安县', '依安', '125.30756', '47.8901', 3, 0, 1), (230224, 230200, '泰来县', '泰来', '123.41953', '46.39233', 3, 0, 1), (230225, 230200, '甘南县', '甘南', '123.506035', '47.91784', 3, 0, 1), (230227, 230200, '富裕县', '富裕', '124.46911', '47.797173', 3, 0, 1), (230229, 230200, '克山县', '克山', '125.87435', '48.034344', 3, 0, 1), (230230, 230200, '克东县', '克东', '126.24909', '48.03732', 3, 0, 1), (230231, 230200, '拜泉县', '拜泉', '126.09191', '47.607365', 3, 0, 1), (230281, 230200, '讷河市', '讷河', '124.88217', '48.481133', 3, 0, 1), (230300, 230000, '鸡西市', '鸡西', '130.97597', '45.300045', 2, 0, 1), (230302, 230300, '鸡冠区', '鸡冠', '130.97438', '45.30034', 3, 0, 1), (230303, 230300, '恒山区', '恒山', '130.91063', '45.21324', 3, 0, 1), (230304, 230300, '滴道区', '滴道', '130.84682', '45.348812', 3, 0, 1), (230305, 230300, '梨树区', '梨树', '130.69778', '45.092194', 3, 0, 1), (230306, 230300, '城子河区', '城子河', '131.0105', '45.33825', 3, 0, 1), (230307, 230300, '麻山区', '麻山', '130.48112', '45.209606', 3, 0, 1), (230321, 230300, '鸡东县', '鸡东', '131.14891', '45.250893', 3, 0, 1), (230381, 230300, '虎林市', '虎林', '132.97388', '45.767986', 3, 0, 1), (230382, 230300, '密山市', '密山', '131.87413', '45.54725', 3, 0, 1), (230400, 230000, '鹤岗市', '鹤岗', '130.27748', '47.332085', 2, 0, 1), (230402, 230400, '向阳区', '向阳', '130.29248', '47.34537', 3, 0, 1), (230403, 230400, '工农区', '工农', '130.27666', '47.331676', 3, 0, 1), (230404, 230400, '南山区', '南山', '130.27553', '47.31324', 3, 0, 1), (230405, 230400, '兴安区', '兴安', '130.23618', '47.25291', 3, 0, 1), (230406, 230400, '东山区', '东山', '130.31714', '47.337383', 3, 0, 1), (230407, 230400, '兴山区', '兴山', '130.30534', '47.35997', 3, 0, 1), (230421, 230400, '萝北县', '萝北', '130.82909', '47.577576', 3, 0, 1), (230422, 230400, '绥滨县', '绥滨', '131.86052', '47.28989', 3, 0, 1), (230500, 230000, '双鸭山市', '双鸭山', '131.1573', '46.64344', 2, 0, 1), (230502, 230500, '尖山区', '尖山', '131.15897', '46.64296', 3, 0, 1), (230503, 230500, '岭东区', '岭东', '131.16368', '46.591076', 3, 0, 1), (230505, 230500, '四方台区', '四方台', '131.33318', '46.594345', 3, 0, 1), (230506, 230500, '宝山区', '宝山', '131.4043', '46.573364', 3, 0, 1), (230521, 230500, '集贤县', '集贤', '131.13933', '46.72898', 3, 0, 1), (230522, 230500, '友谊县', '友谊', '131.81062', '46.775158', 3, 0, 1), (230523, 230500, '宝清县', '宝清', '132.20642', '46.32878', 3, 0, 1), (230524, 230500, '饶河县', '饶河', '134.02116', '46.80129', 3, 0, 1), (230600, 230000, '大庆市', '大庆', '125.11272', '46.590733', 2, 0, 1), (230602, 230600, '萨尔图区', '萨尔图', '125.11464', '46.596355', 3, 0, 1), (230603, 230600, '龙凤区', '龙凤', '125.1458', '46.573948', 3, 0, 1), (230604, 230600, '让胡路区', '让胡路', '124.86834', '46.653255', 3, 0, 1), (230605, 230600, '红岗区', '红岗', '124.88953', '46.40305', 3, 0, 1), (230606, 230600, '大同区', '大同', '124.81851', '46.034306', 3, 0, 1), (230621, 230600, '肇州县', '肇州', '125.273254', '45.708687', 3, 0, 1), (230622, 230600, '肇源县', '肇源', '125.08197', '45.518833', 3, 0, 1), (230623, 230600, '林甸县', '林甸', '124.87774', '47.186413', 3, 0, 1), (230624, 230600, '杜尔伯特蒙古族自治县', '杜尔伯特', '124.44626', '46.865974', 3, 0, 1), (230700, 230000, '伊春市', '伊春', '128.8994', '47.724773', 2, 0, 1), (230717, 230700, '伊美区', '伊美', '128.907302', '47.728208', 3, 0, 1), (230718, 230700, '乌翠区', '乌翠', '128.66945', '47.726495', 3, 0, 1), (230719, 230700, '友好区', '友好', '128.84071', '47.8538', 3, 0, 1), (230722, 230700, '嘉荫县', '嘉荫', '130.39769', '48.891376', 3, 0, 1), (230723, 230700, '汤旺县', '汤旺', '129.570968', '48.454691', 3, 0, 1), (230724, 230700, '丰林县', '丰林', '129.53362', '48.29045', 3, 0, 1), (230725, 230700, '大箐山县', '大箐山', '129.02057', '47.02834', 3, 0, 1), (230726, 230700, '南岔县', '南岔', '129.28365', '47.13799', 3, 0, 1), (230751, 230700, '金林区', '金林', '129.42899', '47.41303', 3, 0, 1), (230781, 230700, '铁力市', '铁力', '128.03056', '46.98577', 3, 0, 1), (230800, 230000, '佳木斯市', '佳木斯', '130.36163', '46.809605', 2, 0, 1), (230803, 230800, '向阳区', '向阳', '130.36179', '46.809647', 3, 0, 1), (230804, 230800, '前进区', '前进', '130.37769', '46.812344', 3, 0, 1), (230805, 230800, '东风区', '东风', '130.40329', '46.822475', 3, 0, 1), (230811, 230800, '郊区', '郊区', '130.36163', '46.809605', 3, 0, 1), (230822, 230800, '桦南县', '桦南', '130.57011', '46.240116', 3, 0, 1), (230826, 230800, '桦川县', '桦川', '130.72371', '47.02304', 3, 0, 1), (230828, 230800, '汤原县', '汤原', '129.90446', '46.73005', 3, 0, 1), (230881, 230800, '同江市', '同江', '132.51012', '47.65113', 3, 0, 1), (230882, 230800, '富锦市', '富锦', '132.03795', '47.250748', 3, 0, 1), (230883, 230800, '抚远市', '抚远', '134.30795', '48.36485', 3, 0, 1), (230900, 230000, '七台河市', '七台河', '131.01558', '45.771267', 2, 0, 1), (230902, 230900, '新兴区', '新兴', '130.88948', '45.79426', 3, 0, 1), (230903, 230900, '桃山区', '桃山', '131.01585', '45.771217', 3, 0, 1), (230904, 230900, '茄子河区', '茄子河', '131.07156', '45.77659', 3, 0, 1), (230921, 230900, '勃利县', '勃利', '130.57503', '45.75157', 3, 0, 1), (231000, 230000, '牡丹江市', '牡丹江', '129.6186', '44.582962', 2, 0, 1), (231002, 231000, '东安区', '东安', '129.62329', '44.582397', 3, 0, 1), (231003, 231000, '阳明区', '阳明', '129.63464', '44.59633', 3, 0, 1), (231004, 231000, '爱民区', '爱民', '129.60123', '44.595444', 3, 0, 1), (231005, 231000, '西安区', '西安', '129.61311', '44.58103', 3, 0, 1), (231025, 231000, '林口县', '林口', '130.2684', '45.286644', 3, 0, 1), (231081, 231000, '绥芬河市', '绥芬河', '131.16486', '44.396866', 3, 0, 1), (231083, 231000, '海林市', '海林', '129.38791', '44.57415', 3, 0, 1), (231084, 231000, '宁安市', '宁安', '129.47002', '44.346836', 3, 0, 1), (231085, 231000, '穆棱市', '穆棱', '130.52708', '44.91967', 3, 0, 1), (231086, 231000, '东宁市', '东宁', '131.12463', '44.08694', 3, 0, 1), (231100, 230000, '黑河市', '黑河', '127.49902', '50.249584', 2, 0, 1), (231102, 231100, '爱辉区', '爱辉', '127.49764', '50.249027', 3, 0, 1), (231123, 231100, '逊克县', '逊克', '128.47615', '49.582973', 3, 0, 1), (231124, 231100, '孙吴县', '孙吴', '127.32732', '49.423943', 3, 0, 1), (231181, 231100, '北安市', '北安', '126.508736', '48.245438', 3, 0, 1), (231182, 231100, '五大连池市', '五大连池', '126.19769', '48.512688', 3, 0, 1), (231183, 231100, '嫩江市', '嫩江', '125.22094', '49.18572', 3, 0, 1), (231200, 230000, '绥化市', '绥化', '126.99293', '46.637394', 2, 0, 1), (231202, 231200, '北林区', '北林', '126.99066', '46.63491', 3, 0, 1), (231221, 231200, '望奎县', '望奎', '126.48419', '46.83352', 3, 0, 1), (231222, 231200, '兰西县', '兰西', '126.289314', '46.259037', 3, 0, 1), (231223, 231200, '青冈县', '青冈', '126.11227', '46.686596', 3, 0, 1), (231224, 231200, '庆安县', '庆安', '127.510025', '46.879204', 3, 0, 1), (231225, 231200, '明水县', '明水', '125.90755', '47.18353', 3, 0, 1), (231226, 231200, '绥棱县', '绥棱', '127.11112', '47.247196', 3, 0, 1), (231281, 231200, '安达市', '安达', '125.329926', '46.410614', 3, 0, 1), (231282, 231200, '肇东市', '肇东', '125.9914', '46.06947', 3, 0, 1), (231283, 231200, '海伦市', '海伦', '126.96938', '47.460426', 3, 0, 1), (232700, 230000, '大兴安岭地区', '大兴安岭', '124.711525', '52.335262', 2, 0, 1), (232701, 232700, '漠河市', '漠河', '122.53864', '52.97209', 3, 0, 1), (232721, 232700, '呼玛县', '呼玛', '126.6621', '51.726997', 3, 0, 1), (232722, 232700, '塔河县', '塔河', '124.71052', '52.335228', 3, 0, 1), (310000, 0, '上海市', '上海', '121.47264', '31.231707', 1, 0, 1), (310100, 310000, '上海市', '上海', '121.47264', '31.231707', 2, 0, 1), (310101, 310100, '黄浦区', '黄浦', '121.49032', '31.22277', 3, 0, 1), (310104, 310100, '徐汇区', '徐汇', '121.43752', '31.179974', 3, 0, 1), (310105, 310100, '长宁区', '长宁', '121.4222', '31.218122', 3, 0, 1), (310106, 310100, '静安区', '静安', '121.44823', '31.229004', 3, 0, 1), (310107, 310100, '普陀区', '普陀', '121.3925', '31.241701', 3, 0, 1), (310109, 310100, '虹口区', '虹口', '121.49183', '31.26097', 3, 0, 1), (310110, 310100, '杨浦区', '杨浦', '121.5228', '31.270756', 3, 0, 1), (310112, 310100, '闵行区', '闵行', '121.37597', '31.111658', 3, 0, 1), (310113, 310100, '宝山区', '宝山', '121.48994', '31.398895', 3, 0, 1), (310114, 310100, '嘉定区', '嘉定', '121.250336', '31.383524', 3, 0, 1), (310115, 310100, '浦东新区', '浦东', '121.5677', '31.245943', 3, 0, 1), (310116, 310100, '金山区', '金山', '121.330734', '30.724697', 3, 0, 1), (310117, 310100, '松江区', '松江', '121.22354', '31.03047', 3, 0, 1), (310118, 310100, '青浦区', '青浦', '121.11302', '31.151209', 3, 0, 1), (310120, 310100, '奉贤区', '奉贤', '121.45847', '30.912346', 3, 0, 1), (310151, 310100, '崇明区', '崇明', '121.3973', '31.6229', 3, 0, 1), (320000, 0, '江苏省', '江苏', '118.76741', '32.041546', 1, 0, 1), (320100, 320000, '南京市', '南京', '118.76741', '32.041546', 2, 0, 1), (320102, 320100, '玄武区', '玄武', '118.7922', '32.05068', 3, 0, 1), (320104, 320100, '秦淮区', '秦淮', '118.78609', '32.033817', 3, 0, 1), (320105, 320100, '建邺区', '建邺', '118.73269', '32.00454', 3, 0, 1), (320106, 320100, '鼓楼区', '鼓楼', '118.76974', '32.066967', 3, 0, 1), (320111, 320100, '浦口区', '浦口', '118.625305', '32.05839', 3, 0, 1), (320113, 320100, '栖霞区', '栖霞', '118.8087', '32.102146', 3, 0, 1), (320114, 320100, '雨花台区', '雨花台', '118.77207', '31.995947', 3, 0, 1), (320115, 320100, '江宁区', '江宁', '118.850624', '31.953419', 3, 0, 1), (320116, 320100, '六合区', '六合', '118.85065', '32.340656', 3, 0, 1), (320117, 320100, '溧水区', '溧水', '119.0284', '31.651', 3, 0, 1), (320118, 320100, '高淳区', '高淳', '118.8921', '31.32751', 3, 0, 1), (320200, 320000, '无锡市', '无锡', '120.30167', '31.57473', 2, 0, 1), (320205, 320200, '锡山区', '锡山', '120.3573', '31.58556', 3, 0, 1), (320206, 320200, '惠山区', '惠山', '120.30354', '31.681019', 3, 0, 1), (320211, 320200, '滨湖区', '滨湖', '120.26605', '31.550228', 3, 0, 1), (320213, 320200, '梁溪区', '梁溪', '120.30297', '31.56597', 3, 0, 1), (320214, 320200, '新吴区', '新吴', '120.36434', '31.49055', 3, 0, 1), (320281, 320200, '江阴市', '江阴', '120.275894', '31.910984', 3, 0, 1), (320282, 320200, '宜兴市', '宜兴', '119.82054', '31.364384', 3, 0, 1), (320300, 320000, '徐州市', '徐州', '117.184814', '34.26179', 2, 0, 1), (320302, 320300, '鼓楼区', '鼓楼', '117.19294', '34.269398', 3, 0, 1), (320303, 320300, '云龙区', '云龙', '117.19459', '34.254807', 3, 0, 1), (320305, 320300, '贾汪区', '贾汪', '117.45021', '34.441643', 3, 0, 1), (320311, 320300, '泉山区', '泉山', '117.18223', '34.26225', 3, 0, 1), (320312, 320300, '铜山区', '铜山', '117.16898', '34.18044', 3, 0, 1), (320321, 320300, '丰县', '丰县', '116.59289', '34.696945', 3, 0, 1), (320322, 320300, '沛县', '沛县', '116.93718', '34.729046', 3, 0, 1), (320324, 320300, '睢宁县', '睢宁', '117.95066', '33.899223', 3, 0, 1), (320381, 320300, '新沂市', '新沂', '118.345825', '34.36878', 3, 0, 1), (320382, 320300, '邳州市', '邳州', '117.96392', '34.31471', 3, 0, 1), (320400, 320000, '常州市', '常州', '119.946976', '31.772753', 2, 0, 1), (320402, 320400, '天宁区', '天宁', '119.96378', '31.779633', 3, 0, 1), (320404, 320400, '钟楼区', '钟楼', '119.94839', '31.78096', 3, 0, 1), (320411, 320400, '新北区', '新北', '119.974655', '31.824663', 3, 0, 1), (320412, 320400, '武进区', '武进', '119.95877', '31.718567', 3, 0, 1), (320413, 320400, '金坛区', '金坛', '119.59794', '31.72322', 3, 0, 1), (320481, 320400, '溧阳市', '溧阳', '119.487816', '31.42708', 3, 0, 1), (320500, 320000, '苏州市', '苏州', '120.61958', '31.29938', 2, 0, 1), (320505, 320500, '虎丘区', '虎丘', '120.56683', '31.294846', 3, 0, 1), (320506, 320500, '吴中区', '吴中', '120.62462', '31.27084', 3, 0, 1), (320507, 320500, '相城区', '相城', '120.61896', '31.396685', 3, 0, 1), (320508, 320500, '姑苏区', '姑苏', '120.622246', '31.311415', 3, 0, 1), (320509, 320500, '吴江区', '吴江', '120.64517', '31.13914', 3, 0, 1), (320581, 320500, '常熟市', '常熟', '120.74852', '31.658155', 3, 0, 1), (320582, 320500, '张家港市', '张家港', '120.54344', '31.865553', 3, 0, 1), (320583, 320500, '昆山市', '昆山', '120.95814', '31.381926', 3, 0, 1), (320585, 320500, '太仓市', '太仓', '121.112274', '31.452568', 3, 0, 1), (320600, 320000, '南通市', '南通', '120.86461', '32.016212', 2, 0, 1), (320602, 320600, '崇川区', '崇川', '120.86635', '32.015278', 3, 0, 1), (320611, 320600, '港闸区', '港闸', '120.8339', '32.0403', 3, 0, 1), (320612, 320600, '通州区', '通州', '121.07317', '32.084286', 3, 0, 1), (320623, 320600, '如东县', '如东', '121.18609', '32.311832', 3, 0, 1), (320681, 320600, '启东市', '启东', '121.65972', '31.810158', 3, 0, 1), (320682, 320600, '如皋市', '如皋', '120.56632', '32.39159', 3, 0, 1), (320684, 320600, '海门市', '海门', '121.176605', '31.893528', 3, 0, 1), (320685, 320600, '海安市', '海安', '120.46759', '32.53308', 3, 0, 1), (320700, 320000, '连云港市', '连云港', '119.17882', '34.600018', 2, 0, 1), (320703, 320700, '连云区', '连云', '119.366486', '34.73953', 3, 0, 1), (320706, 320700, '海州区', '海州', '119.137146', '34.57129', 3, 0, 1), (320707, 320700, '赣榆区', '赣榆', '119.1773', '34.84065', 3, 0, 1), (320722, 320700, '东海县', '东海', '118.76649', '34.522858', 3, 0, 1), (320723, 320700, '灌云县', '灌云', '119.25574', '34.298435', 3, 0, 1), (320724, 320700, '灌南县', '灌南', '119.35233', '34.092552', 3, 0, 1), (320800, 320000, '淮安市', '淮安', '119.02126', '33.597507', 2, 0, 1), (320803, 320800, '淮安区', '淮安', '119.14634', '33.5075', 3, 0, 1), (320804, 320800, '淮阴区', '淮阴', '119.02082', '33.62245', 3, 0, 1), (320812, 320800, '清江浦区', '清江浦', '119.02662', '33.55308', 3, 0, 1), (320813, 320800, '洪泽区', '洪泽', '118.8735', '33.29433', 3, 0, 1), (320826, 320800, '涟水县', '涟水', '119.266075', '33.77131', 3, 0, 1), (320830, 320800, '盱眙县', '盱眙', '118.49382', '33.00439', 3, 0, 1), (320831, 320800, '金湖县', '金湖', '119.01694', '33.01816', 3, 0, 1), (320900, 320000, '盐城市', '盐城', '120.14', '33.377632', 2, 0, 1), (320902, 320900, '亭湖区', '亭湖', '120.13608', '33.38391', 3, 0, 1), (320903, 320900, '盐都区', '盐都', '120.139755', '33.34129', 3, 0, 1), (320904, 320900, '大丰区', '大丰', '120.50102', '33.20107', 3, 0, 1), (320921, 320900, '响水县', '响水', '119.579575', '34.19996', 3, 0, 1), (320922, 320900, '滨海县', '滨海', '119.82844', '33.989887', 3, 0, 1), (320923, 320900, '阜宁县', '阜宁', '119.805336', '33.78573', 3, 0, 1), (320924, 320900, '射阳县', '射阳', '120.25745', '33.77378', 3, 0, 1), (320925, 320900, '建湖县', '建湖', '119.793106', '33.472622', 3, 0, 1), (320981, 320900, '东台市', '东台', '120.3141', '32.853172', 3, 0, 1), (321000, 320000, '扬州市', '扬州', '119.421005', '32.393158', 2, 0, 1), (321002, 321000, '广陵区', '广陵', '119.44227', '32.392155', 3, 0, 1), (321003, 321000, '邗江区', '邗江', '119.39777', '32.3779', 3, 0, 1), (321012, 321000, '江都区', '江都', '119.57006', '32.43458', 3, 0, 1), (321023, 321000, '宝应县', '宝应', '119.32128', '33.23694', 3, 0, 1), (321081, 321000, '仪征市', '仪征', '119.18244', '32.271965', 3, 0, 1), (321084, 321000, '高邮市', '高邮', '119.44384', '32.785164', 3, 0, 1), (321100, 320000, '镇江市', '镇江', '119.45275', '32.204403', 2, 0, 1), (321102, 321100, '京口区', '京口', '119.454575', '32.206192', 3, 0, 1), (321111, 321100, '润州区', '润州', '119.41488', '32.2135', 3, 0, 1), (321112, 321100, '丹徒区', '丹徒', '119.43388', '32.12897', 3, 0, 1), (321181, 321100, '丹阳市', '丹阳', '119.58191', '31.991459', 3, 0, 1), (321182, 321100, '扬中市', '扬中', '119.82806', '32.237267', 3, 0, 1), (321183, 321100, '句容市', '句容', '119.16714', '31.947355', 3, 0, 1), (321200, 320000, '泰州市', '泰州', '119.91518', '32.484882', 2, 0, 1), (321202, 321200, '海陵区', '海陵', '119.92019', '32.488407', 3, 0, 1), (321203, 321200, '高港区', '高港', '119.88166', '32.3157', 3, 0, 1), (321204, 321200, '姜堰区', '姜堰', '120.12673', '32.50879', 3, 0, 1), (321281, 321200, '兴化市', '兴化', '119.840164', '32.938065', 3, 0, 1), (321282, 321200, '靖江市', '靖江', '120.26825', '32.01817', 3, 0, 1), (321283, 321200, '泰兴市', '泰兴', '120.020226', '32.168785', 3, 0, 1), (321300, 320000, '宿迁市', '宿迁', '118.27516', '33.96301', 2, 0, 1), (321302, 321300, '宿城区', '宿城', '118.278984', '33.937725', 3, 0, 1), (321311, 321300, '宿豫区', '宿豫', '118.33001', '33.94107', 3, 0, 1), (321322, 321300, '沭阳县', '沭阳', '118.77589', '34.129097', 3, 0, 1), (321323, 321300, '泗阳县', '泗阳', '118.68128', '33.711433', 3, 0, 1), (321324, 321300, '泗洪县', '泗洪', '118.21182', '33.45654', 3, 0, 1), (330000, 0, '浙江省', '浙江', '120.15358', '30.287458', 1, 0, 1), (330100, 330000, '杭州市', '杭州', '120.15358', '30.287458', 2, 0, 1), (330102, 330100, '上城区', '上城', '120.17146', '30.250237', 3, 0, 1), (330103, 330100, '下城区', '下城', '120.17276', '30.276272', 3, 0, 1), (330104, 330100, '江干区', '江干', '120.20264', '30.266603', 3, 0, 1), (330105, 330100, '拱墅区', '拱墅', '120.150055', '30.314697', 3, 0, 1), (330106, 330100, '西湖区', '西湖', '120.14738', '30.272934', 3, 0, 1), (330108, 330100, '滨江区', '滨江', '120.21062', '30.206615', 3, 0, 1), (330109, 330100, '萧山区', '萧山', '120.27069', '30.162931', 3, 0, 1), (330110, 330100, '余杭区', '余杭', '120.301735', '30.421186', 3, 0, 1), (330111, 330100, '富阳区', '富阳', '119.96043', '30.04885', 3, 0, 1), (330112, 330100, '临安区', '临安', '119.7248', '30.23383', 3, 0, 1), (330122, 330100, '桐庐县', '桐庐', '119.68504', '29.797438', 3, 0, 1), (330127, 330100, '淳安县', '淳安', '119.04427', '29.604177', 3, 0, 1), (330182, 330100, '建德市', '建德', '119.27909', '29.472284', 3, 0, 1), (330200, 330000, '宁波市', '宁波', '121.54979', '29.868387', 2, 0, 1), (330203, 330200, '海曙区', '海曙', '121.539696', '29.874453', 3, 0, 1), (330205, 330200, '江北区', '江北', '121.55928', '29.888361', 3, 0, 1), (330206, 330200, '北仑区', '北仑', '121.83131', '29.90944', 3, 0, 1), (330211, 330200, '镇海区', '镇海', '121.713165', '29.952106', 3, 0, 1), (330212, 330200, '鄞州区', '鄞州', '121.55843', '29.831661', 3, 0, 1), (330213, 330200, '奉化区', '奉化', '121.40686', '29.65503', 3, 0, 1), (330225, 330200, '象山县', '象山', '121.87709', '29.470205', 3, 0, 1), (330226, 330200, '宁海县', '宁海', '121.43261', '29.299835', 3, 0, 1), (330281, 330200, '余姚市', '余姚', '121.156296', '30.045404', 3, 0, 1), (330282, 330200, '慈溪市', '慈溪', '121.248055', '30.177141', 3, 0, 1), (330300, 330000, '温州市', '温州', '120.67211', '28.000574', 2, 0, 1), (330302, 330300, '鹿城区', '鹿城', '120.67423', '28.003351', 3, 0, 1), (330303, 330300, '龙湾区', '龙湾', '120.763466', '27.970255', 3, 0, 1), (330304, 330300, '瓯海区', '瓯海', '120.637146', '28.006445', 3, 0, 1), (330305, 330300, '洞头区', '洞头', '121.1572', '27.83616', 3, 0, 1), (330324, 330300, '永嘉县', '永嘉', '120.69097', '28.153887', 3, 0, 1), (330326, 330300, '平阳县', '平阳', '120.564384', '27.6693', 3, 0, 1), (330327, 330300, '苍南县', '苍南', '120.40626', '27.507744', 3, 0, 1), (330328, 330300, '文成县', '文成', '120.09245', '27.789133', 3, 0, 1), (330329, 330300, '泰顺县', '泰顺', '119.71624', '27.557308', 3, 0, 1), (330381, 330300, '瑞安市', '瑞安', '120.64617', '27.779322', 3, 0, 1), (330382, 330300, '乐清市', '乐清', '120.96715', '28.116083', 3, 0, 1), (330383, 330300, '龙港市', '龙港', '120.553102', '27.578205', 3, 0, 1), (330400, 330000, '嘉兴市', '嘉兴', '120.75086', '30.762653', 2, 0, 1), (330402, 330400, '南湖区', '南湖', '120.749954', '30.764652', 3, 0, 1), (330411, 330400, '秀洲区', '秀洲', '120.72043', '30.763323', 3, 0, 1), (330421, 330400, '嘉善县', '嘉善', '120.92187', '30.841352', 3, 0, 1), (330424, 330400, '海盐县', '海盐', '120.94202', '30.522223', 3, 0, 1), (330481, 330400, '海宁市', '海宁', '120.68882', '30.525543', 3, 0, 1), (330482, 330400, '平湖市', '平湖', '121.01466', '30.698921', 3, 0, 1), (330483, 330400, '桐乡市', '桐乡', '120.55109', '30.629065', 3, 0, 1), (330500, 330000, '湖州市', '湖州', '120.1024', '30.867199', 2, 0, 1), (330502, 330500, '吴兴区', '吴兴', '120.10142', '30.867252', 3, 0, 1), (330503, 330500, '南浔区', '南浔', '120.4172', '30.872742', 3, 0, 1), (330521, 330500, '德清县', '德清', '119.96766', '30.534927', 3, 0, 1), (330522, 330500, '长兴县', '长兴', '119.910126', '31.00475', 3, 0, 1), (330523, 330500, '安吉县', '安吉', '119.68789', '30.631973', 3, 0, 1), (330600, 330000, '绍兴市', '绍兴', '120.582115', '29.997116', 2, 0, 1), (330602, 330600, '越城区', '越城', '120.58531', '29.996992', 3, 0, 1), (330603, 330600, '柯桥区', '柯桥', '120.49476', '30.08189', 3, 0, 1), (330604, 330600, '上虞区', '上虞', '120.86858', '30.03227', 3, 0, 1), (330624, 330600, '新昌县', '新昌', '120.90566', '29.501205', 3, 0, 1), (330681, 330600, '诸暨市', '诸暨', '120.24432', '29.713661', 3, 0, 1), (330683, 330600, '嵊州市', '嵊州', '120.82888', '29.586605', 3, 0, 1), (330700, 330000, '金华市', '金华', '119.649506', '29.089523', 2, 0, 1), (330702, 330700, '婺城区', '婺城', '119.65258', '29.082607', 3, 0, 1), (330703, 330700, '金东区', '金东', '119.68127', '29.095835', 3, 0, 1), (330723, 330700, '武义县', '武义', '119.81916', '28.896563', 3, 0, 1), (330726, 330700, '浦江县', '浦江', '119.893364', '29.451254', 3, 0, 1), (330727, 330700, '磐安县', '磐安', '120.44513', '29.052628', 3, 0, 1), (330781, 330700, '兰溪市', '兰溪', '119.46052', '29.210066', 3, 0, 1), (330782, 330700, '义乌市', '义乌', '120.07491', '29.306864', 3, 0, 1), (330783, 330700, '东阳市', '东阳', '120.23334', '29.262547', 3, 0, 1), (330784, 330700, '永康市', '永康', '120.03633', '28.895292', 3, 0, 1), (330800, 330000, '衢州市', '衢州', '118.87263', '28.941708', 2, 0, 1), (330802, 330800, '柯城区', '柯城', '118.87304', '28.944538', 3, 0, 1), (330803, 330800, '衢江区', '衢江', '118.95768', '28.973194', 3, 0, 1), (330822, 330800, '常山县', '常山', '118.52165', '28.90004', 3, 0, 1), (330824, 330800, '开化县', '开化', '118.41444', '29.136503', 3, 0, 1), (330825, 330800, '龙游县', '龙游', '119.17252', '29.031364', 3, 0, 1), (330881, 330800, '江山市', '江山', '118.62788', '28.734674', 3, 0, 1), (330900, 330000, '舟山市', '舟山', '122.106865', '30.016027', 2, 0, 1), (330902, 330900, '定海区', '定海', '122.1085', '30.016422', 3, 0, 1), (330903, 330900, '普陀区', '普陀', '122.301956', '29.945614', 3, 0, 1), (330921, 330900, '岱山县', '岱山', '122.20113', '30.242865', 3, 0, 1), (330922, 330900, '嵊泗县', '嵊泗', '122.45781', '30.727165', 3, 0, 1), (331000, 330000, '台州市', '台州', '121.4286', '28.661379', 2, 0, 1), (331002, 331000, '椒江区', '椒江', '121.431046', '28.67615', 3, 0, 1), (331003, 331000, '黄岩区', '黄岩', '121.26214', '28.64488', 3, 0, 1), (331004, 331000, '路桥区', '路桥', '121.37292', '28.581799', 3, 0, 1), (331022, 331000, '三门县', '三门', '121.37643', '29.118956', 3, 0, 1), (331023, 331000, '天台县', '天台', '121.03123', '29.141127', 3, 0, 1), (331024, 331000, '仙居县', '仙居', '120.73508', '28.849213', 3, 0, 1), (331081, 331000, '温岭市', '温岭', '121.37361', '28.36878', 3, 0, 1), (331082, 331000, '临海市', '临海', '121.131226', '28.845442', 3, 0, 1), (331083, 331000, '玉环市', '玉环', '121.23164', '28.13589', 3, 0, 1), (331100, 330000, '丽水市', '丽水', '119.92178', '28.451994', 2, 0, 1), (331102, 331100, '莲都区', '莲都', '119.922295', '28.451103', 3, 0, 1), (331121, 331100, '青田县', '青田', '120.29194', '28.135246', 3, 0, 1), (331122, 331100, '缙云县', '缙云', '120.078964', '28.654207', 3, 0, 1), (331123, 331100, '遂昌县', '遂昌', '119.27589', '28.5924', 3, 0, 1), (331124, 331100, '松阳县', '松阳', '119.48529', '28.449938', 3, 0, 1), (331125, 331100, '云和县', '云和', '119.56946', '28.111076', 3, 0, 1), (331126, 331100, '庆元县', '庆元', '119.06723', '27.61823', 3, 0, 1), (331127, 331100, '景宁畲族自治县', '景宁', '119.63467', '27.977247', 3, 0, 1), (331181, 331100, '龙泉市', '龙泉', '119.13232', '28.069178', 3, 0, 1), (340000, 0, '安徽省', '安徽', '117.28304', '31.86119', 1, 0, 1), (340100, 340000, '合肥市', '合肥', '117.28304', '31.86119', 2, 0, 1), (340102, 340100, '瑶海区', '瑶海', '117.31536', '31.86961', 3, 0, 1), (340103, 340100, '庐阳区', '庐阳', '117.283775', '31.86901', 3, 0, 1), (340104, 340100, '蜀山区', '蜀山', '117.26207', '31.855867', 3, 0, 1), (340111, 340100, '包河区', '包河', '117.28575', '31.82956', 3, 0, 1), (340121, 340100, '长丰县', '长丰', '117.164696', '32.478546', 3, 0, 1), (340122, 340100, '肥东县', '肥东', '117.46322', '31.883991', 3, 0, 1), (340123, 340100, '肥西县', '肥西', '117.166115', '31.719646', 3, 0, 1), (340124, 340100, '庐江县', '庐江', '117.28736', '31.25567', 3, 0, 1), (340181, 340100, '巢湖市', '巢湖', '117.88937', '31.62329', 3, 0, 1), (340200, 340000, '芜湖市', '芜湖', '118.37645', '31.326319', 2, 0, 1), (340202, 340200, '镜湖区', '镜湖', '118.37634', '31.32559', 3, 0, 1), (340207, 340200, '鸠江区', '鸠江', '118.40018', '31.362717', 3, 0, 1), (340209, 340200, '弋江区', '弋江', '', '', 3, 0, 1), (340210, 340200, '湾沚区', '湾沚', '', '', 3, 0, 1), (340211, 340200, '繁昌区', '繁昌', '', '', 3, 0, 1), (340223, 340200, '南陵县', '南陵', '118.337105', '30.919638', 3, 0, 1), (340281, 340200, '无为市', '无为', '117.90224', '31.30317', 3, 0, 1), (340300, 340000, '蚌埠市', '蚌埠', '117.36323', '32.939667', 2, 0, 1), (340302, 340300, '龙子湖区', '龙子湖', '117.38231', '32.95045', 3, 0, 1), (340303, 340300, '蚌山区', '蚌山', '117.35579', '32.938065', 3, 0, 1), (340304, 340300, '禹会区', '禹会', '117.35259', '32.931934', 3, 0, 1), (340311, 340300, '淮上区', '淮上', '117.34709', '32.963146', 3, 0, 1), (340321, 340300, '怀远县', '怀远', '117.20017', '32.956936', 3, 0, 1), (340322, 340300, '五河县', '五河', '117.88881', '33.146202', 3, 0, 1), (340323, 340300, '固镇县', '固镇', '117.31596', '33.31868', 3, 0, 1), (340400, 340000, '淮南市', '淮南', '117.018326', '32.647575', 2, 0, 1), (340402, 340400, '大通区', '大通', '117.052925', '32.632065', 3, 0, 1), (340403, 340400, '田家庵区', '田家庵', '117.01832', '32.64434', 3, 0, 1), (340404, 340400, '谢家集区', '谢家集', '116.86536', '32.59829', 3, 0, 1), (340405, 340400, '八公山区', '八公山', '116.84111', '32.628227', 3, 0, 1), (340406, 340400, '潘集区', '潘集', '116.81688', '32.782116', 3, 0, 1), (340421, 340400, '凤台县', '凤台', '116.72277', '32.705383', 3, 0, 1), (340422, 340400, '寿县', '寿县', '116.78708', '32.57332', 3, 0, 1), (340500, 340000, '马鞍山市', '马鞍山', '118.507904', '31.689362', 2, 0, 1), (340503, 340500, '花山区', '花山', '118.51131', '31.69902', 3, 0, 1), (340504, 340500, '雨山区', '雨山', '118.4931', '31.685911', 3, 0, 1), (340506, 340500, '博望区', '博望', '118.84374', '31.56232', 3, 0, 1), (340521, 340500, '当涂县', '当涂', '118.489876', '31.556168', 3, 0, 1), (340522, 340500, '含山县', '含山', '118.10241', '31.73358', 3, 0, 1), (340523, 340500, '和县', '和县', '118.35145', '31.74423', 3, 0, 1), (340600, 340000, '淮北市', '淮北', '116.79466', '33.971706', 2, 0, 1), (340602, 340600, '杜集区', '杜集', '116.83392', '33.99122', 3, 0, 1), (340603, 340600, '相山区', '相山', '116.79077', '33.970917', 3, 0, 1), (340604, 340600, '烈山区', '烈山', '116.80946', '33.88953', 3, 0, 1), (340621, 340600, '濉溪县', '濉溪', '116.76743', '33.91641', 3, 0, 1), (340700, 340000, '铜陵市', '铜陵', '117.816574', '30.929935', 2, 0, 1), (340705, 340700, '铜官区', '铜官', '117.87431', '30.95614', 3, 0, 1), (340706, 340700, '义安区', '义安', '117.79147', '30.95271', 3, 0, 1), (340711, 340700, '郊区', '郊区', '117.816574', '30.929935', 3, 0, 1), (340722, 340700, '枞阳县', '枞阳', '117.22019', '30.69961', 3, 0, 1), (340800, 340000, '安庆市', '安庆', '117.04355', '30.50883', 2, 0, 1), (340802, 340800, '迎江区', '迎江', '117.04497', '30.506374', 3, 0, 1), (340803, 340800, '大观区', '大观', '117.034515', '30.505632', 3, 0, 1), (340811, 340800, '宜秀区', '宜秀', '117.07', '30.541323', 3, 0, 1), (340822, 340800, '怀宁县', '怀宁', '116.82867', '30.734995', 3, 0, 1), (340825, 340800, '太湖县', '太湖', '116.30522', '30.451868', 3, 0, 1), (340826, 340800, '宿松县', '宿松', '116.1202', '30.158327', 3, 0, 1), (340827, 340800, '望江县', '望江', '116.690926', '30.12491', 3, 0, 1), (340828, 340800, '岳西县', '岳西', '116.36048', '30.848501', 3, 0, 1), (340881, 340800, '桐城市', '桐城', '116.959656', '31.050575', 3, 0, 1), (340882, 340800, '潜山市', '潜山', '116.58133', '30.63107', 3, 0, 1), (341000, 340000, '黄山市', '黄山', '118.31732', '29.709238', 2, 0, 1), (341002, 341000, '屯溪区', '屯溪', '118.31735', '29.709187', 3, 0, 1), (341003, 341000, '黄山区', '黄山', '118.13664', '30.294518', 3, 0, 1), (341004, 341000, '徽州区', '徽州', '118.339745', '29.825201', 3, 0, 1), (341021, 341000, '歙县', '歙县', '118.428024', '29.867748', 3, 0, 1), (341022, 341000, '休宁县', '休宁', '118.18853', '29.788877', 3, 0, 1), (341023, 341000, '黟县', '黟县', '117.94291', '29.923813', 3, 0, 1), (341024, 341000, '祁门县', '祁门', '117.71724', '29.853472', 3, 0, 1), (341100, 340000, '滁州市', '滁州', '118.31626', '32.303627', 2, 0, 1), (341102, 341100, '琅琊区', '琅琊', '118.316475', '32.3038', 3, 0, 1), (341103, 341100, '南谯区', '南谯', '118.29695', '32.32984', 3, 0, 1), (341122, 341100, '来安县', '来安', '118.4333', '32.45023', 3, 0, 1), (341124, 341100, '全椒县', '全椒', '118.26858', '32.09385', 3, 0, 1), (341125, 341100, '定远县', '定远', '117.683716', '32.527103', 3, 0, 1), (341126, 341100, '凤阳县', '凤阳', '117.56246', '32.867146', 3, 0, 1), (341181, 341100, '天长市', '天长', '119.011215', '32.6815', 3, 0, 1), (341182, 341100, '明光市', '明光', '117.99805', '32.781204', 3, 0, 1), (341200, 340000, '阜阳市', '阜阳', '115.81973', '32.89697', 2, 0, 1), (341202, 341200, '颍州区', '颍州', '115.81391', '32.89124', 3, 0, 1), (341203, 341200, '颍东区', '颍东', '115.85875', '32.90886', 3, 0, 1), (341204, 341200, '颍泉区', '颍泉', '115.80453', '32.924797', 3, 0, 1), (341221, 341200, '临泉县', '临泉', '115.26169', '33.0627', 3, 0, 1), (341222, 341200, '太和县', '太和', '115.62724', '33.16229', 3, 0, 1), (341225, 341200, '阜南县', '阜南', '115.59053', '32.638103', 3, 0, 1), (341226, 341200, '颍上县', '颍上', '116.259125', '32.637066', 3, 0, 1), (341282, 341200, '界首市', '界首', '115.362114', '33.26153', 3, 0, 1), (341300, 340000, '宿州市', '宿州', '116.984085', '33.633892', 2, 0, 1), (341302, 341300, '埇桥区', '埇桥', '116.98331', '33.633854', 3, 0, 1), (341321, 341300, '砀山县', '砀山', '116.35111', '34.426247', 3, 0, 1), (341322, 341300, '萧县', '萧县', '116.9454', '34.183266', 3, 0, 1), (341323, 341300, '灵璧县', '灵璧', '117.55149', '33.54063', 3, 0, 1), (341324, 341300, '泗县', '泗县', '117.885445', '33.47758', 3, 0, 1), (341500, 340000, '六安市', '六安', '116.507675', '31.75289', 2, 0, 1), (341502, 341500, '金安区', '金安', '116.50329', '31.754492', 3, 0, 1), (341503, 341500, '裕安区', '裕安', '116.494545', '31.750692', 3, 0, 1), (341504, 341500, '叶集区', '叶集', '115.9133', '31.85122', 3, 0, 1), (341522, 341500, '霍邱县', '霍邱', '116.27888', '32.341305', 3, 0, 1), (341523, 341500, '舒城县', '舒城', '116.94409', '31.462849', 3, 0, 1), (341524, 341500, '金寨县', '金寨', '115.87852', '31.681623', 3, 0, 1), (341525, 341500, '霍山县', '霍山', '116.33308', '31.402456', 3, 0, 1), (341600, 340000, '亳州市', '亳州', '115.782936', '33.86934', 2, 0, 1), (341602, 341600, '谯城区', '谯城', '115.78121', '33.869286', 3, 0, 1), (341621, 341600, '涡阳县', '涡阳', '116.21155', '33.50283', 3, 0, 1), (341622, 341600, '蒙城县', '蒙城', '116.56033', '33.260815', 3, 0, 1), (341623, 341600, '利辛县', '利辛', '116.20778', '33.1435', 3, 0, 1), (341700, 340000, '池州市', '池州', '117.48916', '30.656036', 2, 0, 1), (341702, 341700, '贵池区', '贵池', '117.48834', '30.657377', 3, 0, 1), (341721, 341700, '东至县', '东至', '117.02148', '30.096567', 3, 0, 1), (341722, 341700, '石台县', '石台', '117.48291', '30.210323', 3, 0, 1), (341723, 341700, '青阳县', '青阳', '117.85739', '30.63818', 3, 0, 1), (341800, 340000, '宣城市', '宣城', '118.757996', '30.945667', 2, 0, 1), (341802, 341800, '宣州区', '宣州', '118.758415', '30.946003', 3, 0, 1), (341821, 341800, '郎溪县', '郎溪', '119.18502', '31.127834', 3, 0, 1), (341823, 341800, '泾县', '泾县', '118.4124', '30.685974', 3, 0, 1), (341824, 341800, '绩溪县', '绩溪', '118.5947', '30.065268', 3, 0, 1), (341825, 341800, '旌德县', '旌德', '118.54308', '30.288057', 3, 0, 1), (341881, 341800, '宁国市', '宁国', '118.983406', '30.62653', 3, 0, 1), (341882, 341800, '广德市', '广德', '119.41705', '30.8938', 3, 0, 1), (350000, 0, '福建省', '福建', '119.30624', '26.075302', 1, 0, 1), (350100, 350000, '福州市', '福州', '119.30624', '26.075302', 2, 0, 1), (350102, 350100, '鼓楼区', '鼓楼', '119.29929', '26.082285', 3, 0, 1), (350103, 350100, '台江区', '台江', '119.31016', '26.058617', 3, 0, 1), (350104, 350100, '仓山区', '仓山', '119.32099', '26.038912', 3, 0, 1), (350105, 350100, '马尾区', '马尾', '119.458725', '25.991976', 3, 0, 1), (350111, 350100, '晋安区', '晋安', '119.3286', '26.078836', 3, 0, 1), (350112, 350100, '长乐区', '长乐', '119.52324', '25.96283', 3, 0, 1), (350121, 350100, '闽侯县', '闽侯', '119.14512', '26.148567', 3, 0, 1), (350122, 350100, '连江县', '连江', '119.53837', '26.202108', 3, 0, 1), (350123, 350100, '罗源县', '罗源', '119.55264', '26.487234', 3, 0, 1), (350124, 350100, '闽清县', '闽清', '118.868416', '26.223793', 3, 0, 1), (350125, 350100, '永泰县', '永泰', '118.93909', '25.864824', 3, 0, 1), (350128, 350100, '平潭县', '平潭', '119.7912', '25.503672', 3, 0, 1), (350181, 350100, '福清市', '福清', '119.37699', '25.720402', 3, 0, 1), (350200, 350000, '厦门市', '厦门', '118.11022', '24.490475', 2, 0, 1), (350203, 350200, '思明区', '思明', '118.08783', '24.462059', 3, 0, 1), (350205, 350200, '海沧区', '海沧', '118.03636', '24.492512', 3, 0, 1), (350206, 350200, '湖里区', '湖里', '118.10943', '24.512764', 3, 0, 1), (350211, 350200, '集美区', '集美', '118.10087', '24.572874', 3, 0, 1), (350212, 350200, '同安区', '同安', '118.15045', '24.729334', 3, 0, 1), (350213, 350200, '翔安区', '翔安', '118.24281', '24.63748', 3, 0, 1), (350300, 350000, '莆田市', '莆田', '119.00756', '25.431011', 2, 0, 1), (350302, 350300, '城厢区', '城厢', '119.00103', '25.433737', 3, 0, 1), (350303, 350300, '涵江区', '涵江', '119.1191', '25.459272', 3, 0, 1), (350304, 350300, '荔城区', '荔城', '119.02005', '25.430046', 3, 0, 1), (350305, 350300, '秀屿区', '秀屿', '119.092606', '25.316141', 3, 0, 1), (350322, 350300, '仙游县', '仙游', '118.69433', '25.35653', 3, 0, 1), (350400, 350000, '三明市', '三明', '117.635', '26.265444', 2, 0, 1), (350402, 350400, '梅列区', '梅列', '117.63687', '26.269209', 3, 0, 1), (350403, 350400, '三元区', '三元', '117.607414', '26.234192', 3, 0, 1), (350421, 350400, '明溪县', '明溪', '117.20184', '26.357374', 3, 0, 1), (350423, 350400, '清流县', '清流', '116.81582', '26.17761', 3, 0, 1), (350424, 350400, '宁化县', '宁化', '116.65972', '26.259932', 3, 0, 1), (350425, 350400, '大田县', '大田', '117.84936', '25.690804', 3, 0, 1), (350426, 350400, '尤溪县', '尤溪', '118.188576', '26.169262', 3, 0, 1), (350427, 350400, '沙县', '沙县', '117.78909', '26.397362', 3, 0, 1), (350428, 350400, '将乐县', '将乐', '117.47356', '26.728666', 3, 0, 1), (350429, 350400, '泰宁县', '泰宁', '117.17752', '26.897995', 3, 0, 1), (350430, 350400, '建宁县', '建宁', '116.84583', '26.831398', 3, 0, 1), (350481, 350400, '永安市', '永安', '117.36445', '25.974075', 3, 0, 1), (350500, 350000, '泉州市', '泉州', '118.589424', '24.908854', 2, 0, 1), (350502, 350500, '鲤城区', '鲤城', '118.58893', '24.907644', 3, 0, 1), (350503, 350500, '丰泽区', '丰泽', '118.60515', '24.896042', 3, 0, 1), (350504, 350500, '洛江区', '洛江', '118.67031', '24.941153', 3, 0, 1), (350505, 350500, '泉港区', '泉港', '118.912285', '25.12686', 3, 0, 1), (350521, 350500, '惠安县', '惠安', '118.79895', '25.028719', 3, 0, 1), (350524, 350500, '安溪县', '安溪', '118.18601', '25.056824', 3, 0, 1), (350525, 350500, '永春县', '永春', '118.29503', '25.32072', 3, 0, 1), (350526, 350500, '德化县', '德化', '118.24299', '25.489004', 3, 0, 1), (350527, 350500, '金门县', '金门', '118.32322', '24.436417', 3, 0, 1), (350581, 350500, '石狮市', '石狮', '118.6284', '24.731977', 3, 0, 1), (350582, 350500, '晋江市', '晋江', '118.57734', '24.807322', 3, 0, 1), (350583, 350500, '南安市', '南安', '118.38703', '24.959494', 3, 0, 1), (350600, 350000, '漳州市', '漳州', '117.661804', '24.510897', 2, 0, 1), (350602, 350600, '芗城区', '芗城', '117.65646', '24.509954', 3, 0, 1), (350603, 350600, '龙文区', '龙文', '117.67139', '24.515656', 3, 0, 1), (350622, 350600, '云霄县', '云霄', '117.34094', '23.950485', 3, 0, 1), (350623, 350600, '漳浦县', '漳浦', '117.61402', '24.117907', 3, 0, 1), (350624, 350600, '诏安县', '诏安', '117.17609', '23.710835', 3, 0, 1), (350625, 350600, '长泰县', '长泰', '117.75591', '24.621475', 3, 0, 1), (350626, 350600, '东山县', '东山', '117.42768', '23.702845', 3, 0, 1), (350627, 350600, '南靖县', '南靖', '117.36546', '24.516424', 3, 0, 1), (350628, 350600, '平和县', '平和', '117.313545', '24.366158', 3, 0, 1), (350629, 350600, '华安县', '华安', '117.53631', '25.001415', 3, 0, 1), (350681, 350600, '龙海市', '龙海', '117.81729', '24.445341', 3, 0, 1), (350700, 350000, '南平市', '南平', '118.17846', '26.635628', 2, 0, 1), (350702, 350700, '延平区', '延平', '118.17892', '26.63608', 3, 0, 1), (350703, 350700, '建阳区', '建阳', '118.120427', '27.331749', 3, 0, 1), (350721, 350700, '顺昌县', '顺昌', '117.80771', '26.79285', 3, 0, 1), (350722, 350700, '浦城县', '浦城', '118.53682', '27.920412', 3, 0, 1), (350723, 350700, '光泽县', '光泽', '117.3379', '27.542803', 3, 0, 1), (350724, 350700, '松溪县', '松溪', '118.78349', '27.525785', 3, 0, 1), (350725, 350700, '政和县', '政和', '118.85866', '27.365398', 3, 0, 1), (350781, 350700, '邵武市', '邵武', '117.49155', '27.337952', 3, 0, 1), (350782, 350700, '武夷山市', '武夷山', '118.0328', '27.751734', 3, 0, 1), (350783, 350700, '建瓯市', '建瓯', '118.32176', '27.03502', 3, 0, 1), (350800, 350000, '龙岩市', '龙岩', '117.02978', '25.091602', 2, 0, 1), (350802, 350800, '新罗区', '新罗', '117.03072', '25.0918', 3, 0, 1), (350803, 350800, '永定区', '永定', '116.73202', '24.72303', 3, 0, 1), (350821, 350800, '长汀县', '长汀', '116.36101', '25.842278', 3, 0, 1), (350823, 350800, '上杭县', '上杭', '116.424774', '25.050018', 3, 0, 1), (350824, 350800, '武平县', '武平', '116.10093', '25.08865', 3, 0, 1), (350825, 350800, '连城县', '连城', '116.75668', '25.708506', 3, 0, 1), (350881, 350800, '漳平市', '漳平', '117.42073', '25.291597', 3, 0, 1), (350900, 350000, '宁德市', '宁德', '119.527084', '26.65924', 2, 0, 1), (350902, 350900, '蕉城区', '蕉城', '119.52722', '26.659252', 3, 0, 1), (350921, 350900, '霞浦县', '霞浦', '120.00521', '26.882069', 3, 0, 1), (350922, 350900, '古田县', '古田', '118.74316', '26.577492', 3, 0, 1), (350923, 350900, '屏南县', '屏南', '118.98754', '26.910826', 3, 0, 1), (350924, 350900, '寿宁县', '寿宁', '119.50674', '27.457798', 3, 0, 1), (350925, 350900, '周宁县', '周宁', '119.33824', '27.103106', 3, 0, 1), (350926, 350900, '柘荣县', '柘荣', '119.898224', '27.236162', 3, 0, 1), (350981, 350900, '福安市', '福安', '119.650795', '27.084246', 3, 0, 1), (350982, 350900, '福鼎市', '福鼎', '120.219765', '27.318884', 3, 0, 1), (360000, 0, '江西省', '江西', '115.89215', '28.676493', 1, 0, 1), (360100, 360000, '南昌市', '南昌', '115.89215', '28.676493', 2, 0, 1), (360102, 360100, '东湖区', '东湖', '115.88967', '28.682987', 3, 0, 1), (360103, 360100, '西湖区', '西湖', '115.91065', '28.6629', 3, 0, 1), (360104, 360100, '青云谱区', '青云谱', '115.907295', '28.635723', 3, 0, 1), (360111, 360100, '青山湖区', '青山湖', '115.94904', '28.689293', 3, 0, 1), (360112, 360100, '新建区', '新建', '115.81529', '28.6925', 3, 0, 1), (360113, 360100, '红谷滩区', '红谷滩', '115.858393', '28.698314', 3, 0, 1), (360121, 360100, '南昌县', '南昌', '115.94247', '28.543781', 3, 0, 1), (360123, 360100, '安义县', '安义', '115.55311', '28.841333', 3, 0, 1), (360124, 360100, '进贤县', '进贤', '116.26767', '28.36568', 3, 0, 1), (360200, 360000, '景德镇市', '景德镇', '117.21466', '29.29256', 2, 0, 1), (360202, 360200, '昌江区', '昌江', '117.19502', '29.288465', 3, 0, 1), (360203, 360200, '珠山区', '珠山', '117.21481', '29.292812', 3, 0, 1), (360222, 360200, '浮梁县', '浮梁', '117.21761', '29.352251', 3, 0, 1), (360281, 360200, '乐平市', '乐平', '117.12938', '28.967361', 3, 0, 1), (360300, 360000, '萍乡市', '萍乡', '113.85219', '27.622946', 2, 0, 1), (360302, 360300, '安源区', '安源', '113.85504', '27.625826', 3, 0, 1), (360313, 360300, '湘东区', '湘东', '113.7456', '27.639318', 3, 0, 1), (360321, 360300, '莲花县', '莲花', '113.95558', '27.127808', 3, 0, 1), (360322, 360300, '上栗县', '上栗', '113.80052', '27.87704', 3, 0, 1), (360323, 360300, '芦溪县', '芦溪', '114.04121', '27.633633', 3, 0, 1), (360400, 360000, '九江市', '九江', '115.99281', '29.712034', 2, 0, 1), (360402, 360400, '濂溪区', '庐山', '115.99012', '29.676174', 3, 0, 1), (360403, 360400, '浔阳区', '浔阳', '115.99595', '29.72465', 3, 0, 1), (360404, 360400, '柴桑区', '柴桑', '115.91135', '29.60855', 3, 0, 1), (360423, 360400, '武宁县', '武宁', '115.105644', '29.260181', 3, 0, 1), (360424, 360400, '修水县', '修水', '114.573425', '29.032728', 3, 0, 1), (360425, 360400, '永修县', '永修', '115.80905', '29.018211', 3, 0, 1), (360426, 360400, '德安县', '德安', '115.76261', '29.327475', 3, 0, 1), (360428, 360400, '都昌县', '都昌', '116.20512', '29.275105', 3, 0, 1), (360429, 360400, '湖口县', '湖口', '116.244316', '29.7263', 3, 0, 1), (360430, 360400, '彭泽县', '彭泽', '116.55584', '29.898865', 3, 0, 1), (360481, 360400, '瑞昌市', '瑞昌', '115.66908', '29.6766', 3, 0, 1), (360482, 360400, '共青城市', '共青城', '115.81477', '29.24955', 3, 0, 1), (360483, 360400, '庐山市', '共青城', '115.80571', '29.247885', 3, 0, 1), (360500, 360000, '新余市', '新余', '114.93083', '27.810835', 2, 0, 1), (360502, 360500, '渝水区', '渝水', '114.92392', '27.819172', 3, 0, 1), (360521, 360500, '分宜县', '分宜', '114.67526', '27.8113', 3, 0, 1), (360600, 360000, '鹰潭市', '鹰潭', '117.03384', '28.238638', 2, 0, 1), (360602, 360600, '月湖区', '月湖', '117.03411', '28.239077', 3, 0, 1), (360603, 360600, '余江区', '余江', '116.81834', '28.20991', 3, 0, 1), (360681, 360600, '贵溪市', '贵溪', '117.212105', '28.283693', 3, 0, 1), (360700, 360000, '赣州市', '赣州', '114.94028', '25.85097', 2, 0, 1), (360702, 360700, '章贡区', '章贡', '114.93872', '25.851368', 3, 0, 1), (360703, 360700, '南康区', '南康', '114.76535', '25.66144', 3, 0, 1), (360704, 360700, '赣县区', '赣县', '115.01161', '25.86076', 3, 0, 1), (360722, 360700, '信丰县', '信丰', '114.93089', '25.38023', 3, 0, 1), (360723, 360700, '大余县', '大余', '114.36224', '25.395937', 3, 0, 1), (360724, 360700, '上犹县', '上犹', '114.540535', '25.794285', 3, 0, 1), (360725, 360700, '崇义县', '崇义', '114.30735', '25.68791', 3, 0, 1), (360726, 360700, '安远县', '安远', '115.39233', '25.13459', 3, 0, 1), (360728, 360700, '定南县', '定南', '115.03267', '24.774277', 3, 0, 1), (360729, 360700, '全南县', '全南', '114.531586', '24.742651', 3, 0, 1), (360730, 360700, '宁都县', '宁都', '116.01878', '26.472054', 3, 0, 1), (360731, 360700, '于都县', '于都', '115.4112', '25.955032', 3, 0, 1), (360732, 360700, '兴国县', '兴国', '115.3519', '26.330488', 3, 0, 1), (360733, 360700, '会昌县', '会昌', '115.79116', '25.599125', 3, 0, 1), (360734, 360700, '寻乌县', '寻乌', '115.6514', '24.954136', 3, 0, 1), (360735, 360700, '石城县', '石城', '116.34225', '26.326582', 3, 0, 1), (360781, 360700, '瑞金市', '瑞金', '116.03485', '25.875278', 3, 0, 1), (360783, 360700, '龙南市', '龙南', '', '', 3, 0, 1), (360800, 360000, '吉安市', '吉安', '114.986374', '27.111698', 2, 0, 1), (360802, 360800, '吉州区', '吉州', '114.98733', '27.112368', 3, 0, 1), (360803, 360800, '青原区', '青原', '115.016304', '27.105879', 3, 0, 1), (360821, 360800, '吉安县', '吉安', '114.90511', '27.040043', 3, 0, 1), (360822, 360800, '吉水县', '吉水', '115.13457', '27.213446', 3, 0, 1), (360823, 360800, '峡江县', '峡江', '115.31933', '27.580862', 3, 0, 1), (360824, 360800, '新干县', '新干', '115.39929', '27.755758', 3, 0, 1), (360825, 360800, '永丰县', '永丰', '115.43556', '27.321087', 3, 0, 1), (360826, 360800, '泰和县', '泰和', '114.90139', '26.790165', 3, 0, 1), (360827, 360800, '遂川县', '遂川', '114.51689', '26.323706', 3, 0, 1), (360828, 360800, '万安县', '万安', '114.78469', '26.462086', 3, 0, 1), (360829, 360800, '安福县', '安福', '114.61384', '27.382746', 3, 0, 1), (360830, 360800, '永新县', '永新', '114.24253', '26.944721', 3, 0, 1), (360881, 360800, '井冈山市', '井冈山', '114.284424', '26.745918', 3, 0, 1), (360900, 360000, '宜春市', '宜春', '114.391136', '27.8043', 2, 0, 1), (360902, 360900, '袁州区', '袁州', '114.38738', '27.800117', 3, 0, 1), (360921, 360900, '奉新县', '奉新', '115.3899', '28.700672', 3, 0, 1), (360922, 360900, '万载县', '万载', '114.44901', '28.104528', 3, 0, 1), (360923, 360900, '上高县', '上高', '114.932655', '28.234789', 3, 0, 1), (360924, 360900, '宜丰县', '宜丰', '114.787384', '28.388288', 3, 0, 1), (360925, 360900, '靖安县', '靖安', '115.36175', '28.86054', 3, 0, 1), (360926, 360900, '铜鼓县', '铜鼓', '114.37014', '28.520956', 3, 0, 1), (360981, 360900, '丰城市', '丰城', '115.786', '28.191584', 3, 0, 1), (360982, 360900, '樟树市', '樟树', '115.54339', '28.055899', 3, 0, 1), (360983, 360900, '高安市', '高安', '115.38153', '28.420952', 3, 0, 1), (361000, 360000, '抚州市', '抚州', '116.35835', '27.98385', 2, 0, 1), (361002, 361000, '临川区', '临川', '116.361404', '27.981918', 3, 0, 1), (361003, 361000, '东乡区', '东乡', '116.60334', '28.24771', 3, 0, 1), (361021, 361000, '南城县', '南城', '116.63945', '27.55531', 3, 0, 1), (361022, 361000, '黎川县', '黎川', '116.91457', '27.29256', 3, 0, 1), (361023, 361000, '南丰县', '南丰', '116.533', '27.210133', 3, 0, 1), (361024, 361000, '崇仁县', '崇仁', '116.05911', '27.760906', 3, 0, 1), (361025, 361000, '乐安县', '乐安', '115.83843', '27.420101', 3, 0, 1), (361026, 361000, '宜黄县', '宜黄', '116.22302', '27.546513', 3, 0, 1), (361027, 361000, '金溪县', '金溪', '116.77875', '27.907387', 3, 0, 1), (361028, 361000, '资溪县', '资溪', '117.06609', '27.70653', 3, 0, 1), (361030, 361000, '广昌县', '广昌', '116.32729', '26.838427', 3, 0, 1), (361100, 360000, '上饶市', '上饶', '117.97118', '28.44442', 2, 0, 1), (361102, 361100, '信州区', '信州', '117.97052', '28.445377', 3, 0, 1), (361103, 361100, '广丰区', '广丰', '118.19133', '28.43631', 3, 0, 1), (361104, 361100, '广信区', '广信', '117.9096', '28.44923', 3, 0, 1), (361123, 361100, '玉山县', '玉山', '118.24441', '28.67348', 3, 0, 1), (361124, 361100, '铅山县', '铅山', '117.71191', '28.310892', 3, 0, 1), (361125, 361100, '横峰县', '横峰', '117.608246', '28.415104', 3, 0, 1), (361126, 361100, '弋阳县', '弋阳', '117.435005', '28.402391', 3, 0, 1), (361127, 361100, '余干县', '余干', '116.69107', '28.69173', 3, 0, 1), (361128, 361100, '鄱阳县', '鄱阳', '116.673744', '28.993374', 3, 0, 1), (361129, 361100, '万年县', '万年', '117.07015', '28.692589', 3, 0, 1), (361130, 361100, '婺源县', '婺源', '117.86219', '29.254015', 3, 0, 1), (361181, 361100, '德兴市', '德兴', '117.578735', '28.945034', 3, 0, 1), (370000, 0, '山东省', '山东', '117.00092', '36.675808', 1, 0, 1), (370100, 370000, '济南市', '济南', '117.00092', '36.675808', 2, 0, 1), (370102, 370100, '历下区', '历下', '117.03862', '36.66417', 3, 0, 1), (370103, 370100, '市中区', '市中', '116.99898', '36.657352', 3, 0, 1), (370104, 370100, '槐荫区', '槐荫', '116.94792', '36.668205', 3, 0, 1), (370105, 370100, '天桥区', '天桥', '116.996086', '36.693375', 3, 0, 1), (370112, 370100, '历城区', '历城', '117.06374', '36.681744', 3, 0, 1), (370113, 370100, '长清区', '长清', '116.74588', '36.56105', 3, 0, 1), (370114, 370100, '章丘区', '章丘', '117.52627', '36.68124', 3, 0, 1), (370115, 370100, '济阳区', '济阳', '117.17333', '36.97847', 3, 0, 1), (370116, 370100, '莱芜区', '莱芜', '117.65992', '36.20317', 3, 0, 1), (370117, 370100, '钢城区', '钢城', '117.81107', '36.05866', 3, 0, 1), (370124, 370100, '平阴县', '平阴', '116.455055', '36.286922', 3, 0, 1), (370126, 370100, '商河县', '商河', '117.15637', '37.310543', 3, 0, 1), (370200, 370000, '青岛市', '青岛', '120.35517', '36.08298', 2, 0, 1), (370202, 370200, '市南区', '市南', '120.395966', '36.070892', 3, 0, 1), (370203, 370200, '市北区', '市北', '120.35503', '36.08382', 3, 0, 1), (370211, 370200, '黄岛区', '黄岛', '119.99552', '35.875137', 3, 0, 1), (370212, 370200, '崂山区', '崂山', '120.46739', '36.10257', 3, 0, 1), (370213, 370200, '李沧区', '李沧', '120.421234', '36.160023', 3, 0, 1), (370214, 370200, '城阳区', '城阳', '120.38914', '36.30683', 3, 0, 1), (370215, 370200, '即墨区', '即墨', '120.44715', '36.38932', 3, 0, 1), (370281, 370200, '胶州市', '胶州', '120.0062', '36.285877', 3, 0, 1), (370283, 370200, '平度市', '平度', '119.959015', '36.78883', 3, 0, 1), (370285, 370200, '莱西市', '莱西', '120.52622', '36.86509', 3, 0, 1), (370300, 370000, '淄博市', '淄博', '118.047646', '36.814938', 2, 0, 1), (370302, 370300, '淄川区', '淄川', '117.9677', '36.64727', 3, 0, 1), (370303, 370300, '张店区', '张店', '118.05352', '36.80705', 3, 0, 1), (370304, 370300, '博山区', '博山', '117.85823', '36.497566', 3, 0, 1), (370305, 370300, '临淄区', '临淄', '118.306015', '36.816658', 3, 0, 1), (370306, 370300, '周村区', '周村', '117.851036', '36.8037', 3, 0, 1), (370321, 370300, '桓台县', '桓台', '118.101555', '36.959774', 3, 0, 1), (370322, 370300, '高青县', '高青', '117.82984', '37.169582', 3, 0, 1), (370323, 370300, '沂源县', '沂源', '118.16616', '36.186283', 3, 0, 1), (370400, 370000, '枣庄市', '枣庄', '117.55796', '34.856422', 2, 0, 1), (370402, 370400, '市中区', '市中', '117.55728', '34.85665', 3, 0, 1), (370403, 370400, '薛城区', '薛城', '117.26529', '34.79789', 3, 0, 1), (370404, 370400, '峄城区', '峄城', '117.58632', '34.76771', 3, 0, 1), (370405, 370400, '台儿庄区', '台儿庄', '117.73475', '34.564816', 3, 0, 1), (370406, 370400, '山亭区', '山亭', '117.45897', '35.096077', 3, 0, 1), (370481, 370400, '滕州市', '滕州', '117.1621', '35.088497', 3, 0, 1), (370500, 370000, '东营市', '东营', '118.66471', '37.434563', 2, 0, 1), (370502, 370500, '东营区', '东营', '118.507545', '37.461567', 3, 0, 1), (370503, 370500, '河口区', '河口', '118.52961', '37.886017', 3, 0, 1), (370505, 370500, '垦利区', '垦利', '118.54768', '37.58748', 3, 0, 1), (370522, 370500, '利津县', '利津', '118.248856', '37.493366', 3, 0, 1), (370523, 370500, '广饶县', '广饶', '118.407524', '37.05161', 3, 0, 1), (370600, 370000, '烟台市', '烟台', '121.39138', '37.539295', 2, 0, 1), (370602, 370600, '芝罘区', '芝罘', '121.38588', '37.540924', 3, 0, 1), (370611, 370600, '福山区', '福山', '121.26474', '37.496876', 3, 0, 1), (370612, 370600, '牟平区', '牟平', '121.60151', '37.388355', 3, 0, 1), (370613, 370600, '莱山区', '莱山', '121.44887', '37.47355', 3, 0, 1), (370614, 370600, '蓬莱区', '蓬莱', '', '', 3, 0, 1), (370681, 370600, '龙口市', '龙口', '120.52833', '37.648445', 3, 0, 1), (370682, 370600, '莱阳市', '莱阳', '120.71115', '36.977036', 3, 0, 1), (370683, 370600, '莱州市', '莱州', '119.94214', '37.182724', 3, 0, 1), (370685, 370600, '招远市', '招远', '120.403145', '37.364918', 3, 0, 1), (370686, 370600, '栖霞市', '栖霞', '120.8341', '37.305855', 3, 0, 1), (370687, 370600, '海阳市', '海阳', '121.16839', '36.78066', 3, 0, 1), (370700, 370000, '潍坊市', '潍坊', '119.10708', '36.70925', 2, 0, 1), (370702, 370700, '潍城区', '潍城', '119.10378', '36.71006', 3, 0, 1), (370703, 370700, '寒亭区', '寒亭', '119.20786', '36.772102', 3, 0, 1), (370704, 370700, '坊子区', '坊子', '119.16633', '36.654617', 3, 0, 1), (370705, 370700, '奎文区', '奎文', '119.13736', '36.709496', 3, 0, 1), (370724, 370700, '临朐县', '临朐', '118.53988', '36.516373', 3, 0, 1), (370725, 370700, '昌乐县', '昌乐', '118.84', '36.703255', 3, 0, 1), (370781, 370700, '青州市', '青州', '118.484695', '36.697857', 3, 0, 1), (370782, 370700, '诸城市', '诸城', '119.40318', '35.997093', 3, 0, 1), (370783, 370700, '寿光市', '寿光', '118.73645', '36.874413', 3, 0, 1), (370784, 370700, '安丘市', '安丘', '119.20689', '36.427418', 3, 0, 1), (370785, 370700, '高密市', '高密', '119.757034', '36.37754', 3, 0, 1), (370786, 370700, '昌邑市', '昌邑', '119.3945', '36.85494', 3, 0, 1), (370800, 370000, '济宁市', '济宁', '116.58724', '35.415394', 2, 0, 1), (370811, 370800, '任城区', '任城', '116.63102', '35.431835', 3, 0, 1), (370812, 370800, '兖州区', '兖州', '116.7857', '35.5526', 3, 0, 1), (370826, 370800, '微山县', '微山', '117.12861', '34.809525', 3, 0, 1), (370827, 370800, '鱼台县', '鱼台', '116.650024', '34.997707', 3, 0, 1), (370828, 370800, '金乡县', '金乡', '116.31036', '35.06977', 3, 0, 1), (370829, 370800, '嘉祥县', '嘉祥', '116.34289', '35.398098', 3, 0, 1), (370830, 370800, '汶上县', '汶上', '116.487144', '35.721745', 3, 0, 1), (370831, 370800, '泗水县', '泗水', '117.273605', '35.653217', 3, 0, 1), (370832, 370800, '梁山县', '梁山', '116.08963', '35.80184', 3, 0, 1), (370881, 370800, '曲阜市', '曲阜', '116.99188', '35.59279', 3, 0, 1), (370883, 370800, '邹城市', '邹城', '116.96673', '35.40526', 3, 0, 1), (370900, 370000, '泰安市', '泰安', '117.12907', '36.19497', 2, 0, 1), (370902, 370900, '泰山区', '泰山', '117.12998', '36.189312', 3, 0, 1), (370911, 370900, '岱岳区', '岱岳', '117.0418', '36.18752', 3, 0, 1), (370921, 370900, '宁阳县', '宁阳', '116.79929', '35.76754', 3, 0, 1), (370923, 370900, '东平县', '东平', '116.46105', '35.930466', 3, 0, 1), (370982, 370900, '新泰市', '新泰', '117.76609', '35.910385', 3, 0, 1), (370983, 370900, '肥城市', '肥城', '116.7637', '36.1856', 3, 0, 1), (371000, 370000, '威海市', '威海', '122.116394', '37.50969', 2, 0, 1), (371002, 371000, '环翠区', '环翠', '122.11619', '37.510754', 3, 0, 1), (371003, 371000, '文登区', '文登', '122.0581', '37.19397', 3, 0, 1), (371082, 371000, '荣成市', '荣成', '122.4229', '37.160133', 3, 0, 1), (371083, 371000, '乳山市', '乳山', '121.53635', '36.91962', 3, 0, 1), (371100, 370000, '日照市', '日照', '119.461205', '35.42859', 2, 0, 1), (371102, 371100, '东港区', '东港', '119.4577', '35.42615', 3, 0, 1), (371103, 371100, '岚山区', '岚山', '119.31584', '35.119793', 3, 0, 1), (371121, 371100, '五莲县', '五莲', '119.20674', '35.751938', 3, 0, 1), (371122, 371100, '莒县', '莒县', '118.832855', '35.588116', 3, 0, 1), (371300, 370000, '临沂市', '临沂', '118.32645', '35.06528', 2, 0, 1), (371302, 371300, '兰山区', '兰山', '118.32767', '35.06163', 3, 0, 1), (371311, 371300, '罗庄区', '罗庄', '118.2848', '34.997204', 3, 0, 1), (371312, 371300, '河东区', '河东', '118.39829', '35.085003', 3, 0, 1), (371321, 371300, '沂南县', '沂南', '118.4554', '35.547', 3, 0, 1), (371322, 371300, '郯城县', '郯城', '118.342964', '34.614742', 3, 0, 1), (371323, 371300, '沂水县', '沂水', '118.634544', '35.78703', 3, 0, 1), (371324, 371300, '兰陵县', '苍山', '118.32645', '35.06528', 3, 0, 1), (371325, 371300, '费县', '费县', '117.96887', '35.269173', 3, 0, 1), (371326, 371300, '平邑县', '平邑', '117.63188', '35.51152', 3, 0, 1), (371327, 371300, '莒南县', '莒南', '118.838326', '35.17591', 3, 0, 1), (371328, 371300, '蒙阴县', '蒙阴', '117.94327', '35.712437', 3, 0, 1), (371329, 371300, '临沭县', '临沭', '118.64838', '34.91706', 3, 0, 1), (371400, 370000, '德州市', '德州', '116.30743', '37.453968', 2, 0, 1), (371402, 371400, '德城区', '德城', '116.307076', '37.453922', 3, 0, 1), (371403, 371400, '陵城区', '陵城', '116.57634', '37.33566', 3, 0, 1), (371422, 371400, '宁津县', '宁津', '116.79372', '37.64962', 3, 0, 1), (371423, 371400, '庆云县', '庆云', '117.39051', '37.777725', 3, 0, 1), (371424, 371400, '临邑县', '临邑', '116.86703', '37.192043', 3, 0, 1), (371425, 371400, '齐河县', '齐河', '116.75839', '36.795498', 3, 0, 1), (371426, 371400, '平原县', '平原', '116.43391', '37.164467', 3, 0, 1), (371427, 371400, '夏津县', '夏津', '116.003815', '36.9505', 3, 0, 1), (371428, 371400, '武城县', '武城', '116.07863', '37.209526', 3, 0, 1), (371481, 371400, '乐陵市', '乐陵', '117.21666', '37.729115', 3, 0, 1), (371482, 371400, '禹城市', '禹城', '116.642555', '36.934486', 3, 0, 1), (371500, 370000, '聊城市', '聊城', '115.98037', '36.456013', 2, 0, 1), (371502, 371500, '东昌府区', '东昌府', '115.98003', '36.45606', 3, 0, 1), (371503, 371500, '茌平区', '茌平', '116.25522', '36.58068', 3, 0, 1), (371521, 371500, '阳谷县', '阳谷', '115.78429', '36.11371', 3, 0, 1), (371522, 371500, '莘县', '莘县', '115.66729', '36.2376', 3, 0, 1), (371524, 371500, '东阿县', '东阿', '116.248856', '36.336002', 3, 0, 1), (371525, 371500, '冠县', '冠县', '115.44481', '36.483753', 3, 0, 1), (371526, 371500, '高唐县', '高唐', '116.22966', '36.859756', 3, 0, 1), (371581, 371500, '临清市', '临清', '115.71346', '36.842598', 3, 0, 1), (371600, 370000, '滨州市', '滨州', '118.016975', '37.38354', 2, 0, 1), (371602, 371600, '滨城区', '滨城', '118.02015', '37.384842', 3, 0, 1), (371603, 371600, '沾化区', '沾化', '118.09882', '37.70058', 3, 0, 1), (371621, 371600, '惠民县', '惠民', '117.50894', '37.483875', 3, 0, 1), (371622, 371600, '阳信县', '阳信', '117.58133', '37.64049', 3, 0, 1), (371623, 371600, '无棣县', '无棣', '117.616325', '37.74085', 3, 0, 1), (371625, 371600, '博兴县', '博兴', '118.12309', '37.147003', 3, 0, 1), (371681, 371600, '邹平市', '邹平', '117.74309', '36.86299', 3, 0, 1), (371700, 370000, '菏泽市', '菏泽', '115.46938', '35.246532', 2, 0, 1), (371702, 371700, '牡丹区', '牡丹', '115.47095', '35.24311', 3, 0, 1), (371703, 371700, '定陶区', '定陶', '115.57298', '35.07095', 3, 0, 1), (371721, 371700, '曹县', '曹县', '115.549484', '34.823254', 3, 0, 1), (371722, 371700, '单县', '单县', '116.08262', '34.79085', 3, 0, 1), (371723, 371700, '成武县', '成武', '115.89735', '34.947365', 3, 0, 1), (371724, 371700, '巨野县', '巨野', '116.08934', '35.391', 3, 0, 1), (371725, 371700, '郓城县', '郓城', '115.93885', '35.594772', 3, 0, 1), (371726, 371700, '鄄城县', '鄄城', '115.51434', '35.560257', 3, 0, 1), (371728, 371700, '东明县', '东明', '115.09841', '35.28964', 3, 0, 1), (410000, 0, '河南省', '河南', '113.66541', '34.757977', 1, 0, 1), (410100, 410000, '郑州市', '郑州', '113.66541', '34.757977', 2, 0, 1), (410102, 410100, '中原区', '中原', '113.61157', '34.748287', 3, 0, 1), (410103, 410100, '二七区', '二七', '113.645424', '34.730934', 3, 0, 1), (410104, 410100, '管城回族区', '管城回族', '113.68531', '34.746452', 3, 0, 1), (410105, 410100, '金水区', '金水', '113.686035', '34.775837', 3, 0, 1), (410106, 410100, '上街区', '上街', '113.29828', '34.80869', 3, 0, 1), (410108, 410100, '惠济区', '惠济', '113.61836', '34.82859', 3, 0, 1), (410122, 410100, '中牟县', '中牟', '114.02252', '34.721977', 3, 0, 1), (410181, 410100, '巩义市', '巩义', '112.98283', '34.75218', 3, 0, 1), (410182, 410100, '荥阳市', '荥阳', '113.391525', '34.789078', 3, 0, 1), (410183, 410100, '新密市', '新密', '113.380615', '34.537846', 3, 0, 1), (410184, 410100, '新郑市', '新郑', '113.73967', '34.39422', 3, 0, 1), (410185, 410100, '登封市', '登封', '113.037766', '34.459938', 3, 0, 1), (410200, 410000, '开封市', '开封', '114.341446', '34.79705', 2, 0, 1), (410202, 410200, '龙亭区', '龙亭', '114.35335', '34.79983', 3, 0, 1), (410203, 410200, '顺河回族区', '顺河回族', '114.364876', '34.80046', 3, 0, 1), (410204, 410200, '鼓楼区', '鼓楼', '114.3485', '34.79238', 3, 0, 1), (410205, 410200, '禹王台区', '禹王台', '114.35024', '34.779728', 3, 0, 1), (410212, 410200, '祥符区', '祥符', '114.44136', '34.757', 3, 0, 1), (410221, 410200, '杞县', '杞县', '114.77047', '34.554585', 3, 0, 1), (410222, 410200, '通许县', '通许', '114.467735', '34.477303', 3, 0, 1), (410223, 410200, '尉氏县', '尉氏', '114.193924', '34.412254', 3, 0, 1), (410225, 410200, '兰考县', '兰考', '114.82057', '34.8299', 3, 0, 1), (410300, 410000, '洛阳市', '洛阳', '112.43447', '34.66304', 2, 0, 1), (410302, 410300, '老城区', '老城', '112.477295', '34.682945', 3, 0, 1), (410303, 410300, '西工区', '西工', '112.44323', '34.667847', 3, 0, 1), (410304, 410300, '瀍河回族区', '瀍河回族', '112.49162', '34.68474', 3, 0, 1), (410305, 410300, '涧西区', '涧西', '112.39925', '34.65425', 3, 0, 1), (410306, 410300, '吉利区', '吉利', '112.58479', '34.899094', 3, 0, 1), (410311, 410300, '洛龙区', '洛龙', '112.4647', '34.6196', 3, 0, 1), (410322, 410300, '孟津县', '孟津', '112.44389', '34.826485', 3, 0, 1), (410323, 410300, '新安县', '新安', '112.1414', '34.72868', 3, 0, 1), (410324, 410300, '栾川县', '栾川', '111.618385', '33.783195', 3, 0, 1), (410325, 410300, '嵩县', '嵩县', '112.08777', '34.13156', 3, 0, 1), (410326, 410300, '汝阳县', '汝阳', '112.473785', '34.15323', 3, 0, 1), (410327, 410300, '宜阳县', '宜阳', '112.17999', '34.51648', 3, 0, 1), (410328, 410300, '洛宁县', '洛宁', '111.655396', '34.38718', 3, 0, 1), (410329, 410300, '伊川县', '伊川', '112.42938', '34.423416', 3, 0, 1), (410381, 410300, '偃师市', '偃师', '112.78774', '34.72304', 3, 0, 1), (410400, 410000, '平顶山市', '平顶山', '113.30772', '33.73524', 2, 0, 1), (410402, 410400, '新华区', '新华', '113.299065', '33.73758', 3, 0, 1), (410403, 410400, '卫东区', '卫东', '113.310326', '33.739285', 3, 0, 1), (410404, 410400, '石龙区', '石龙', '112.889885', '33.90154', 3, 0, 1), (410411, 410400, '湛河区', '湛河', '113.32087', '33.72568', 3, 0, 1), (410421, 410400, '宝丰县', '宝丰', '113.06681', '33.86636', 3, 0, 1), (410422, 410400, '叶县', '叶县', '113.3583', '33.62125', 3, 0, 1), (410423, 410400, '鲁山县', '鲁山', '112.9067', '33.740326', 3, 0, 1), (410425, 410400, '郏县', '郏县', '113.22045', '33.971992', 3, 0, 1), (410481, 410400, '舞钢市', '舞钢', '113.52625', '33.302082', 3, 0, 1), (410482, 410400, '汝州市', '汝州', '112.84534', '34.167408', 3, 0, 1), (410500, 410000, '安阳市', '安阳', '114.352486', '36.103443', 2, 0, 1), (410502, 410500, '文峰区', '文峰', '114.35256', '36.098103', 3, 0, 1), (410503, 410500, '北关区', '北关', '114.352646', '36.10978', 3, 0, 1), (410505, 410500, '殷都区', '殷都', '114.300095', '36.108974', 3, 0, 1), (410506, 410500, '龙安区', '龙安', '114.323524', '36.09557', 3, 0, 1), (410522, 410500, '安阳县', '安阳', '114.1302', '36.130585', 3, 0, 1), (410523, 410500, '汤阴县', '汤阴', '114.36236', '35.922348', 3, 0, 1), (410526, 410500, '滑县', '滑县', '114.524', '35.574627', 3, 0, 1), (410527, 410500, '内黄县', '内黄', '114.90458', '35.9537', 3, 0, 1), (410581, 410500, '林州市', '林州', '113.82377', '36.063404', 3, 0, 1), (410600, 410000, '鹤壁市', '鹤壁', '114.29544', '35.748238', 2, 0, 1), (410602, 410600, '鹤山区', '鹤山', '114.16655', '35.936127', 3, 0, 1), (410603, 410600, '山城区', '山城', '114.184204', '35.896057', 3, 0, 1), (410611, 410600, '淇滨区', '淇滨', '114.293915', '35.748383', 3, 0, 1), (410621, 410600, '浚县', '浚县', '114.55016', '35.671284', 3, 0, 1), (410622, 410600, '淇县', '淇县', '114.20038', '35.609478', 3, 0, 1), (410700, 410000, '新乡市', '新乡', '113.88399', '35.302616', 2, 0, 1), (410702, 410700, '红旗区', '红旗', '113.87816', '35.302685', 3, 0, 1), (410703, 410700, '卫滨区', '卫滨', '113.866066', '35.304905', 3, 0, 1), (410704, 410700, '凤泉区', '凤泉', '113.906715', '35.379856', 3, 0, 1), (410711, 410700, '牧野区', '牧野', '113.89716', '35.312973', 3, 0, 1), (410721, 410700, '新乡县', '新乡', '113.80618', '35.19002', 3, 0, 1), (410724, 410700, '获嘉县', '获嘉', '113.65725', '35.261684', 3, 0, 1), (410725, 410700, '原阳县', '原阳', '113.965965', '35.054', 3, 0, 1), (410726, 410700, '延津县', '延津', '114.20098', '35.149513', 3, 0, 1), (410727, 410700, '封丘县', '封丘', '114.42341', '35.04057', 3, 0, 1), (410781, 410700, '卫辉市', '卫辉', '114.06586', '35.404297', 3, 0, 1), (410782, 410700, '辉县市', '辉县', '113.80252', '35.46132', 3, 0, 1), (410783, 410700, '长垣市', '长垣', '114.66886', '35.20049', 3, 0, 1), (410800, 410000, '焦作市', '焦作', '113.238266', '35.23904', 2, 0, 1), (410802, 410800, '解放区', '解放', '113.22613', '35.241352', 3, 0, 1), (410803, 410800, '中站区', '中站', '113.17548', '35.236145', 3, 0, 1), (410804, 410800, '马村区', '马村', '113.3217', '35.265453', 3, 0, 1), (410811, 410800, '山阳区', '山阳', '113.26766', '35.21476', 3, 0, 1), (410821, 410800, '修武县', '修武', '113.447464', '35.229923', 3, 0, 1), (410822, 410800, '博爱县', '博爱', '113.06931', '35.17035', 3, 0, 1), (410823, 410800, '武陟县', '武陟', '113.40833', '35.09885', 3, 0, 1), (410825, 410800, '温县', '温县', '113.07912', '34.941235', 3, 0, 1), (410882, 410800, '沁阳市', '沁阳', '112.93454', '35.08901', 3, 0, 1), (410883, 410800, '孟州市', '孟州', '112.78708', '34.90963', 3, 0, 1), (410900, 410000, '濮阳市', '濮阳', '115.0413', '35.768234', 2, 0, 1), (410902, 410900, '华龙区', '华龙', '115.03184', '35.76047', 3, 0, 1), (410922, 410900, '清丰县', '清丰', '115.107285', '35.902412', 3, 0, 1), (410923, 410900, '南乐县', '南乐', '115.20434', '36.075203', 3, 0, 1), (410926, 410900, '范县', '范县', '115.50421', '35.85198', 3, 0, 1), (410927, 410900, '台前县', '台前', '115.85568', '35.996475', 3, 0, 1), (410928, 410900, '濮阳县', '濮阳', '115.02384', '35.71035', 3, 0, 1), (411000, 410000, '许昌市', '许昌', '113.826065', '34.022957', 2, 0, 1), (411002, 411000, '魏都区', '魏都', '113.82831', '34.02711', 3, 0, 1), (411003, 411000, '建安区', '建安', '', '', 3, 0, 1), (411024, 411000, '鄢陵县', '鄢陵', '114.18851', '34.100502', 3, 0, 1), (411025, 411000, '襄城县', '襄城', '113.493164', '33.85594', 3, 0, 1), (411081, 411000, '禹州市', '禹州', '113.47131', '34.154404', 3, 0, 1), (411082, 411000, '长葛市', '长葛', '113.76891', '34.219257', 3, 0, 1), (411100, 410000, '漯河市', '漯河', '114.026405', '33.575855', 2, 0, 1), (411102, 411100, '源汇区', '源汇', '114.017944', '33.56544', 3, 0, 1), (411103, 411100, '郾城区', '郾城', '114.016815', '33.588898', 3, 0, 1), (411104, 411100, '召陵区', '召陵', '114.05169', '33.567554', 3, 0, 1), (411121, 411100, '舞阳县', '舞阳', '113.610565', '33.43628', 3, 0, 1), (411122, 411100, '临颍县', '临颍', '113.93889', '33.80609', 3, 0, 1), (411200, 410000, '三门峡市', '三门峡', '111.1941', '34.777336', 2, 0, 1), (411202, 411200, '湖滨区', '湖滨', '111.19487', '34.77812', 3, 0, 1), (411203, 411200, '陕州区', '陕州', '111.10338', '34.72054', 3, 0, 1), (411221, 411200, '渑池县', '渑池', '111.76299', '34.76349', 3, 0, 1), (411224, 411200, '卢氏县', '卢氏', '111.05265', '34.053993', 3, 0, 1), (411281, 411200, '义马市', '义马', '111.869415', '34.74687', 3, 0, 1), (411282, 411200, '灵宝市', '灵宝', '110.88577', '34.521263', 3, 0, 1), (411300, 410000, '南阳市', '南阳', '112.54092', '32.99908', 2, 0, 1), (411302, 411300, '宛城区', '宛城', '112.54459', '32.994858', 3, 0, 1), (411303, 411300, '卧龙区', '卧龙', '112.528786', '32.989876', 3, 0, 1), (411321, 411300, '南召县', '南召', '112.435585', '33.488617', 3, 0, 1), (411322, 411300, '方城县', '方城', '113.01093', '33.25514', 3, 0, 1), (411323, 411300, '西峡县', '西峡', '111.48577', '33.302982', 3, 0, 1), (411324, 411300, '镇平县', '镇平', '112.23272', '33.03665', 3, 0, 1), (411325, 411300, '内乡县', '内乡', '111.8438', '33.046356', 3, 0, 1), (411326, 411300, '淅川县', '淅川', '111.48903', '33.136105', 3, 0, 1), (411327, 411300, '社旗县', '社旗县', '112.93828', '33.056126', 3, 0, 1), (411328, 411300, '唐河县', '唐河', '112.83849', '32.687893', 3, 0, 1), (411329, 411300, '新野县', '新野', '112.36562', '32.524006', 3, 0, 1), (411330, 411300, '桐柏县', '桐柏', '113.40606', '32.367153', 3, 0, 1), (411381, 411300, '邓州市', '邓州', '112.09271', '32.68164', 3, 0, 1), (411400, 410000, '商丘市', '商丘', '115.6505', '34.437054', 2, 0, 1), (411402, 411400, '梁园区', '梁园', '115.65459', '34.436554', 3, 0, 1), (411403, 411400, '睢阳区', '睢阳', '115.65382', '34.390537', 3, 0, 1), (411421, 411400, '民权县', '民权', '115.14815', '34.648457', 3, 0, 1), (411422, 411400, '睢县', '睢县', '115.07011', '34.428432', 3, 0, 1), (411423, 411400, '宁陵县', '宁陵', '115.32005', '34.4493', 3, 0, 1), (411424, 411400, '柘城县', '柘城', '115.307434', '34.075275', 3, 0, 1), (411425, 411400, '虞城县', '虞城', '115.86381', '34.399635', 3, 0, 1), (411426, 411400, '夏邑县', '夏邑', '116.13989', '34.240894', 3, 0, 1), (411481, 411400, '永城市', '永城', '116.44967', '33.931316', 3, 0, 1), (411500, 410000, '信阳市', '信阳', '114.07503', '32.123276', 2, 0, 1), (411502, 411500, '浉河区', '浉河', '114.07503', '32.123276', 3, 0, 1), (411503, 411500, '平桥区', '平桥', '114.12603', '32.098396', 3, 0, 1), (411521, 411500, '罗山县', '罗山', '114.53342', '32.203205', 3, 0, 1), (411522, 411500, '光山县', '光山', '114.90358', '32.0104', 3, 0, 1), (411523, 411500, '新县', '新县', '114.87705', '31.63515', 3, 0, 1), (411524, 411500, '商城县', '商城', '115.406296', '31.799982', 3, 0, 1), (411525, 411500, '固始县', '固始', '115.66733', '32.183075', 3, 0, 1), (411526, 411500, '潢川县', '潢川', '115.050125', '32.134026', 3, 0, 1), (411527, 411500, '淮滨县', '淮滨', '115.41545', '32.45264', 3, 0, 1), (411528, 411500, '息县', '息县', '114.740715', '32.344746', 3, 0, 1), (411600, 410000, '周口市', '周口', '114.64965', '33.620358', 2, 0, 1), (411602, 411600, '川汇区', '川汇', '114.65214', '33.614838', 3, 0, 1), (411603, 411600, '淮阳区', '淮阳', '114.88614', '33.7315', 3, 0, 1), (411621, 411600, '扶沟县', '扶沟', '114.392006', '34.05406', 3, 0, 1), (411622, 411600, '西华县', '西华', '114.53007', '33.784378', 3, 0, 1), (411623, 411600, '商水县', '商水', '114.60927', '33.543846', 3, 0, 1), (411624, 411600, '沈丘县', '沈丘', '115.07838', '33.395515', 3, 0, 1), (411625, 411600, '郸城县', '郸城', '115.189', '33.643852', 3, 0, 1), (411627, 411600, '太康县', '太康', '114.853836', '34.06531', 3, 0, 1), (411628, 411600, '鹿邑县', '鹿邑', '115.48639', '33.86107', 3, 0, 1), (411681, 411600, '项城市', '项城', '114.89952', '33.443085', 3, 0, 1), (411700, 410000, '驻马店市', '驻马店', '114.024734', '32.980167', 2, 0, 1), (411702, 411700, '驿城区', '驿城', '114.02915', '32.97756', 3, 0, 1), (411721, 411700, '西平县', '西平', '114.02686', '33.382317', 3, 0, 1), (411722, 411700, '上蔡县', '上蔡', '114.26689', '33.264717', 3, 0, 1), (411723, 411700, '平舆县', '平舆', '114.63711', '32.955627', 3, 0, 1), (411724, 411700, '正阳县', '正阳', '114.38948', '32.601826', 3, 0, 1), (411725, 411700, '确山县', '确山', '114.02668', '32.801537', 3, 0, 1), (411726, 411700, '泌阳县', '泌阳', '113.32605', '32.72513', 3, 0, 1), (411727, 411700, '汝南县', '汝南', '114.3595', '33.004536', 3, 0, 1), (411728, 411700, '遂平县', '遂平', '114.00371', '33.14698', 3, 0, 1), (411729, 411700, '新蔡县', '新蔡', '114.97524', '32.749947', 3, 0, 1), (419001, 419000, '济源市', '济源', '112.60273', '35.06707', 3, 0, 1), (420000, 0, '湖北省', '湖北', '114.29857', '30.584354', 1, 0, 1), (420100, 420000, '武汉市', '武汉', '114.29857', '30.584354', 2, 0, 1), (420102, 420100, '江岸区', '江岸', '114.30304', '30.594912', 3, 0, 1), (420103, 420100, '江汉区', '江汉', '114.28311', '30.578772', 3, 0, 1), (420104, 420100, '硚口区', '硚口', '114.264565', '30.57061', 3, 0, 1), (420105, 420100, '汉阳区', '汉阳', '114.26581', '30.549326', 3, 0, 1), (420106, 420100, '武昌区', '武昌', '114.30734', '30.546535', 3, 0, 1), (420107, 420100, '青山区', '青山', '114.39707', '30.634214', 3, 0, 1), (420111, 420100, '洪山区', '洪山', '114.40072', '30.50426', 3, 0, 1), (420112, 420100, '东西湖区', '东西湖', '114.14249', '30.622467', 3, 0, 1), (420113, 420100, '汉南区', '汉南', '114.08124', '30.309637', 3, 0, 1), (420114, 420100, '蔡甸区', '蔡甸', '114.02934', '30.582186', 3, 0, 1), (420115, 420100, '江夏区', '江夏', '114.31396', '30.349045', 3, 0, 1), (420116, 420100, '黄陂区', '黄陂', '114.37402', '30.874155', 3, 0, 1), (420117, 420100, '新洲区', '新洲', '114.80211', '30.84215', 3, 0, 1), (420200, 420000, '黄石市', '黄石', '115.07705', '30.220074', 2, 0, 1), (420202, 420200, '黄石港区', '黄石港', '115.090164', '30.212086', 3, 0, 1), (420203, 420200, '西塞山区', '西塞山', '115.09335', '30.205364', 3, 0, 1), (420204, 420200, '下陆区', '下陆', '114.97575', '30.177845', 3, 0, 1), (420205, 420200, '铁山区', '铁山', '114.90137', '30.20601', 3, 0, 1), (420222, 420200, '阳新县', '阳新', '115.21288', '29.841572', 3, 0, 1), (420281, 420200, '大冶市', '大冶', '114.97484', '30.098804', 3, 0, 1), (420300, 420000, '十堰市', '十堰', '110.78792', '32.646908', 2, 0, 1), (420302, 420300, '茅箭区', '茅箭', '110.78621', '32.644463', 3, 0, 1), (420303, 420300, '张湾区', '张湾', '110.77236', '32.652515', 3, 0, 1), (420304, 420300, '郧阳区', '郧阳', '110.81197', '32.83488', 3, 0, 1), (420322, 420300, '郧西县', '郧西', '110.426476', '32.99146', 3, 0, 1), (420323, 420300, '竹山县', '竹山', '110.2296', '32.22586', 3, 0, 1), (420324, 420300, '竹溪县', '竹溪', '109.71719', '32.315342', 3, 0, 1), (420325, 420300, '房县', '房县', '110.74197', '32.055', 3, 0, 1), (420381, 420300, '丹江口市', '丹江口', '111.513794', '32.538837', 3, 0, 1), (420500, 420000, '宜昌市', '宜昌', '111.29084', '30.702637', 2, 0, 1), (420502, 420500, '西陵区', '西陵', '111.29547', '30.702477', 3, 0, 1), (420503, 420500, '伍家岗区', '伍家岗', '111.30721', '30.679052', 3, 0, 1), (420504, 420500, '点军区', '点军', '111.268166', '30.692322', 3, 0, 1), (420505, 420500, '猇亭区', '猇亭', '111.29084', '30.702637', 3, 0, 1), (420506, 420500, '夷陵区', '夷陵', '111.326744', '30.770199', 3, 0, 1), (420525, 420500, '远安县', '远安', '111.64331', '31.059626', 3, 0, 1), (420526, 420500, '兴山县', '兴山', '110.7545', '31.34795', 3, 0, 1), (420527, 420500, '秭归县', '秭归', '110.97678', '30.823908', 3, 0, 1), (420528, 420500, '长阳土家族自治县', '长阳', '111.19848', '30.466534', 3, 0, 1), (420529, 420500, '五峰土家族自治县', '五峰', '110.674934', '30.199251', 3, 0, 1), (420581, 420500, '宜都市', '宜都', '111.45437', '30.387234', 3, 0, 1), (420582, 420500, '当阳市', '当阳', '111.79342', '30.824492', 3, 0, 1), (420583, 420500, '枝江市', '枝江', '111.7518', '30.425364', 3, 0, 1), (420600, 420000, '襄阳市', '襄阳', '112.14415', '32.042427', 2, 0, 1), (420602, 420600, '襄城区', '襄城', '112.15033', '32.015087', 3, 0, 1), (420606, 420600, '樊城区', '樊城', '112.13957', '32.05859', 3, 0, 1), (420607, 420600, '襄州区', '襄州', '112.19738', '32.085518', 3, 0, 1), (420624, 420600, '南漳县', '南漳', '111.84442', '31.77692', 3, 0, 1), (420625, 420600, '谷城县', '谷城', '111.640144', '32.262676', 3, 0, 1), (420626, 420600, '保康县', '保康', '111.26224', '31.873507', 3, 0, 1), (420682, 420600, '老河口市', '老河口', '111.675735', '32.385437', 3, 0, 1), (420683, 420600, '枣阳市', '枣阳', '112.76527', '32.12308', 3, 0, 1), (420684, 420600, '宜城市', '宜城', '112.261444', '31.709204', 3, 0, 1), (420700, 420000, '鄂州市', '鄂州', '114.890594', '30.396536', 2, 0, 1), (420702, 420700, '梁子湖区', '梁子湖', '114.68197', '30.09819', 3, 0, 1), (420703, 420700, '华容区', '华容', '114.74148', '30.534468', 3, 0, 1), (420704, 420700, '鄂城区', '鄂城', '114.890015', '30.39669', 3, 0, 1), (420800, 420000, '荆门市', '荆门', '112.204254', '31.03542', 2, 0, 1), (420802, 420800, '东宝区', '东宝', '112.2048', '31.03346', 3, 0, 1), (420804, 420800, '掇刀区', '掇刀', '112.19841', '30.980799', 3, 0, 1), (420822, 420800, '沙洋县', '沙洋', '112.595215', '30.70359', 3, 0, 1), (420881, 420800, '钟祥市', '钟祥', '112.587265', '31.165573', 3, 0, 1), (420882, 420800, '京山市', '京山', '113.11953', '31.01848', 3, 0, 1), (420900, 420000, '孝感市', '孝感', '113.92666', '30.926422', 2, 0, 1), (420902, 420900, '孝南区', '孝南', '113.92585', '30.925966', 3, 0, 1), (420921, 420900, '孝昌县', '孝昌', '113.98896', '31.251617', 3, 0, 1), (420922, 420900, '大悟县', '大悟', '114.12625', '31.565483', 3, 0, 1), (420923, 420900, '云梦县', '云梦', '113.75062', '31.02169', 3, 0, 1), (420981, 420900, '应城市', '应城', '113.573845', '30.939037', 3, 0, 1), (420982, 420900, '安陆市', '安陆', '113.6904', '31.26174', 3, 0, 1), (420984, 420900, '汉川市', '汉川', '113.835304', '30.652164', 3, 0, 1), (421000, 420000, '荆州市', '荆州', '112.23813', '30.326857', 2, 0, 1), (421002, 421000, '沙市区', '沙市', '112.25743', '30.315895', 3, 0, 1), (421003, 421000, '荆州区', '荆州', '112.19535', '30.350674', 3, 0, 1), (421022, 421000, '公安县', '公安', '112.23018', '30.059065', 3, 0, 1), (421023, 421000, '监利县', '监利', '112.90434', '29.82008', 3, 0, 1), (421024, 421000, '江陵县', '江陵', '112.41735', '30.033918', 3, 0, 1), (421081, 421000, '石首市', '石首', '112.40887', '29.716436', 3, 0, 1), (421083, 421000, '洪湖市', '洪湖', '113.47031', '29.81297', 3, 0, 1), (421087, 421000, '松滋市', '松滋', '111.77818', '30.176037', 3, 0, 1), (421100, 420000, '黄冈市', '黄冈', '114.879364', '30.447712', 2, 0, 1), (421102, 421100, '黄州区', '黄州', '114.87894', '30.447435', 3, 0, 1), (421121, 421100, '团风县', '团风', '114.87203', '30.63569', 3, 0, 1), (421122, 421100, '红安县', '红安', '114.6151', '31.284777', 3, 0, 1), (421123, 421100, '罗田县', '罗田', '115.39899', '30.78168', 3, 0, 1), (421124, 421100, '英山县', '英山', '115.67753', '30.735794', 3, 0, 1), (421125, 421100, '浠水县', '浠水', '115.26344', '30.454838', 3, 0, 1), (421126, 421100, '蕲春县', '蕲春', '115.43397', '30.234926', 3, 0, 1), (421127, 421100, '黄梅县', '黄梅', '115.94255', '30.075113', 3, 0, 1), (421181, 421100, '麻城市', '麻城', '115.02541', '31.177906', 3, 0, 1), (421182, 421100, '武穴市', '武穴', '115.56242', '29.849342', 3, 0, 1), (421200, 420000, '咸宁市', '咸宁', '114.328964', '29.832798', 2, 0, 1), (421202, 421200, '咸安区', '咸安', '114.33389', '29.824717', 3, 0, 1), (421221, 421200, '嘉鱼县', '嘉鱼', '113.92155', '29.973364', 3, 0, 1), (421222, 421200, '通城县', '通城', '113.81413', '29.246077', 3, 0, 1), (421223, 421200, '崇阳县', '崇阳', '114.04996', '29.54101', 3, 0, 1), (421224, 421200, '通山县', '通山', '114.493164', '29.604456', 3, 0, 1), (421281, 421200, '赤壁市', '赤壁', '113.88366', '29.716879', 3, 0, 1), (421300, 420000, '随州市', '随州', '113.37377', '31.717497', 2, 0, 1), (421303, 421300, '曾都区', '曾都', '113.3712', '31.71615', 3, 0, 1), (421321, 421300, '随县', '随县', '113.301384', '31.854246', 3, 0, 1), (421381, 421300, '广水市', '广水', '113.8266', '31.617731', 3, 0, 1), (422800, 420000, '恩施土家族苗族自治州', '恩施', '109.48699', '30.283113', 2, 0, 1), (422801, 422800, '恩施市', '恩施', '109.48676', '30.282406', 3, 0, 1), (422802, 422800, '利川市', '利川', '108.94349', '30.294247', 3, 0, 1), (422822, 422800, '建始县', '建始', '109.72382', '30.601631', 3, 0, 1), (422823, 422800, '巴东县', '巴东', '110.33666', '31.041403', 3, 0, 1), (422825, 422800, '宣恩县', '宣恩', '109.48282', '29.98867', 3, 0, 1), (422826, 422800, '咸丰县', '咸丰', '109.15041', '29.678967', 3, 0, 1), (422827, 422800, '来凤县', '来凤', '109.408325', '29.506945', 3, 0, 1), (422828, 422800, '鹤峰县', '鹤峰', '110.0337', '29.887299', 3, 0, 1), (429004, 420000, '仙桃市', '仙桃', '113.45397', '30.364952', 3, 0, 1), (429005, 420000, '潜江市', '潜江', '112.896866', '30.421215', 3, 0, 1), (429006, 420000, '天门市', '天门', '113.16586', '30.65306', 3, 0, 1), (429021, 420000, '神农架林区', '神农架', '114.29857', '30.584354', 3, 0, 1), (430000, 0, '湖南省', '湖南', '112.98228', '28.19409', 1, 0, 1), (430100, 430000, '长沙市', '长沙', '112.98228', '28.19409', 2, 0, 1), (430102, 430100, '芙蓉区', '芙蓉', '112.98809', '28.193106', 3, 0, 1), (430103, 430100, '天心区', '天心', '112.97307', '28.192375', 3, 0, 1), (430104, 430100, '岳麓区', '岳麓', '112.91159', '28.213043', 3, 0, 1), (430105, 430100, '开福区', '开福', '112.98553', '28.201336', 3, 0, 1), (430111, 430100, '雨花区', '雨花', '113.016335', '28.109938', 3, 0, 1), (430112, 430100, '望城区', '望城', '112.8179', '28.36121', 3, 0, 1), (430121, 430100, '长沙县', '长沙', '113.0801', '28.237888', 3, 0, 1), (430181, 430100, '浏阳市', '浏阳', '113.6333', '28.141111', 3, 0, 1), (430182, 430100, '宁乡市', '宁乡', '112.55183', '28.27741', 3, 0, 1), (430200, 430000, '株洲市', '株洲', '113.15173', '27.835806', 2, 0, 1), (430202, 430200, '荷塘区', '荷塘', '113.162544', '27.833036', 3, 0, 1), (430203, 430200, '芦淞区', '芦淞', '113.15517', '27.827246', 3, 0, 1), (430204, 430200, '石峰区', '石峰', '113.11295', '27.871944', 3, 0, 1), (430211, 430200, '天元区', '天元', '113.13625', '27.826908', 3, 0, 1), (430212, 430200, '渌口区', '渌口', '113.14398', '27.69938', 3, 0, 1), (430223, 430200, '攸县', '攸县', '113.34577', '27.00007', 3, 0, 1), (430224, 430200, '茶陵县', '茶陵', '113.54651', '26.789534', 3, 0, 1), (430225, 430200, '炎陵县', '炎陵', '113.776886', '26.489458', 3, 0, 1), (430281, 430200, '醴陵市', '醴陵', '113.50716', '27.657873', 3, 0, 1), (430300, 430000, '湘潭市', '湘潭', '112.94405', '27.82973', 2, 0, 1), (430302, 430300, '雨湖区', '雨湖', '112.907425', '27.86077', 3, 0, 1), (430304, 430300, '岳塘区', '岳塘', '112.927704', '27.828854', 3, 0, 1), (430321, 430300, '湘潭县', '湘潭', '112.95283', '27.7786', 3, 0, 1), (430381, 430300, '湘乡市', '湘乡', '112.525215', '27.734919', 3, 0, 1), (430382, 430300, '韶山市', '韶山', '112.52848', '27.922682', 3, 0, 1), (430400, 430000, '衡阳市', '衡阳', '112.6077', '26.900358', 2, 0, 1), (430405, 430400, '珠晖区', '珠晖', '112.62633', '26.891064', 3, 0, 1), (430406, 430400, '雁峰区', '雁峰', '112.61224', '26.893694', 3, 0, 1), (430407, 430400, '石鼓区', '石鼓', '112.607635', '26.903908', 3, 0, 1), (430408, 430400, '蒸湘区', '蒸湘', '112.57061', '26.89087', 3, 0, 1), (430412, 430400, '南岳区', '南岳', '112.734146', '27.240536', 3, 0, 1), (430421, 430400, '衡阳县', '衡阳', '112.37965', '26.962387', 3, 0, 1), (430422, 430400, '衡南县', '衡南', '112.67746', '26.739973', 3, 0, 1), (430423, 430400, '衡山县', '衡山', '112.86971', '27.234808', 3, 0, 1), (430424, 430400, '衡东县', '衡东', '112.95041', '27.08353', 3, 0, 1), (430426, 430400, '祁东县', '祁东', '112.11119', '26.78711', 3, 0, 1), (430481, 430400, '耒阳市', '耒阳', '112.84721', '26.414162', 3, 0, 1), (430482, 430400, '常宁市', '常宁', '112.39682', '26.406773', 3, 0, 1), (430500, 430000, '邵阳市', '邵阳', '111.46923', '27.237843', 2, 0, 1), (430502, 430500, '双清区', '双清', '111.47976', '27.240002', 3, 0, 1), (430503, 430500, '大祥区', '大祥', '111.46297', '27.233593', 3, 0, 1), (430511, 430500, '北塔区', '北塔', '111.45232', '27.245687', 3, 0, 1), (430522, 430500, '新邵县', '新邵', '111.45976', '27.311428', 3, 0, 1), (430523, 430500, '邵阳县', '邵阳', '111.2757', '26.989714', 3, 0, 1), (430524, 430500, '隆回县', '隆回', '111.03879', '27.116001', 3, 0, 1), (430525, 430500, '洞口县', '洞口', '110.57921', '27.062286', 3, 0, 1), (430527, 430500, '绥宁县', '绥宁', '110.155075', '26.580622', 3, 0, 1), (430528, 430500, '新宁县', '新宁', '110.859116', '26.438911', 3, 0, 1), (430529, 430500, '城步苗族自治县', '城步', '110.313225', '26.363575', 3, 0, 1), (430581, 430500, '武冈市', '武冈', '110.6368', '26.732086', 3, 0, 1), (430582, 430500, '邵东市', '邵东', '111.74446', '27.25844', 3, 0, 1), (430600, 430000, '岳阳市', '岳阳', '113.13286', '29.37029', 2, 0, 1), (430602, 430600, '岳阳楼区', '岳阳楼', '113.12075', '29.366783', 3, 0, 1), (430603, 430600, '云溪区', '云溪', '113.27387', '29.473394', 3, 0, 1), (430611, 430600, '君山区', '君山', '113.00408', '29.438063', 3, 0, 1), (430621, 430600, '岳阳县', '岳阳', '113.11607', '29.144842', 3, 0, 1), (430623, 430600, '华容县', '华容', '112.55937', '29.524107', 3, 0, 1), (430624, 430600, '湘阴县', '湘阴', '112.88975', '28.677498', 3, 0, 1), (430626, 430600, '平江县', '平江', '113.59375', '28.701523', 3, 0, 1), (430681, 430600, '汨罗市', '汨罗', '113.07942', '28.803148', 3, 0, 1), (430682, 430600, '临湘市', '临湘', '113.450806', '29.471594', 3, 0, 1), (430700, 430000, '常德市', '常德', '111.691345', '29.040224', 2, 0, 1), (430702, 430700, '武陵区', '武陵', '111.69072', '29.040478', 3, 0, 1), (430703, 430700, '鼎城区', '鼎城', '111.685326', '29.014425', 3, 0, 1), (430721, 430700, '安乡县', '安乡', '112.17229', '29.414482', 3, 0, 1), (430722, 430700, '汉寿县', '汉寿', '111.968506', '28.907318', 3, 0, 1), (430723, 430700, '澧县', '澧县', '111.76168', '29.64264', 3, 0, 1), (430724, 430700, '临澧县', '临澧', '111.6456', '29.443216', 3, 0, 1), (430725, 430700, '桃源县', '桃源', '111.484505', '28.902735', 3, 0, 1), (430726, 430700, '石门县', '石门', '111.37909', '29.584703', 3, 0, 1), (430781, 430700, '津市市', '津市', '111.87961', '29.630867', 3, 0, 1), (430800, 430000, '张家界市', '张家界', '110.47992', '29.127401', 2, 0, 1), (430802, 430800, '永定区', '永定', '110.48456', '29.125961', 3, 0, 1), (430811, 430800, '武陵源区', '武陵源', '110.54758', '29.347828', 3, 0, 1), (430821, 430800, '慈利县', '慈利', '111.132706', '29.423876', 3, 0, 1), (430822, 430800, '桑植县', '桑植', '110.16404', '29.399939', 3, 0, 1), (430900, 430000, '益阳市', '益阳', '112.35504', '28.570066', 2, 0, 1), (430902, 430900, '资阳区', '资阳', '112.33084', '28.592772', 3, 0, 1), (430903, 430900, '赫山区', '赫山', '112.36095', '28.568327', 3, 0, 1), (430921, 430900, '南县', '南县', '112.4104', '29.37218', 3, 0, 1), (430922, 430900, '桃江县', '桃江', '112.13973', '28.520992', 3, 0, 1), (430923, 430900, '安化县', '安化', '111.221825', '28.37742', 3, 0, 1), (430981, 430900, '沅江市', '沅江', '112.36109', '28.839712', 3, 0, 1), (431000, 430000, '郴州市', '郴州', '113.03207', '25.793589', 2, 0, 1), (431002, 431000, '北湖区', '北湖', '113.03221', '25.792627', 3, 0, 1), (431003, 431000, '苏仙区', '苏仙', '113.0387', '25.793158', 3, 0, 1), (431021, 431000, '桂阳县', '桂阳', '112.73447', '25.737448', 3, 0, 1), (431022, 431000, '宜章县', '宜章', '112.94788', '25.394344', 3, 0, 1), (431023, 431000, '永兴县', '永兴', '113.11482', '26.129393', 3, 0, 1), (431024, 431000, '嘉禾县', '嘉禾', '112.37062', '25.587309', 3, 0, 1), (431025, 431000, '临武县', '临武', '112.56459', '25.27912', 3, 0, 1), (431026, 431000, '汝城县', '汝城', '113.685684', '25.553759', 3, 0, 1), (431027, 431000, '桂东县', '桂东', '113.94588', '26.073917', 3, 0, 1), (431028, 431000, '安仁县', '安仁', '113.27217', '26.708626', 3, 0, 1), (431081, 431000, '资兴市', '资兴', '113.23682', '25.974152', 3, 0, 1), (431100, 430000, '永州市', '永州', '111.60802', '26.434517', 2, 0, 1), (431102, 431100, '零陵区', '零陵', '111.62635', '26.223347', 3, 0, 1), (431103, 431100, '冷水滩区', '冷水滩', '111.607155', '26.434364', 3, 0, 1), (431121, 431100, '祁阳县', '祁阳', '111.85734', '26.58593', 3, 0, 1), (431122, 431100, '东安县', '东安', '111.313034', '26.397278', 3, 0, 1), (431123, 431100, '双牌县', '双牌', '111.66215', '25.959396', 3, 0, 1), (431124, 431100, '道县', '道县', '111.59161', '25.518444', 3, 0, 1), (431125, 431100, '江永县', '江永', '111.3468', '25.268154', 3, 0, 1), (431126, 431100, '宁远县', '宁远', '111.94453', '25.584112', 3, 0, 1), (431127, 431100, '蓝山县', '蓝山', '112.1942', '25.375256', 3, 0, 1), (431128, 431100, '新田县', '新田', '112.220345', '25.906927', 3, 0, 1), (431129, 431100, '江华瑶族自治县', '江华', '111.57728', '25.182596', 3, 0, 1), (431200, 430000, '怀化市', '怀化', '109.97824', '27.550081', 2, 0, 1), (431202, 431200, '鹤城区', '鹤城', '109.98224', '27.548473', 3, 0, 1), (431221, 431200, '中方县', '中方', '109.94806', '27.43736', 3, 0, 1), (431222, 431200, '沅陵县', '沅陵', '110.39916', '28.455553', 3, 0, 1), (431223, 431200, '辰溪县', '辰溪', '110.19695', '28.005474', 3, 0, 1), (431224, 431200, '溆浦县', '溆浦', '110.593376', '27.903803', 3, 0, 1), (431225, 431200, '会同县', '会同', '109.72079', '26.870789', 3, 0, 1), (431226, 431200, '麻阳苗族自治县', '麻阳', '109.80281', '27.865992', 3, 0, 1), (431227, 431200, '新晃侗族自治县', '新晃', '109.174446', '27.359898', 3, 0, 1), (431228, 431200, '芷江侗族自治县', '芷江', '109.687775', '27.437996', 3, 0, 1), (431229, 431200, '靖州苗族侗族自治县', '靖州', '109.69116', '26.573511', 3, 0, 1), (431230, 431200, '通道侗族自治县', '通道', '109.783356', '26.158348', 3, 0, 1), (431281, 431200, '洪江市', '洪江', '109.831764', '27.201876', 3, 0, 1), (431300, 430000, '娄底市', '娄底', '112.0085', '27.728136', 2, 0, 1), (431302, 431300, '娄星区', '娄星', '112.008484', '27.726643', 3, 0, 1), (431321, 431300, '双峰县', '双峰', '112.19824', '27.459126', 3, 0, 1), (431322, 431300, '新化县', '新化', '111.30675', '27.737455', 3, 0, 1), (431381, 431300, '冷水江市', '冷水江', '111.43468', '27.685759', 3, 0, 1), (431382, 431300, '涟源市', '涟源', '111.670845', '27.6923', 3, 0, 1), (433100, 430000, '湘西土家族苗族自治州', '湘西', '109.73974', '28.314297', 2, 0, 1), (433101, 433100, '吉首市', '吉首', '109.73827', '28.314827', 3, 0, 1), (433122, 433100, '泸溪县', '泸溪', '110.21443', '28.214516', 3, 0, 1), (433123, 433100, '凤凰县', '凤凰', '109.59919', '27.948309', 3, 0, 1), (433124, 433100, '花垣县', '花垣', '109.479065', '28.581352', 3, 0, 1), (433125, 433100, '保靖县', '保靖', '109.65144', '28.709604', 3, 0, 1), (433126, 433100, '古丈县', '古丈', '109.94959', '28.616974', 3, 0, 1), (433127, 433100, '永顺县', '永顺', '109.853294', '28.998068', 3, 0, 1), (433130, 433100, '龙山县', '龙山', '109.44119', '29.453438', 3, 0, 1), (440000, 0, '广东省', '广东', '113.28064', '23.125177', 1, 0, 1), (440100, 440000, '广州市', '广州', '113.28064', '23.125177', 2, 0, 1), (440103, 440100, '荔湾区', '荔湾', '113.243034', '23.124943', 3, 0, 1), (440104, 440100, '越秀区', '越秀', '113.280716', '23.125624', 3, 0, 1), (440105, 440100, '海珠区', '海珠', '113.26201', '23.10313', 3, 0, 1), (440106, 440100, '天河区', '天河', '113.335365', '23.13559', 3, 0, 1), (440111, 440100, '白云区', '白云', '113.26283', '23.162281', 3, 0, 1), (440112, 440100, '黄埔区', '黄埔', '113.45076', '23.10324', 3, 0, 1), (440113, 440100, '番禺区', '番禺', '113.36462', '22.938581', 3, 0, 1), (440114, 440100, '花都区', '花都', '113.21118', '23.39205', 3, 0, 1), (440115, 440100, '南沙区', '南沙', '113.53738', '22.79453', 3, 0, 1), (440117, 440100, '从化区', '从化', '113.58646', '23.54835', 3, 0, 1), (440118, 440100, '增城区', '增城', '113.8109', '23.26093', 3, 0, 1), (440200, 440000, '韶关市', '韶关', '113.591545', '24.801323', 2, 0, 1), (440203, 440200, '武江区', '武江', '113.58829', '24.80016', 3, 0, 1), (440204, 440200, '浈江区', '浈江', '113.59922', '24.803976', 3, 0, 1), (440205, 440200, '曲江区', '曲江', '113.60558', '24.680195', 3, 0, 1), (440222, 440200, '始兴县', '始兴', '114.06721', '24.948364', 3, 0, 1), (440224, 440200, '仁化县', '仁化', '113.74863', '25.088226', 3, 0, 1), (440229, 440200, '翁源县', '翁源', '114.13129', '24.353888', 3, 0, 1), (440232, 440200, '乳源瑶族自治县', '乳源', '113.27842', '24.77611', 3, 0, 1), (440233, 440200, '新丰县', '新丰', '114.20703', '24.055412', 3, 0, 1), (440281, 440200, '乐昌市', '乐昌', '113.35241', '25.128445', 3, 0, 1), (440282, 440200, '南雄市', '南雄', '114.31123', '25.115328', 3, 0, 1), (440300, 440000, '深圳市', '深圳', '114.085945', '22.547', 2, 0, 1), (440303, 440300, '罗湖区', '罗湖', '114.123886', '22.555342', 3, 0, 1), (440304, 440300, '福田区', '福田', '114.05096', '22.54101', 3, 0, 1), (440305, 440300, '南山区', '南山', '113.92943', '22.531221', 3, 0, 1), (440306, 440300, '宝安区', '宝安', '113.828674', '22.754742', 3, 0, 1), (440307, 440300, '龙岗区', '龙岗', '114.25137', '22.721512', 3, 0, 1), (440308, 440300, '盐田区', '盐田', '114.23537', '22.555069', 3, 0, 1), (440309, 440300, '龙华区', '龙华', '114.06031', '22.72174', 3, 0, 1), (440310, 440300, '坪山区', '坪山', '114.34632', '22.69084', 3, 0, 1), (440311, 440300, '光明区', '光明', '113.93588', '22.74894', 3, 0, 1), (440400, 440000, '珠海市', '珠海', '113.553986', '22.22498', 2, 0, 1), (440402, 440400, '香洲区', '香洲', '113.55027', '22.27125', 3, 0, 1), (440403, 440400, '斗门区', '斗门', '113.29774', '22.209118', 3, 0, 1), (440404, 440400, '金湾区', '金湾', '113.34507', '22.139122', 3, 0, 1), (440500, 440000, '汕头市', '汕头', '116.708466', '23.37102', 2, 0, 1), (440507, 440500, '龙湖区', '龙湖', '116.73202', '23.373755', 3, 0, 1), (440511, 440500, '金平区', '金平', '116.70358', '23.367071', 3, 0, 1), (440512, 440500, '濠江区', '濠江', '116.72953', '23.279345', 3, 0, 1), (440513, 440500, '潮阳区', '潮阳', '116.6026', '23.262337', 3, 0, 1), (440514, 440500, '潮南区', '潮南', '116.42361', '23.249798', 3, 0, 1), (440515, 440500, '澄海区', '澄海', '116.76336', '23.46844', 3, 0, 1), (440523, 440500, '南澳县', '南澳', '117.02711', '23.419561', 3, 0, 1), (440600, 440000, '佛山市', '佛山', '113.12272', '23.028763', 2, 0, 1), (440604, 440600, '禅城区', '禅城', '113.11241', '23.019644', 3, 0, 1), (440605, 440600, '南海区', '南海', '113.14558', '23.031563', 3, 0, 1), (440606, 440600, '顺德区', '顺德', '113.28182', '22.75851', 3, 0, 1), (440607, 440600, '三水区', '三水', '112.899414', '23.16504', 3, 0, 1), (440608, 440600, '高明区', '高明', '112.882126', '22.893854', 3, 0, 1), (440700, 440000, '江门市', '江门', '113.09494', '22.590431', 2, 0, 1), (440703, 440700, '蓬江区', '蓬江', '113.07859', '22.59677', 3, 0, 1), (440704, 440700, '江海区', '江海', '113.1206', '22.57221', 3, 0, 1), (440705, 440700, '新会区', '新会', '113.03858', '22.520247', 3, 0, 1), (440781, 440700, '台山市', '台山', '112.79341', '22.250713', 3, 0, 1), (440783, 440700, '开平市', '开平', '112.69226', '22.366285', 3, 0, 1), (440784, 440700, '鹤山市', '鹤山', '112.96179', '22.768105', 3, 0, 1), (440785, 440700, '恩平市', '恩平', '112.31405', '22.182957', 3, 0, 1), (440800, 440000, '湛江市', '湛江', '110.364975', '21.274899', 2, 0, 1), (440802, 440800, '赤坎区', '赤坎', '110.36163', '21.273365', 3, 0, 1), (440803, 440800, '霞山区', '霞山', '110.40638', '21.19423', 3, 0, 1), (440804, 440800, '坡头区', '坡头', '110.455635', '21.24441', 3, 0, 1), (440811, 440800, '麻章区', '麻章', '110.32917', '21.265997', 3, 0, 1), (440823, 440800, '遂溪县', '遂溪', '110.25532', '21.376915', 3, 0, 1), (440825, 440800, '徐闻县', '徐闻', '110.17572', '20.326082', 3, 0, 1), (440881, 440800, '廉江市', '廉江', '110.28496', '21.61128', 3, 0, 1), (440882, 440800, '雷州市', '雷州', '110.08827', '20.908524', 3, 0, 1), (440883, 440800, '吴川市', '吴川', '110.78051', '21.428453', 3, 0, 1), (440900, 440000, '茂名市', '茂名', '110.91923', '21.659752', 2, 0, 1), (440902, 440900, '茂南区', '茂南', '110.92054', '21.660425', 3, 0, 1), (440904, 440900, '电白区', '电白', '111.01636', '21.51428', 3, 0, 1), (440981, 440900, '高州市', '高州', '110.85325', '21.915154', 3, 0, 1), (440982, 440900, '化州市', '化州', '110.63839', '21.654953', 3, 0, 1), (440983, 440900, '信宜市', '信宜', '110.94166', '22.35268', 3, 0, 1), (441200, 440000, '肇庆市', '肇庆', '112.47253', '23.051546', 2, 0, 1), (441202, 441200, '端州区', '端州', '112.47233', '23.052662', 3, 0, 1), (441203, 441200, '鼎湖区', '鼎湖', '112.56525', '23.155823', 3, 0, 1), (441204, 441200, '高要区', '高要', '112.45839', '23.02581', 3, 0, 1), (441223, 441200, '广宁县', '广宁', '112.44042', '23.631487', 3, 0, 1), (441224, 441200, '怀集县', '怀集', '112.182465', '23.913073', 3, 0, 1), (441225, 441200, '封开县', '封开', '111.502975', '23.43473', 3, 0, 1), (441226, 441200, '德庆县', '德庆', '111.78156', '23.14171', 3, 0, 1), (441284, 441200, '四会市', '四会', '112.69503', '23.340324', 3, 0, 1), (441300, 440000, '惠州市', '惠州', '114.4126', '23.079405', 2, 0, 1), (441302, 441300, '惠城区', '惠城', '114.41398', '23.079884', 3, 0, 1), (441303, 441300, '惠阳区', '惠阳', '114.469444', '22.78851', 3, 0, 1), (441322, 441300, '博罗县', '博罗', '114.284256', '23.167576', 3, 0, 1), (441323, 441300, '惠东县', '惠东', '114.72309', '22.983036', 3, 0, 1), (441324, 441300, '龙门县', '龙门', '114.25999', '23.723894', 3, 0, 1), (441400, 440000, '梅州市', '梅州', '116.117584', '24.299112', 2, 0, 1), (441402, 441400, '梅江区', '梅江', '116.12116', '24.302593', 3, 0, 1), (441403, 441400, '梅县区', '梅县', '116.08245', '24.26539', 3, 0, 1), (441422, 441400, '大埔县', '大埔', '116.69552', '24.351587', 3, 0, 1), (441423, 441400, '丰顺县', '丰顺', '116.18442', '23.752771', 3, 0, 1), (441424, 441400, '五华县', '五华', '115.775', '23.925425', 3, 0, 1), (441426, 441400, '平远县', '平远', '115.89173', '24.56965', 3, 0, 1), (441427, 441400, '蕉岭县', '蕉岭', '116.17053', '24.653313', 3, 0, 1), (441481, 441400, '兴宁市', '兴宁', '115.73165', '24.138077', 3, 0, 1), (441500, 440000, '汕尾市', '汕尾', '115.364235', '22.774485', 2, 0, 1), (441502, 441500, '城区', '城区', '115.36367', '22.776228', 3, 0, 1), (441521, 441500, '海丰县', '海丰', '115.337326', '22.971043', 3, 0, 1), (441523, 441500, '陆河县', '陆河', '115.65756', '23.302683', 3, 0, 1), (441581, 441500, '陆丰市', '陆丰', '115.6442', '22.946104', 3, 0, 1), (441600, 440000, '河源市', '河源', '114.6978', '23.746265', 2, 0, 1), (441602, 441600, '源城区', '源城', '114.69683', '23.746256', 3, 0, 1), (441621, 441600, '紫金县', '紫金', '115.18438', '23.633743', 3, 0, 1), (441622, 441600, '龙川县', '龙川', '115.25642', '24.101173', 3, 0, 1), (441623, 441600, '连平县', '连平', '114.49595', '24.364227', 3, 0, 1), (441624, 441600, '和平县', '和平', '114.941475', '24.44318', 3, 0, 1), (441625, 441600, '东源县', '东源', '114.742714', '23.789093', 3, 0, 1), (441700, 440000, '阳江市', '阳江', '111.975105', '21.859222', 2, 0, 1), (441702, 441700, '江城区', '江城', '111.96891', '21.859182', 3, 0, 1), (441704, 441700, '阳东区', '阳东', '112.0067', '21.86829', 3, 0, 1), (441721, 441700, '阳西县', '阳西', '111.61755', '21.75367', 3, 0, 1), (441781, 441700, '阳春市', '阳春', '111.7905', '22.169598', 3, 0, 1), (441800, 440000, '清远市', '清远', '113.05122', '23.685022', 2, 0, 1), (441802, 441800, '清城区', '清城', '113.0487', '23.688976', 3, 0, 1), (441803, 441800, '清新区', '清新', '113.01658', '23.73474', 3, 0, 1), (441821, 441800, '佛冈县', '佛冈', '113.534096', '23.86674', 3, 0, 1), (441823, 441800, '阳山县', '阳山', '112.63402', '24.470285', 3, 0, 1), (441825, 441800, '连山壮族瑶族自治县', '连山', '112.086555', '24.56727', 3, 0, 1), (441826, 441800, '连南瑶族自治县', '连南', '112.29081', '24.719097', 3, 0, 1), (441881, 441800, '英德市', '英德', '113.4054', '24.18612', 3, 0, 1), (441882, 441800, '连州市', '连州', '112.37927', '24.783966', 3, 0, 1), (441900, 440000, '东莞市', '东莞', '113.74626', '23.046238', 2, 0, 1), (442000, 440000, '中山市', '中山', '113.38239', '22.521112', 2, 0, 1), (445100, 440000, '潮州市', '潮州', '116.6323', '23.661701', 2, 0, 1), (445102, 445100, '湘桥区', '湘桥', '116.63365', '23.664675', 3, 0, 1), (445103, 445100, '潮安区', '潮安', '116.67809', '23.46244', 3, 0, 1), (445122, 445100, '饶平县', '饶平', '117.00205', '23.66817', 3, 0, 1), (445200, 440000, '揭阳市', '揭阳', '116.355736', '23.543777', 2, 0, 1), (445202, 445200, '榕城区', '榕城', '116.35705', '23.535524', 3, 0, 1), (445203, 445200, '揭东区', '揭东', '116.41211', '23.56606', 3, 0, 1), (445222, 445200, '揭西县', '揭西', '115.83871', '23.4273', 3, 0, 1), (445224, 445200, '惠来县', '惠来', '116.29583', '23.029835', 3, 0, 1), (445281, 445200, '普宁市', '普宁', '116.165085', '23.29788', 3, 0, 1), (445300, 440000, '云浮市', '云浮', '112.04444', '22.929802', 2, 0, 1), (445302, 445300, '云城区', '云城', '112.04471', '22.930826', 3, 0, 1), (445303, 445300, '云安区', '云安', '112.00324', '23.07101', 3, 0, 1), (445321, 445300, '新兴县', '新兴', '112.23083', '22.703203', 3, 0, 1), (445322, 445300, '郁南县', '郁南', '111.53592', '23.237709', 3, 0, 1), (445381, 445300, '罗定市', '罗定', '111.5782', '22.765415', 3, 0, 1), (450000, 0, '广西壮族自治区', '广西', '108.32001', '22.82402', 1, 0, 1), (450100, 450000, '南宁市', '南宁', '108.32001', '22.82402', 2, 0, 1), (450102, 450100, '兴宁区', '兴宁', '108.32019', '22.819511', 3, 0, 1), (450103, 450100, '青秀区', '青秀', '108.346115', '22.816614', 3, 0, 1), (450105, 450100, '江南区', '江南', '108.31048', '22.799593', 3, 0, 1), (450107, 450100, '西乡塘区', '西乡塘', '108.3069', '22.832779', 3, 0, 1), (450108, 450100, '良庆区', '良庆', '108.322105', '22.75909', 3, 0, 1), (450109, 450100, '邕宁区', '邕宁', '108.48425', '22.756598', 3, 0, 1), (450110, 450100, '武鸣区', '武鸣', '108.27461', '23.15866', 3, 0, 1), (450123, 450100, '隆安县', '隆安', '107.68866', '23.174763', 3, 0, 1), (450124, 450100, '马山县', '马山', '108.172905', '23.711758', 3, 0, 1), (450125, 450100, '上林县', '上林', '108.603935', '23.431768', 3, 0, 1), (450126, 450100, '宾阳县', '宾阳', '108.816734', '23.216885', 3, 0, 1), (450127, 450100, '横县', '横县', '109.27099', '22.68743', 3, 0, 1), (450200, 450000, '柳州市', '柳州', '109.411705', '24.314617', 2, 0, 1), (450202, 450200, '城中区', '城中', '109.41175', '24.312325', 3, 0, 1), (450203, 450200, '鱼峰区', '鱼峰', '109.41537', '24.303848', 3, 0, 1), (450204, 450200, '柳南区', '柳南', '109.395935', '24.287012', 3, 0, 1), (450205, 450200, '柳北区', '柳北', '109.40658', '24.359144', 3, 0, 1), (450206, 450200, '柳江区', '柳江', '109.32672', '24.25465', 3, 0, 1), (450222, 450200, '柳城县', '柳城', '109.24581', '24.65512', 3, 0, 1), (450223, 450200, '鹿寨县', '鹿寨', '109.74081', '24.483404', 3, 0, 1), (450224, 450200, '融安县', '融安', '109.40362', '25.214703', 3, 0, 1), (450225, 450200, '融水苗族自治县', '融水', '109.25275', '25.068811', 3, 0, 1), (450226, 450200, '三江侗族自治县', '三江', '109.614845', '25.78553', 3, 0, 1), (450300, 450000, '桂林市', '桂林', '110.29912', '25.274216', 2, 0, 1), (450302, 450300, '秀峰区', '秀峰', '110.29244', '25.278543', 3, 0, 1), (450303, 450300, '叠彩区', '叠彩', '110.30078', '25.301334', 3, 0, 1), (450304, 450300, '象山区', '象山', '110.28488', '25.261986', 3, 0, 1), (450305, 450300, '七星区', '七星', '110.31757', '25.25434', 3, 0, 1), (450311, 450300, '雁山区', '雁山', '110.305664', '25.077646', 3, 0, 1), (450312, 450300, '临桂区', '临桂', '110.2124', '25.23868', 3, 0, 1), (450321, 450300, '阳朔县', '阳朔', '110.4947', '24.77534', 3, 0, 1), (450323, 450300, '灵川县', '灵川', '110.325714', '25.40854', 3, 0, 1), (450324, 450300, '全州县', '全州', '111.07299', '25.929897', 3, 0, 1), (450325, 450300, '兴安县', '兴安', '110.670784', '25.609554', 3, 0, 1), (450326, 450300, '永福县', '永福', '109.989204', '24.986692', 3, 0, 1), (450327, 450300, '灌阳县', '灌阳', '111.16025', '25.489098', 3, 0, 1), (450328, 450300, '龙胜各族自治县', '龙胜', '110.00942', '25.796429', 3, 0, 1), (450329, 450300, '资源县', '资源', '110.642586', '26.0342', 3, 0, 1), (450330, 450300, '平乐县', '平乐', '110.64282', '24.632215', 3, 0, 1), (450332, 450300, '恭城瑶族自治县', '恭城', '110.82952', '24.833612', 3, 0, 1), (450381, 450300, '荔浦市', '荔浦', '110.39517', '24.48887', 3, 0, 1), (450400, 450000, '梧州市', '梧州', '111.29761', '23.474804', 2, 0, 1), (450403, 450400, '万秀区', '万秀', '111.31582', '23.471317', 3, 0, 1), (450405, 450400, '长洲区', '长洲', '111.27568', '23.4777', 3, 0, 1), (450406, 450400, '龙圩区', '龙圩', '111.24603', '23.40996', 3, 0, 1), (450421, 450400, '苍梧县', '苍梧', '111.54401', '23.845097', 3, 0, 1), (450422, 450400, '藤县', '藤县', '110.93182', '23.373962', 3, 0, 1), (450423, 450400, '蒙山县', '蒙山', '110.5226', '24.19983', 3, 0, 1), (450481, 450400, '岑溪市', '岑溪', '110.998116', '22.918406', 3, 0, 1), (450500, 450000, '北海市', '北海', '109.119255', '21.473343', 2, 0, 1), (450502, 450500, '海城区', '海城', '109.10753', '21.468443', 3, 0, 1), (450503, 450500, '银海区', '银海', '109.118706', '21.444908', 3, 0, 1), (450512, 450500, '铁山港区', '铁山港', '109.45058', '21.5928', 3, 0, 1), (450521, 450500, '合浦县', '合浦', '109.20069', '21.663553', 3, 0, 1), (450600, 450000, '防城港市', '防城港', '108.345474', '21.614632', 2, 0, 1), (450602, 450600, '港口区', '港口', '108.34628', '21.614407', 3, 0, 1), (450603, 450600, '防城区', '防城', '108.35843', '21.764757', 3, 0, 1), (450621, 450600, '上思县', '上思', '107.98214', '22.151423', 3, 0, 1), (450681, 450600, '东兴市', '东兴', '107.97017', '21.541172', 3, 0, 1), (450700, 450000, '钦州市', '钦州', '108.624176', '21.967127', 2, 0, 1), (450702, 450700, '钦南区', '钦南', '108.62663', '21.966808', 3, 0, 1), (450703, 450700, '钦北区', '钦北', '108.44911', '22.132761', 3, 0, 1), (450721, 450700, '灵山县', '灵山', '109.293465', '22.418041', 3, 0, 1), (450722, 450700, '浦北县', '浦北', '109.55634', '22.268335', 3, 0, 1), (450800, 450000, '贵港市', '贵港', '109.60214', '23.0936', 2, 0, 1), (450802, 450800, '港北区', '港北', '109.59481', '23.107677', 3, 0, 1), (450803, 450800, '港南区', '港南', '109.60467', '23.067516', 3, 0, 1), (450804, 450800, '覃塘区', '覃塘', '109.415695', '23.132814', 3, 0, 1), (450821, 450800, '平南县', '平南', '110.397484', '23.544546', 3, 0, 1), (450881, 450800, '桂平市', '桂平', '110.07467', '23.382473', 3, 0, 1), (450900, 450000, '玉林市', '玉林', '110.154396', '22.63136', 2, 0, 1), (450902, 450900, '玉州区', '玉州', '110.154915', '22.632132', 3, 0, 1), (450903, 450900, '福绵区', '福绵', '110.05143', '22.579947', 3, 0, 1), (450921, 450900, '容县', '容县', '110.55247', '22.856436', 3, 0, 1), (450922, 450900, '陆川县', '陆川', '110.26484', '22.321054', 3, 0, 1), (450923, 450900, '博白县', '博白', '109.98', '22.271284', 3, 0, 1), (450924, 450900, '兴业县', '兴业', '109.87777', '22.74187', 3, 0, 1), (450981, 450900, '北流市', '北流', '110.34805', '22.701649', 3, 0, 1), (451000, 450000, '百色市', '百色', '106.61629', '23.897741', 2, 0, 1), (451002, 451000, '右江区', '右江', '106.61573', '23.897675', 3, 0, 1), (451003, 451000, '田阳区', '田阳', '106.91567', '23.73567', 3, 0, 1), (451022, 451000, '田东县', '田东', '107.12426', '23.600445', 3, 0, 1), (451024, 451000, '德保县', '德保', '106.618164', '23.321465', 3, 0, 1), (451026, 451000, '那坡县', '那坡', '105.83355', '23.400785', 3, 0, 1), (451027, 451000, '凌云县', '凌云', '106.56487', '24.345642', 3, 0, 1), (451028, 451000, '乐业县', '乐业', '106.55964', '24.782204', 3, 0, 1), (451029, 451000, '田林县', '田林', '106.23505', '24.290262', 3, 0, 1), (451030, 451000, '西林县', '西林', '105.095024', '24.49204', 3, 0, 1), (451031, 451000, '隆林各族自治县', '隆林', '105.34236', '24.774319', 3, 0, 1), (451081, 451000, '靖西市', '靖西', '106.41769', '23.13402', 3, 0, 1), (451082, 451000, '平果市', '平果', '107.58988', '23.32934', 3, 0, 1), (451100, 450000, '贺州市', '贺州', '111.552055', '24.41414', 2, 0, 1), (451102, 451100, '八步区', '八步', '111.551994', '24.412445', 3, 0, 1), (451103, 451100, '平桂区', '平桂', '111.47971', '24.45296', 3, 0, 1), (451121, 451100, '昭平县', '昭平', '110.81087', '24.172958', 3, 0, 1), (451122, 451100, '钟山县', '钟山', '111.30363', '24.528566', 3, 0, 1), (451123, 451100, '富川瑶族自治县', '富川', '111.27723', '24.81896', 3, 0, 1), (451200, 450000, '河池市', '河池', '108.0621', '24.695898', 2, 0, 1), (451202, 451200, '金城江区', '金城江', '108.06213', '24.695625', 3, 0, 1), (451203, 451200, '宜州区', '宜州', '108.63656', '24.48513', 3, 0, 1), (451221, 451200, '南丹县', '南丹', '107.54661', '24.983192', 3, 0, 1), (451222, 451200, '天峨县', '天峨', '107.17494', '24.985964', 3, 0, 1), (451223, 451200, '凤山县', '凤山', '107.04459', '24.544561', 3, 0, 1), (451224, 451200, '东兰县', '东兰', '107.373695', '24.509367', 3, 0, 1), (451225, 451200, '罗城仫佬族自治县', '罗城', '108.90245', '24.779327', 3, 0, 1), (451226, 451200, '环江毛南族自治县', '环江', '108.25867', '24.827627', 3, 0, 1), (451227, 451200, '巴马瑶族自治县', '巴马', '107.25313', '24.139538', 3, 0, 1), (451228, 451200, '都安瑶族自治县', '都安', '108.10276', '23.934963', 3, 0, 1), (451229, 451200, '大化瑶族自治县', '大化', '107.9945', '23.739595', 3, 0, 1), (451300, 450000, '来宾市', '来宾', '109.229774', '23.733767', 2, 0, 1), (451302, 451300, '兴宾区', '兴宾', '109.23054', '23.732925', 3, 0, 1), (451321, 451300, '忻城县', '忻城', '108.66736', '24.06478', 3, 0, 1), (451322, 451300, '象州县', '象州', '109.684555', '23.959824', 3, 0, 1), (451323, 451300, '武宣县', '武宣', '109.66287', '23.604162', 3, 0, 1), (451324, 451300, '金秀瑶族自治县', '金秀', '110.18855', '24.134941', 3, 0, 1), (451381, 451300, '合山市', '合山', '108.88858', '23.81311', 3, 0, 1), (451400, 450000, '崇左市', '崇左', '107.35393', '22.404108', 2, 0, 1), (451402, 451400, '江州区', '江州', '107.35445', '22.40469', 3, 0, 1), (451421, 451400, '扶绥县', '扶绥', '107.91153', '22.63582', 3, 0, 1), (451422, 451400, '宁明县', '宁明', '107.06762', '22.131353', 3, 0, 1), (451423, 451400, '龙州县', '龙州', '106.857506', '22.343716', 3, 0, 1), (451424, 451400, '大新县', '大新', '107.200806', '22.833368', 3, 0, 1), (451425, 451400, '天等县', '天等', '107.14244', '23.082483', 3, 0, 1), (451481, 451400, '凭祥市', '凭祥', '106.75904', '22.108883', 3, 0, 1), (460000, 0, '海南省', '海南', '110.33119', '20.031971', 1, 0, 1), (460100, 460000, '海口市', '海口', '110.33119', '20.031971', 2, 0, 1), (460105, 460100, '秀英区', '秀英', '110.282394', '20.008144', 3, 0, 1), (460106, 460100, '龙华区', '龙华', '110.330376', '20.031027', 3, 0, 1), (460107, 460100, '琼山区', '琼山', '110.35472', '20.00105', 3, 0, 1), (460108, 460100, '美兰区', '美兰', '110.35657', '20.03074', 3, 0, 1), (460200, 460000, '三亚市', '三亚', '109.50827', '18.247871', 2, 0, 1), (460202, 460200, '海棠区', '海棠', '109.7525', '18.40005', 3, 0, 1), (460203, 460200, '吉阳区', '吉阳', '109.57841', '18.28225', 3, 0, 1), (460204, 460200, '天涯区', '天涯', '109.45263', '18.29921', 3, 0, 1), (460205, 460200, '崖州区', '崖州', '109.17186', '18.35753', 3, 0, 1), (460300, 460000, '三沙市', '三沙', '112.34882', '16.83104', 2, 0, 1), (460321, 460300, '西沙群岛', '西沙群岛', '112.338695', '16.831839', 3, 0, 1), (460322, 460300, '南沙群岛', '南沙群岛', '112.338695', '16.831839', 3, 0, 1), (460323, 460300, '中沙群岛的岛礁及其海域', '中沙群岛的岛礁及其海域', '112.338695', '16.831839', 3, 0, 1), (460400, 460000, '儋州市', '儋州', '109.58069', '19.52093', 2, 0, 1), (469001, 469000, '五指山市', '五指山', '109.51666', '18.77692', 3, 0, 1), (469002, 469000, '琼海市', '琼海', '110.46678', '19.246012', 3, 0, 1), (469005, 469000, '文昌市', '文昌', '110.753975', '19.612986', 3, 0, 1), (469006, 469000, '万宁市', '万宁', '110.388794', '18.796215', 3, 0, 1), (469007, 469000, '东方市', '东方', '108.653786', '19.10198', 3, 0, 1), (469021, 469000, '定安县', '定安', '110.3593', '19.68121', 3, 0, 1), (469022, 469000, '屯昌县', '屯昌', '110.10347', '19.35182', 3, 0, 1), (469023, 469000, '澄迈县', '澄迈', '110.00487', '19.73849', 3, 0, 1), (469024, 469000, '临高县', '临高', '109.69077', '19.91243', 3, 0, 1), (469025, 469000, '白沙黎族自治县', '定安', '110.349236', '19.684965', 3, 0, 1), (469026, 469000, '昌江黎族自治县', '屯昌', '110.102776', '19.362917', 3, 0, 1), (469027, 469000, '乐东黎族自治县', '澄迈', '110.00715', '19.737095', 3, 0, 1), (469028, 469000, '陵水黎族自治县', '临高', '109.6877', '19.908293', 3, 0, 1), (469029, 469000, '保亭黎族苗族自治县', '保亭黎族苗族自治县', '109.70259', '18.63905', 3, 0, 1), (469030, 469000, '琼中黎族苗族自治县', '白沙', '109.45261', '19.224585', 3, 0, 1), (500000, 0, '重庆市', '重庆', '106.50496', '29.533155', 1, 0, 1), (500100, 500000, '重庆市', '重庆', '106.50496', '29.533155', 2, 0, 1), (500101, 500100, '万州区', '万州', '108.38025', '30.807808', 3, 0, 1), (500102, 500100, '涪陵区', '涪陵', '107.394905', '29.703651', 3, 0, 1), (500103, 500100, '渝中区', '渝中', '106.56288', '29.556742', 3, 0, 1), (500104, 500100, '大渡口区', '大渡口', '106.48613', '29.481003', 3, 0, 1), (500105, 500100, '江北区', '江北', '106.532845', '29.575352', 3, 0, 1), (500106, 500100, '沙坪坝区', '沙坪坝', '106.4542', '29.541224', 3, 0, 1), (500107, 500100, '九龙坡区', '九龙坡', '106.48099', '29.523493', 3, 0, 1), (500108, 500100, '南岸区', '南岸', '106.560814', '29.523993', 3, 0, 1), (500109, 500100, '北碚区', '北碚', '106.43787', '29.82543', 3, 0, 1), (500110, 500100, '綦江区', '綦江', '106.92852', '28.96463', 3, 0, 1), (500111, 500100, '大足区', '大足', '105.78017', '29.48604', 3, 0, 1), (500112, 500100, '渝北区', '渝北', '106.51285', '29.601452', 3, 0, 1), (500113, 500100, '巴南区', '巴南', '106.519424', '29.38192', 3, 0, 1), (500114, 500100, '黔江区', '黔江', '108.78258', '29.527548', 3, 0, 1), (500115, 500100, '长寿区', '长寿', '107.07485', '29.833672', 3, 0, 1), (500116, 500100, '江津区', '江津', '106.25936', '29.29014', 3, 0, 1), (500117, 500100, '合川区', '合川', '106.27679', '29.97288', 3, 0, 1), (500118, 500100, '永川区', '永川', '105.92709', '29.356', 3, 0, 1), (500119, 500100, '南川区', '南川', '107.09896', '29.15788', 3, 0, 1), (500120, 500100, '璧山区', '璧山', '106.22742', '29.59202', 3, 0, 1), (500151, 500100, '铜梁区', '铜梁', '106.05638', '29.84475', 3, 0, 1), (500152, 500100, '潼南区', '潼南', '105.83952', '30.19054', 3, 0, 1), (500153, 500100, '荣昌区', '荣昌', '105.61188', '29.41671', 3, 0, 1), (500154, 500100, '开州区', '开州', '108.39311', '31.16098', 3, 0, 1), (500155, 500100, '梁平区', '梁平', '107.80235', '30.67373', 3, 0, 1), (500156, 500100, '武隆区', '武隆', '107.75993', '29.32543', 3, 0, 1), (500229, 500100, '城口县', '城口', '108.6649', '31.946293', 3, 0, 1), (500230, 500100, '丰都县', '丰都', '107.73248', '29.866425', 3, 0, 1), (500231, 500100, '垫江县', '垫江', '107.348694', '30.330011', 3, 0, 1), (500233, 500100, '忠县', '忠县', '108.03752', '30.291536', 3, 0, 1), (500235, 500100, '云阳县', '云阳', '108.6977', '30.930529', 3, 0, 1), (500236, 500100, '奉节县', '奉节', '109.465775', '31.019966', 3, 0, 1), (500237, 500100, '巫山县', '巫山', '109.87893', '31.074842', 3, 0, 1), (500238, 500100, '巫溪县', '巫溪', '109.628914', '31.3966', 3, 0, 1), (500240, 500100, '石柱土家族自治县', '石柱', '108.11245', '29.99853', 3, 0, 1), (500241, 500100, '秀山土家族苗族自治县', '秀山', '108.99604', '28.444773', 3, 0, 1), (500242, 500100, '酉阳土家族苗族自治县', '酉阳', '108.767204', '28.839828', 3, 0, 1), (500243, 500100, '彭水苗族土家族自治县', '彭水', '108.16655', '29.293856', 3, 0, 1), (510000, 0, '四川省', '四川', '104.065735', '30.659462', 1, 0, 1), (510100, 510000, '成都市', '成都', '104.065735', '30.659462', 2, 0, 1), (510104, 510100, '锦江区', '锦江', '104.080986', '30.657688', 3, 0, 1), (510105, 510100, '青羊区', '青羊', '104.05573', '30.667648', 3, 0, 1), (510106, 510100, '金牛区', '金牛', '104.04349', '30.692059', 3, 0, 1), (510107, 510100, '武侯区', '武侯', '104.05167', '30.630861', 3, 0, 1), (510108, 510100, '成华区', '成华', '104.10308', '30.660275', 3, 0, 1), (510112, 510100, '龙泉驿区', '龙泉驿', '104.26918', '30.56065', 3, 0, 1), (510113, 510100, '青白江区', '青白江', '104.25494', '30.883438', 3, 0, 1), (510114, 510100, '新都区', '新都', '104.16022', '30.824223', 3, 0, 1), (510115, 510100, '温江区', '温江', '103.83678', '30.697996', 3, 0, 1), (510116, 510100, '双流区', '双流', '103.92377', '30.57447', 3, 0, 1), (510117, 510100, '郫都区', '郫都', '103.90256', '30.79589', 3, 0, 1), (510118, 510100, '新津区', '新津', '', '', 3, 0, 1), (510121, 510100, '金堂县', '金堂', '104.4156', '30.858418', 3, 0, 1), (510129, 510100, '大邑县', '大邑', '103.5224', '30.586601', 3, 0, 1), (510131, 510100, '蒲江县', '蒲江', '103.51154', '30.194359', 3, 0, 1), (510181, 510100, '都江堰市', '都江堰', '103.6279', '30.99114', 3, 0, 1), (510182, 510100, '彭州市', '彭州', '103.94117', '30.98516', 3, 0, 1), (510183, 510100, '邛崃市', '邛崃', '103.46143', '30.41327', 3, 0, 1), (510184, 510100, '崇州市', '崇州', '103.67105', '30.631477', 3, 0, 1), (510185, 510100, '简阳市', '简阳', '104.54733', '30.41133', 3, 0, 1), (510300, 510000, '自贡市', '自贡', '104.773445', '29.352764', 2, 0, 1), (510302, 510300, '自流井区', '自流井', '104.77819', '29.343231', 3, 0, 1), (510303, 510300, '贡井区', '贡井', '104.71437', '29.345675', 3, 0, 1), (510304, 510300, '大安区', '大安', '104.783226', '29.367136', 3, 0, 1), (510311, 510300, '沿滩区', '沿滩', '104.87642', '29.27252', 3, 0, 1), (510321, 510300, '荣县', '荣县', '104.423935', '29.454851', 3, 0, 1), (510322, 510300, '富顺县', '富顺', '104.98425', '29.181282', 3, 0, 1), (510400, 510000, '攀枝花市', '攀枝花', '101.716', '26.580446', 2, 0, 1), (510402, 510400, '东区', '东区', '101.71513', '26.580887', 3, 0, 1), (510403, 510400, '西区', '西区', '101.63797', '26.596775', 3, 0, 1), (510411, 510400, '仁和区', '仁和', '101.737915', '26.497185', 3, 0, 1), (510421, 510400, '米易县', '米易', '102.10988', '26.887474', 3, 0, 1), (510422, 510400, '盐边县', '盐边', '101.851845', '26.67762', 3, 0, 1), (510500, 510000, '泸州市', '泸州', '105.44335', '28.889137', 2, 0, 1), (510502, 510500, '江阳区', '江阳', '105.44513', '28.882889', 3, 0, 1), (510503, 510500, '纳溪区', '纳溪', '105.37721', '28.77631', 3, 0, 1), (510504, 510500, '龙马潭区', '龙马潭', '105.43523', '28.897572', 3, 0, 1), (510521, 510500, '泸县', '泸县', '105.376335', '29.151287', 3, 0, 1), (510522, 510500, '合江县', '合江', '105.8341', '28.810326', 3, 0, 1), (510524, 510500, '叙永县', '叙永', '105.437775', '28.16792', 3, 0, 1), (510525, 510500, '古蔺县', '古蔺', '105.81336', '28.03948', 3, 0, 1), (510600, 510000, '德阳市', '德阳', '104.39865', '31.12799', 2, 0, 1), (510603, 510600, '旌阳区', '旌阳', '104.38965', '31.130428', 3, 0, 1), (510604, 510600, '罗江区', '罗江', '104.51021', '31.31681', 3, 0, 1), (510623, 510600, '中江县', '中江', '104.67783', '31.03681', 3, 0, 1), (510681, 510600, '广汉市', '广汉', '104.281906', '30.97715', 3, 0, 1), (510682, 510600, '什邡市', '什邡', '104.17365', '31.12688', 3, 0, 1), (510683, 510600, '绵竹市', '绵竹', '104.200165', '31.343084', 3, 0, 1), (510700, 510000, '绵阳市', '绵阳', '104.74172', '31.46402', 2, 0, 1), (510703, 510700, '涪城区', '涪城', '104.740974', '31.463556', 3, 0, 1), (510704, 510700, '游仙区', '游仙', '104.770004', '31.484772', 3, 0, 1), (510705, 510700, '安州区', '安州', '104.56735', '31.53465', 3, 0, 1), (510722, 510700, '三台县', '三台', '105.09032', '31.090908', 3, 0, 1), (510723, 510700, '盐亭县', '盐亭', '105.39199', '31.22318', 3, 0, 1), (510725, 510700, '梓潼县', '梓潼', '105.16353', '31.635225', 3, 0, 1), (510726, 510700, '北川羌族自治县', '北川', '104.46807', '31.615864', 3, 0, 1), (510727, 510700, '平武县', '平武', '104.530556', '32.40759', 3, 0, 1), (510781, 510700, '江油市', '江油', '104.74443', '31.776386', 3, 0, 1), (510800, 510000, '广元市', '广元', '105.82976', '32.433666', 2, 0, 1), (510802, 510800, '利州区', '利州', '105.826195', '32.432278', 3, 0, 1), (510811, 510800, '昭化区', '昭化', '105.96412', '32.32279', 3, 0, 1), (510812, 510800, '朝天区', '朝天', '105.88917', '32.64263', 3, 0, 1), (510821, 510800, '旺苍县', '旺苍', '106.29043', '32.22833', 3, 0, 1), (510822, 510800, '青川县', '青川', '105.238846', '32.585655', 3, 0, 1), (510823, 510800, '剑阁县', '剑阁', '105.52704', '32.28652', 3, 0, 1), (510824, 510800, '苍溪县', '苍溪', '105.939705', '31.73225', 3, 0, 1), (510900, 510000, '遂宁市', '遂宁', '105.57133', '30.513311', 2, 0, 1), (510903, 510900, '船山区', '船山', '105.582214', '30.502647', 3, 0, 1), (510904, 510900, '安居区', '安居', '105.45938', '30.34612', 3, 0, 1), (510921, 510900, '蓬溪县', '蓬溪', '105.7137', '30.774883', 3, 0, 1), (510923, 510900, '大英县', '大英', '105.25219', '30.581572', 3, 0, 1), (510981, 510900, '射洪市', '射洪', '105.38836', '30.87113', 3, 0, 1), (511000, 510000, '内江市', '内江', '105.06614', '29.58708', 2, 0, 1), (511002, 511000, '市中区', '市中', '105.06547', '29.585264', 3, 0, 1), (511011, 511000, '东兴区', '东兴', '105.0672', '29.600107', 3, 0, 1), (511024, 511000, '威远县', '威远', '104.66833', '29.52686', 3, 0, 1), (511025, 511000, '资中县', '资中', '104.85246', '29.775295', 3, 0, 1), (511083, 511000, '隆昌市', '隆昌', '105.28773', '29.33948', 3, 0, 1), (511100, 510000, '乐山市', '乐山', '103.76126', '29.582024', 2, 0, 1), (511102, 511100, '市中区', '市中', '103.75539', '29.588327', 3, 0, 1), (511111, 511100, '沙湾区', '沙湾', '103.54996', '29.416536', 3, 0, 1), (511112, 511100, '五通桥区', '五通桥', '103.81683', '29.406185', 3, 0, 1), (511113, 511100, '金口河区', '金口河', '103.07783', '29.24602', 3, 0, 1), (511123, 511100, '犍为县', '犍为', '103.94427', '29.209782', 3, 0, 1), (511124, 511100, '井研县', '井研', '104.06885', '29.651646', 3, 0, 1), (511126, 511100, '夹江县', '夹江', '103.578865', '29.741018', 3, 0, 1), (511129, 511100, '沐川县', '沐川', '103.90211', '28.956339', 3, 0, 1), (511132, 511100, '峨边彝族自治县', '峨边', '103.262146', '29.23027', 3, 0, 1), (511133, 511100, '马边彝族自治县', '马边', '103.54685', '28.838934', 3, 0, 1), (511181, 511100, '峨眉山市', '峨眉山', '103.492485', '29.597479', 3, 0, 1), (511300, 510000, '南充市', '南充', '106.08298', '30.79528', 2, 0, 1), (511302, 511300, '顺庆区', '顺庆', '106.08409', '30.795572', 3, 0, 1), (511303, 511300, '高坪区', '高坪', '106.10899', '30.781809', 3, 0, 1), (511304, 511300, '嘉陵区', '嘉陵', '106.067024', '30.762976', 3, 0, 1), (511321, 511300, '南部县', '南部', '106.061134', '31.349407', 3, 0, 1), (511322, 511300, '营山县', '营山', '106.564896', '31.075907', 3, 0, 1), (511323, 511300, '蓬安县', '蓬安', '106.41349', '31.027979', 3, 0, 1), (511324, 511300, '仪陇县', '仪陇', '106.29708', '31.271261', 3, 0, 1), (511325, 511300, '西充县', '西充', '105.89302', '30.994616', 3, 0, 1), (511381, 511300, '阆中市', '阆中', '105.975266', '31.580465', 3, 0, 1), (511400, 510000, '眉山市', '眉山', '103.83179', '30.048319', 2, 0, 1), (511402, 511400, '东坡区', '东坡', '103.83155', '30.048128', 3, 0, 1), (511403, 511400, '彭山区', '彭山', '103.87283', '30.19299', 3, 0, 1), (511421, 511400, '仁寿县', '仁寿', '104.147644', '29.996721', 3, 0, 1), (511423, 511400, '洪雅县', '洪雅', '103.37501', '29.904867', 3, 0, 1), (511424, 511400, '丹棱县', '丹棱', '103.51833', '30.01275', 3, 0, 1), (511425, 511400, '青神县', '青神', '103.84613', '29.831469', 3, 0, 1), (511500, 510000, '宜宾市', '宜宾', '104.63082', '28.76019', 2, 0, 1), (511502, 511500, '翠屏区', '翠屏', '104.63023', '28.76018', 3, 0, 1), (511503, 511500, '南溪区', '南溪', '104.96953', '28.84548', 3, 0, 1), (511504, 511500, '叙州区', '叙州', '104.53316', '28.68998', 3, 0, 1), (511523, 511500, '江安县', '江安', '105.068695', '28.728102', 3, 0, 1), (511524, 511500, '长宁县', '长宁', '104.92112', '28.57727', 3, 0, 1), (511525, 511500, '高县', '高县', '104.51919', '28.435677', 3, 0, 1), (511526, 511500, '珙县', '珙县', '104.712265', '28.449041', 3, 0, 1), (511527, 511500, '筠连县', '筠连', '104.50785', '28.162018', 3, 0, 1), (511528, 511500, '兴文县', '兴文', '105.23655', '28.302988', 3, 0, 1), (511529, 511500, '屏山县', '屏山', '104.16262', '28.64237', 3, 0, 1), (511600, 510000, '广安市', '广安', '106.63337', '30.456398', 2, 0, 1), (511602, 511600, '广安区', '广安', '106.632904', '30.456463', 3, 0, 1), (511603, 511600, '前锋区', '前锋', '106.89328', '30.4963', 3, 0, 1), (511621, 511600, '岳池县', '岳池', '106.44445', '30.533539', 3, 0, 1), (511622, 511600, '武胜县', '武胜', '106.29247', '30.344292', 3, 0, 1), (511623, 511600, '邻水县', '邻水', '106.93497', '30.334324', 3, 0, 1), (511681, 511600, '华蓥市', '华蓥', '106.777885', '30.380573', 3, 0, 1), (511700, 510000, '达州市', '达州', '107.50226', '31.209484', 2, 0, 1), (511702, 511700, '通川区', '通川', '107.50106', '31.213522', 3, 0, 1), (511703, 511700, '达川区', '达川', '107.51177', '31.19603', 3, 0, 1), (511722, 511700, '宣汉县', '宣汉', '107.72225', '31.355024', 3, 0, 1), (511723, 511700, '开江县', '开江', '107.864136', '31.085537', 3, 0, 1), (511724, 511700, '大竹县', '大竹', '107.20742', '30.736288', 3, 0, 1), (511725, 511700, '渠县', '渠县', '106.97075', '30.836348', 3, 0, 1), (511781, 511700, '万源市', '万源', '108.037544', '32.06777', 3, 0, 1), (511800, 510000, '雅安市', '雅安', '103.00103', '29.987722', 2, 0, 1), (511802, 511800, '雨城区', '雨城', '103.003395', '29.98183', 3, 0, 1), (511803, 511800, '名山区', '名山', '103.10954', '30.06982', 3, 0, 1), (511822, 511800, '荥经县', '荥经', '102.84467', '29.795528', 3, 0, 1), (511823, 511800, '汉源县', '汉源', '102.67715', '29.349915', 3, 0, 1), (511824, 511800, '石棉县', '石棉', '102.35962', '29.234062', 3, 0, 1), (511825, 511800, '天全县', '天全', '102.76346', '30.059956', 3, 0, 1), (511826, 511800, '芦山县', '芦山', '102.92402', '30.152906', 3, 0, 1), (511827, 511800, '宝兴县', '宝兴', '102.81338', '30.369026', 3, 0, 1), (511900, 510000, '巴中市', '巴中', '106.75367', '31.858809', 2, 0, 1), (511902, 511900, '巴州区', '巴州', '106.75367', '31.858366', 3, 0, 1), (511903, 511900, '恩阳区', '恩阳', '106.63608', '31.789442', 3, 0, 1), (511921, 511900, '通江县', '通江', '107.24762', '31.91212', 3, 0, 1), (511922, 511900, '南江县', '南江', '106.843414', '32.353165', 3, 0, 1), (511923, 511900, '平昌县', '平昌', '107.10194', '31.562815', 3, 0, 1), (512000, 510000, '资阳市', '资阳', '104.641914', '30.122211', 2, 0, 1), (512002, 512000, '雁江区', '雁江', '104.64234', '30.121687', 3, 0, 1), (512021, 512000, '安岳县', '安岳', '105.33676', '30.099207', 3, 0, 1), (512022, 512000, '乐至县', '乐至', '105.03114', '30.27562', 3, 0, 1), (513200, 510000, '阿坝藏族羌族自治州', '阿坝', '102.221375', '31.899792', 2, 0, 1), (513201, 513200, '马尔康市', '马尔康', '102.20644', '31.90585', 3, 0, 1), (513221, 513200, '汶川县', '汶川', '103.58067', '31.47463', 3, 0, 1), (513222, 513200, '理县', '理县', '103.16549', '31.436764', 3, 0, 1), (513223, 513200, '茂县', '茂县', '103.850685', '31.680407', 3, 0, 1), (513224, 513200, '松潘县', '松潘', '103.599174', '32.63838', 3, 0, 1), (513225, 513200, '九寨沟县', '九寨沟', '104.23634', '33.262096', 3, 0, 1), (513226, 513200, '金川县', '金川', '102.064644', '31.476357', 3, 0, 1), (513227, 513200, '小金县', '小金', '102.36319', '30.999016', 3, 0, 1), (513228, 513200, '黑水县', '黑水', '102.99081', '32.06172', 3, 0, 1), (513230, 513200, '壤塘县', '壤塘', '100.97913', '32.26489', 3, 0, 1), (513231, 513200, '阿坝县', '阿坝', '101.70099', '32.904224', 3, 0, 1), (513232, 513200, '若尔盖县', '若尔盖', '102.96372', '33.575935', 3, 0, 1), (513233, 513200, '红原县', '红原', '102.54491', '32.793903', 3, 0, 1), (513300, 510000, '甘孜藏族自治州', '甘孜', '101.96381', '30.050663', 2, 0, 1), (513301, 513300, '康定市', '康定', '101.96308', '30.05441', 3, 0, 1), (513322, 513300, '泸定县', '泸定', '102.23322', '29.912481', 3, 0, 1), (513323, 513300, '丹巴县', '丹巴', '101.88612', '30.877083', 3, 0, 1), (513324, 513300, '九龙县', '九龙', '101.50694', '29.001974', 3, 0, 1), (513325, 513300, '雅江县', '雅江', '101.01573', '30.03225', 3, 0, 1), (513326, 513300, '道孚县', '道孚', '101.12333', '30.978767', 3, 0, 1), (513327, 513300, '炉霍县', '炉霍', '100.6795', '31.392673', 3, 0, 1), (513328, 513300, '甘孜县', '甘孜', '99.99175', '31.61975', 3, 0, 1), (513329, 513300, '新龙县', '新龙', '100.312096', '30.93896', 3, 0, 1), (513330, 513300, '德格县', '德格', '98.57999', '31.806728', 3, 0, 1), (513331, 513300, '白玉县', '白玉', '98.82434', '31.208805', 3, 0, 1), (513332, 513300, '石渠县', '石渠', '98.10088', '32.975304', 3, 0, 1), (513333, 513300, '色达县', '色达', '100.33166', '32.268776', 3, 0, 1), (513334, 513300, '理塘县', '理塘', '100.26986', '29.991808', 3, 0, 1), (513335, 513300, '巴塘县', '巴塘', '99.10904', '30.005724', 3, 0, 1), (513336, 513300, '乡城县', '乡城', '99.79994', '28.930855', 3, 0, 1), (513337, 513300, '稻城县', '稻城', '100.29669', '29.037544', 3, 0, 1), (513338, 513300, '得荣县', '得荣', '99.28803', '28.71134', 3, 0, 1), (513400, 510000, '凉山彝族自治州', '凉山', '102.25874', '27.886763', 2, 0, 1), (513401, 513400, '西昌市', '西昌', '102.25876', '27.885786', 3, 0, 1), (513422, 513400, '木里藏族自治县', '木里', '101.28018', '27.926859', 3, 0, 1), (513423, 513400, '盐源县', '盐源', '101.50891', '27.423414', 3, 0, 1), (513424, 513400, '德昌县', '德昌', '102.17885', '27.403828', 3, 0, 1), (513425, 513400, '会理县', '会理', '102.24955', '26.658703', 3, 0, 1), (513426, 513400, '会东县', '会东', '102.57899', '26.630713', 3, 0, 1), (513427, 513400, '宁南县', '宁南', '102.75738', '27.065205', 3, 0, 1), (513428, 513400, '普格县', '普格', '102.541084', '27.376827', 3, 0, 1), (513429, 513400, '布拖县', '布拖', '102.8088', '27.709063', 3, 0, 1), (513430, 513400, '金阳县', '金阳', '103.2487', '27.695915', 3, 0, 1), (513431, 513400, '昭觉县', '昭觉', '102.843994', '28.010553', 3, 0, 1), (513432, 513400, '喜德县', '喜德', '102.41234', '28.305487', 3, 0, 1), (513433, 513400, '冕宁县', '冕宁', '102.170044', '28.550844', 3, 0, 1), (513434, 513400, '越西县', '越西', '102.50887', '28.639631', 3, 0, 1), (513435, 513400, '甘洛县', '甘洛', '102.775925', '28.977095', 3, 0, 1), (513436, 513400, '美姑县', '美姑', '103.132', '28.327946', 3, 0, 1), (513437, 513400, '雷波县', '雷波', '103.57159', '28.262945', 3, 0, 1), (520000, 0, '贵州省', '贵州', '106.71348', '26.578342', 1, 0, 1), (520100, 520000, '贵阳市', '贵阳', '106.71348', '26.578342', 2, 0, 1), (520102, 520100, '南明区', '南明', '106.715965', '26.573744', 3, 0, 1), (520103, 520100, '云岩区', '云岩', '106.713394', '26.58301', 3, 0, 1), (520111, 520100, '花溪区', '花溪', '106.67079', '26.410463', 3, 0, 1), (520112, 520100, '乌当区', '乌当', '106.76212', '26.630928', 3, 0, 1), (520113, 520100, '白云区', '白云', '106.63303', '26.67685', 3, 0, 1), (520115, 520100, '观山湖区', '观山湖', '106.62254', '26.6015', 3, 0, 1), (520121, 520100, '开阳县', '开阳', '106.96944', '27.056793', 3, 0, 1), (520122, 520100, '息烽县', '息烽', '106.73769', '27.092665', 3, 0, 1), (520123, 520100, '修文县', '修文', '106.59922', '26.840672', 3, 0, 1), (520181, 520100, '清镇市', '清镇', '106.470276', '26.551289', 3, 0, 1), (520200, 520000, '六盘水市', '六盘水', '104.84674', '26.584642', 2, 0, 1), (520201, 520200, '钟山区', '钟山', '104.846245', '26.584805', 3, 0, 1), (520203, 520200, '六枝特区', '六枝特', '105.474236', '26.210663', 3, 0, 1), (520221, 520200, '水城县', '水城', '104.95685', '26.540478', 3, 0, 1), (520281, 520200, '盘州市', '盘州', '104.47158', '25.70993', 3, 0, 1), (520300, 520000, '遵义市', '遵义', '106.93726', '27.706627', 2, 0, 1), (520302, 520300, '红花岗区', '红花岗', '106.94379', '27.694395', 3, 0, 1), (520303, 520300, '汇川区', '汇川', '106.93726', '27.706627', 3, 0, 1), (520304, 520300, '播州区', '播州', '106.82922', '27.53625', 3, 0, 1), (520322, 520300, '桐梓县', '桐梓', '106.82659', '28.13156', 3, 0, 1), (520323, 520300, '绥阳县', '绥阳', '107.191025', '27.951342', 3, 0, 1), (520324, 520300, '正安县', '正安', '107.44187', '28.550337', 3, 0, 1), (520325, 520300, '道真仡佬族苗族自治县', '道真', '107.60534', '28.880089', 3, 0, 1), (520326, 520300, '务川仡佬族苗族自治县', '务川', '107.887856', '28.521566', 3, 0, 1), (520327, 520300, '凤冈县', '凤冈', '107.72202', '27.960857', 3, 0, 1), (520328, 520300, '湄潭县', '湄潭', '107.485725', '27.765839', 3, 0, 1), (520329, 520300, '余庆县', '余庆', '107.89256', '27.221552', 3, 0, 1), (520330, 520300, '习水县', '习水', '106.20095', '28.327826', 3, 0, 1), (520381, 520300, '赤水市', '赤水', '105.69811', '28.587057', 3, 0, 1), (520382, 520300, '仁怀市', '仁怀', '106.412476', '27.803377', 3, 0, 1), (520400, 520000, '安顺市', '安顺', '105.93219', '26.245544', 2, 0, 1), (520402, 520400, '西秀区', '西秀', '105.94617', '26.248323', 3, 0, 1), (520403, 520400, '平坝区', '平坝', '106.2553', '26.40574', 3, 0, 1), (520422, 520400, '普定县', '普定', '105.745605', '26.305794', 3, 0, 1), (520423, 520400, '镇宁布依族苗族自治县', '镇宁', '105.768654', '26.056095', 3, 0, 1), (520424, 520400, '关岭布依族苗族自治县', '关岭', '105.618454', '25.944248', 3, 0, 1), (520425, 520400, '紫云苗族布依族自治县', '紫云', '106.08452', '25.751568', 3, 0, 1), (520500, 520000, '毕节市', '毕节', '', '', 2, 0, 1), (520502, 520500, '七星关区', '七星关', '105.30504', '27.29847', 3, 0, 1), (520521, 520500, '大方县', '大方', '105.613', '27.14161', 3, 0, 1), (520522, 520500, '黔西县', '黔西', '106.0323', '27.00866', 3, 0, 1), (520523, 520500, '金沙县', '金沙', '106.22014', '27.45922', 3, 0, 1), (520524, 520500, '织金县', '织金', '105.77488', '26.66301', 3, 0, 1), (520525, 520500, '纳雍县', '纳雍', '105.38269', '26.7777', 3, 0, 1), (520526, 520500, '威宁彝族回族苗族自治县', '威宁彝族回族苗族自治县', '104.27872', '26.85641', 3, 0, 1), (520527, 520500, '赫章县', '赫章', '104.7274', '27.12328', 3, 0, 1), (520600, 520000, '铜仁市', '铜仁', '', '', 2, 0, 1), (520602, 520600, '碧江区', '碧江', '109.26433', '27.81621', 3, 0, 1), (520603, 520600, '万山区', '万山', '109.21369', '27.51796', 3, 0, 1), (520621, 520600, '江口县', '江口', '108.83967', '27.69956', 3, 0, 1), (520622, 520600, '玉屏侗族自治县', '玉屏侗族自治县', '108.91212', '27.23637', 3, 0, 1), (520623, 520600, '石阡县', '石阡', '108.2233', '27.51382', 3, 0, 1), (520624, 520600, '思南县', '思南', '108.2528', '27.93886', 3, 0, 1), (520625, 520600, '印江土家族苗族自治县', '印江土家族苗族自治县', '108.40958', '27.9941', 3, 0, 1), (520626, 520600, '德江县', '德江', '108.11987', '28.26408', 3, 0, 1), (520627, 520600, '沿河土家族自治县', '沿河土家族自治县', '108.50301', '28.56397', 3, 0, 1), (520628, 520600, '松桃苗族自治县', '松桃苗族自治县', '109.20316', '28.15414', 3, 0, 1), (522300, 520000, '黔西南布依族苗族自治州', '黔西南', '104.89797', '25.08812', 2, 0, 1), (522301, 522300, '兴义市', '兴义', '104.89798', '25.088598', 3, 0, 1), (522302, 522300, '兴仁市', '兴仁', '105.18639', '25.43511', 3, 0, 1), (522323, 522300, '普安县', '普安', '104.955345', '25.786404', 3, 0, 1), (522324, 522300, '晴隆县', '晴隆', '105.21877', '25.832882', 3, 0, 1), (522325, 522300, '贞丰县', '贞丰', '105.65013', '25.385752', 3, 0, 1), (522326, 522300, '望谟县', '望谟', '106.09156', '25.166668', 3, 0, 1), (522327, 522300, '册亨县', '册亨', '105.81241', '24.983337', 3, 0, 1), (522328, 522300, '安龙县', '安龙', '105.4715', '25.10896', 3, 0, 1), (522600, 520000, '黔东南苗族侗族自治州', '黔东南', '107.977486', '26.583351', 2, 0, 1), (522601, 522600, '凯里市', '凯里', '107.97754', '26.582964', 3, 0, 1), (522622, 522600, '黄平县', '黄平', '107.90134', '26.896973', 3, 0, 1), (522623, 522600, '施秉县', '施秉', '108.12678', '27.034657', 3, 0, 1), (522624, 522600, '三穗县', '三穗', '108.68112', '26.959885', 3, 0, 1), (522625, 522600, '镇远县', '镇远', '108.42365', '27.050234', 3, 0, 1), (522626, 522600, '岑巩县', '岑巩', '108.81646', '27.173244', 3, 0, 1), (522627, 522600, '天柱县', '天柱', '109.2128', '26.909683', 3, 0, 1), (522628, 522600, '锦屏县', '锦屏', '109.20252', '26.680626', 3, 0, 1), (522629, 522600, '剑河县', '剑河', '108.4405', '26.727348', 3, 0, 1), (522630, 522600, '台江县', '台江', '108.31464', '26.669138', 3, 0, 1), (522631, 522600, '黎平县', '黎平', '109.136505', '26.230637', 3, 0, 1), (522632, 522600, '榕江县', '榕江', '108.52103', '25.931086', 3, 0, 1), (522633, 522600, '从江县', '从江', '108.91265', '25.747059', 3, 0, 1), (522634, 522600, '雷山县', '雷山', '108.07961', '26.381027', 3, 0, 1), (522635, 522600, '麻江县', '麻江', '107.59317', '26.494802', 3, 0, 1), (522636, 522600, '丹寨县', '丹寨', '107.79481', '26.199497', 3, 0, 1), (522700, 520000, '黔南布依族苗族自治州', '黔南', '107.51716', '26.258219', 2, 0, 1), (522701, 522700, '都匀市', '都匀', '107.51702', '26.258205', 3, 0, 1), (522702, 522700, '福泉市', '福泉', '107.51351', '26.702509', 3, 0, 1), (522722, 522700, '荔波县', '荔波', '107.8838', '25.41224', 3, 0, 1), (522723, 522700, '贵定县', '贵定', '107.23359', '26.580807', 3, 0, 1), (522725, 522700, '瓮安县', '瓮安', '107.47842', '27.06634', 3, 0, 1), (522726, 522700, '独山县', '独山', '107.542755', '25.826283', 3, 0, 1), (522727, 522700, '平塘县', '平塘', '107.32405', '25.831802', 3, 0, 1), (522728, 522700, '罗甸县', '罗甸', '106.75001', '25.429893', 3, 0, 1), (522729, 522700, '长顺县', '长顺', '106.44737', '26.022116', 3, 0, 1), (522730, 522700, '龙里县', '龙里', '106.97773', '26.448809', 3, 0, 1), (522731, 522700, '惠水县', '惠水', '106.657845', '26.128637', 3, 0, 1), (522732, 522700, '三都水族自治县', '三都', '107.87747', '25.985184', 3, 0, 1), (530000, 0, '云南省', '云南', '102.71225', '25.04061', 1, 0, 1), (530100, 530000, '昆明市', '昆明', '102.71225', '25.04061', 2, 0, 1), (530102, 530100, '五华区', '五华', '102.704414', '25.042166', 3, 0, 1), (530103, 530100, '盘龙区', '盘龙', '102.72904', '25.070238', 3, 0, 1), (530111, 530100, '官渡区', '官渡', '102.723434', '25.021212', 3, 0, 1), (530112, 530100, '西山区', '西山', '102.7059', '25.02436', 3, 0, 1), (530113, 530100, '东川区', '东川', '103.182', '26.08349', 3, 0, 1), (530114, 530100, '呈贡区', '呈贡', '102.82147', '24.88554', 3, 0, 1), (530115, 530100, '晋宁区', '晋宁', '102.59559', '24.66982', 3, 0, 1), (530124, 530100, '富民县', '富民', '102.49789', '25.219667', 3, 0, 1), (530125, 530100, '宜良县', '宜良', '103.14599', '24.918215', 3, 0, 1), (530126, 530100, '石林彝族自治县', '石林', '103.271965', '24.754545', 3, 0, 1), (530127, 530100, '嵩明县', '嵩明', '103.03878', '25.335087', 3, 0, 1), (530128, 530100, '禄劝彝族苗族自治县', '禄劝', '102.46905', '25.556534', 3, 0, 1), (530129, 530100, '寻甸回族彝族自治县', '寻甸', '103.25759', '25.559475', 3, 0, 1), (530181, 530100, '安宁市', '安宁', '102.48554', '24.921785', 3, 0, 1), (530300, 530000, '曲靖市', '曲靖', '103.79785', '25.501556', 2, 0, 1), (530302, 530300, '麒麟区', '麒麟', '103.79806', '25.501268', 3, 0, 1), (530303, 530300, '沾益区', '沾益', '103.82183', '25.60167', 3, 0, 1), (530304, 530300, '马龙区', '马龙', '103.57834', '25.42807', 3, 0, 1), (530322, 530300, '陆良县', '陆良', '103.655235', '25.022879', 3, 0, 1), (530323, 530300, '师宗县', '师宗', '103.993805', '24.825682', 3, 0, 1), (530324, 530300, '罗平县', '罗平', '104.309265', '24.885708', 3, 0, 1), (530325, 530300, '富源县', '富源', '104.25692', '25.67064', 3, 0, 1), (530326, 530300, '会泽县', '会泽', '103.30004', '26.41286', 3, 0, 1), (530381, 530300, '宣威市', '宣威', '104.09554', '26.227777', 3, 0, 1), (530400, 530000, '玉溪市', '玉溪', '102.54391', '24.35046', 2, 0, 1), (530402, 530400, '红塔区', '红塔', '102.543465', '24.350754', 3, 0, 1), (530403, 530400, '江川区', '江川', '102.75376', '24.28744', 3, 0, 1), (530423, 530400, '通海县', '通海', '102.76004', '24.112206', 3, 0, 1), (530424, 530400, '华宁县', '华宁', '102.928986', '24.189808', 3, 0, 1), (530425, 530400, '易门县', '易门', '102.16211', '24.669598', 3, 0, 1), (530426, 530400, '峨山彝族自治县', '峨山', '102.40436', '24.173256', 3, 0, 1), (530427, 530400, '新平彝族傣族自治县', '新平', '101.990906', '24.0664', 3, 0, 1), (530428, 530400, '元江哈尼族彝族傣族自治县', '元江', '101.99966', '23.597618', 3, 0, 1), (530481, 530400, '澄江市', '澄江', '102.90819', '24.67379', 3, 0, 1), (530500, 530000, '保山市', '保山', '99.16713', '25.111801', 2, 0, 1), (530502, 530500, '隆阳区', '隆阳', '99.165825', '25.112144', 3, 0, 1), (530521, 530500, '施甸县', '施甸', '99.18376', '24.730846', 3, 0, 1), (530523, 530500, '龙陵县', '龙陵', '98.693565', '24.591911', 3, 0, 1), (530524, 530500, '昌宁县', '昌宁', '99.61234', '24.823662', 3, 0, 1), (530581, 530500, '腾冲市', '腾冲', '98.49097', '25.02053', 3, 0, 1), (530600, 530000, '昭通市', '昭通', '103.71722', '27.337', 2, 0, 1), (530602, 530600, '昭阳区', '昭阳', '103.71727', '27.336636', 3, 0, 1), (530621, 530600, '鲁甸县', '鲁甸', '103.54933', '27.191637', 3, 0, 1), (530622, 530600, '巧家县', '巧家', '102.92928', '26.9117', 3, 0, 1), (530623, 530600, '盐津县', '盐津', '104.23506', '28.106922', 3, 0, 1), (530624, 530600, '大关县', '大关', '103.89161', '27.747114', 3, 0, 1), (530625, 530600, '永善县', '永善', '103.63732', '28.231525', 3, 0, 1), (530626, 530600, '绥江县', '绥江', '103.9611', '28.599953', 3, 0, 1), (530627, 530600, '镇雄县', '镇雄', '104.873055', '27.436268', 3, 0, 1), (530628, 530600, '彝良县', '彝良', '104.04849', '27.627424', 3, 0, 1), (530629, 530600, '威信县', '威信', '105.04869', '27.843382', 3, 0, 1), (530681, 530600, '水富市', '水富', '104.41562', '28.63002', 3, 0, 1), (530700, 530000, '丽江市', '丽江', '100.233025', '26.872108', 2, 0, 1), (530702, 530700, '古城区', '古城', '100.23441', '26.872229', 3, 0, 1), (530721, 530700, '玉龙纳西族自治县', '玉龙', '100.23831', '26.830593', 3, 0, 1), (530722, 530700, '永胜县', '永胜', '100.7509', '26.685623', 3, 0, 1), (530723, 530700, '华坪县', '华坪', '101.2678', '26.628834', 3, 0, 1), (530724, 530700, '宁蒗彝族自治县', '宁蒗', '100.852425', '27.281109', 3, 0, 1), (530800, 530000, '普洱市', '普洱', '100.97234', '22.77732', 2, 0, 1), (530802, 530800, '思茅区', '思茅', '100.97323', '22.776594', 3, 0, 1), (530821, 530800, '宁洱哈尼族彝族自治县', '宁洱', '101.04524', '23.062508', 3, 0, 1), (530822, 530800, '墨江哈尼族自治县', '墨江', '101.68761', '23.428165', 3, 0, 1), (530823, 530800, '景东彝族自治县', '景东', '100.84001', '24.448523', 3, 0, 1), (530824, 530800, '景谷傣族彝族自治县', '景谷', '100.70142', '23.500278', 3, 0, 1), (530825, 530800, '镇沅彝族哈尼族拉祜族自治县', '镇沅', '101.10851', '24.005713', 3, 0, 1), (530826, 530800, '江城哈尼族彝族自治县', '江城', '101.859146', '22.58336', 3, 0, 1), (530827, 530800, '孟连傣族拉祜族佤族自治县', '孟连', '99.5854', '22.325924', 3, 0, 1), (530828, 530800, '澜沧拉祜族自治县', '澜沧', '99.9312', '22.553083', 3, 0, 1), (530829, 530800, '西盟佤族自治县', '西盟', '99.594376', '22.644423', 3, 0, 1), (530900, 530000, '临沧市', '临沧', '100.08697', '23.886566', 2, 0, 1), (530902, 530900, '临翔区', '临翔', '100.08649', '23.886562', 3, 0, 1), (530921, 530900, '凤庆县', '凤庆', '99.91871', '24.592737', 3, 0, 1), (530922, 530900, '云县', '云县', '100.12563', '24.439026', 3, 0, 1), (530923, 530900, '永德县', '永德', '99.25368', '24.028158', 3, 0, 1), (530924, 530900, '镇康县', '镇康', '98.82743', '23.761415', 3, 0, 1), (530925, 530900, '双江拉祜族佤族布朗族傣族自治县', '双江', '99.82442', '23.477476', 3, 0, 1), (530926, 530900, '耿马傣族佤族自治县', '耿马', '99.4025', '23.534578', 3, 0, 1), (530927, 530900, '沧源佤族自治县', '沧源', '99.2474', '23.146887', 3, 0, 1), (532300, 530000, '楚雄彝族自治州', '楚雄', '101.54604', '25.041988', 2, 0, 1), (532301, 532300, '楚雄市', '楚雄', '101.54614', '25.040913', 3, 0, 1), (532322, 532300, '双柏县', '双柏', '101.63824', '24.685095', 3, 0, 1), (532323, 532300, '牟定县', '牟定', '101.543045', '25.31211', 3, 0, 1), (532324, 532300, '南华县', '南华', '101.274994', '25.192408', 3, 0, 1), (532325, 532300, '姚安县', '姚安', '101.238396', '25.505404', 3, 0, 1), (532326, 532300, '大姚县', '大姚', '101.3236', '25.722347', 3, 0, 1), (532327, 532300, '永仁县', '永仁', '101.67117', '26.056316', 3, 0, 1), (532328, 532300, '元谋县', '元谋', '101.870834', '25.703314', 3, 0, 1), (532329, 532300, '武定县', '武定', '102.406784', '25.5301', 3, 0, 1), (532331, 532300, '禄丰县', '禄丰', '102.07569', '25.14327', 3, 0, 1), (532500, 530000, '红河哈尼族彝族自治州', '红河', '103.384186', '23.366776', 2, 0, 1), (532501, 532500, '个旧市', '个旧', '103.154755', '23.360382', 3, 0, 1), (532502, 532500, '开远市', '开远', '103.25868', '23.713833', 3, 0, 1), (532503, 532500, '蒙自市', '蒙自', '103.36481', '23.39622', 3, 0, 1), (532504, 532500, '弥勒市', '弥勒', '103.41499', '24.41059', 3, 0, 1), (532523, 532500, '屏边苗族自治县', '屏边', '103.687225', '22.987013', 3, 0, 1), (532524, 532500, '建水县', '建水', '102.820496', '23.618387', 3, 0, 1), (532525, 532500, '石屏县', '石屏', '102.48447', '23.712568', 3, 0, 1), (532527, 532500, '泸西县', '泸西', '103.75962', '24.532368', 3, 0, 1), (532528, 532500, '元阳县', '元阳', '102.83706', '23.219772', 3, 0, 1), (532529, 532500, '红河县', '红河', '102.42121', '23.36919', 3, 0, 1), (532530, 532500, '金平苗族瑶族傣族自治县', '金平', '103.228355', '22.779982', 3, 0, 1), (532531, 532500, '绿春县', '绿春', '102.39286', '22.99352', 3, 0, 1), (532532, 532500, '河口瑶族自治县', '河口', '103.96159', '22.507563', 3, 0, 1), (532600, 530000, '文山壮族苗族自治州', '文山', '104.24401', '23.36951', 2, 0, 1), (532601, 532600, '文山市', '文山', '104.233', '23.38678', 3, 0, 1), (532622, 532600, '砚山县', '砚山', '104.34399', '23.6123', 3, 0, 1), (532623, 532600, '西畴县', '西畴', '104.67571', '23.437439', 3, 0, 1), (532624, 532600, '麻栗坡县', '麻栗坡', '104.7019', '23.124203', 3, 0, 1), (532625, 532600, '马关县', '马关', '104.39862', '23.011723', 3, 0, 1), (532626, 532600, '丘北县', '丘北', '104.19437', '24.040981', 3, 0, 1), (532627, 532600, '广南县', '广南', '105.05669', '24.050272', 3, 0, 1), (532628, 532600, '富宁县', '富宁', '105.62856', '23.626493', 3, 0, 1), (532800, 530000, '西双版纳傣族自治州', '西双版纳', '100.79794', '22.001724', 2, 0, 1), (532801, 532800, '景洪市', '景洪', '100.79795', '22.002087', 3, 0, 1), (532822, 532800, '勐海县', '勐海', '100.44829', '21.955866', 3, 0, 1), (532823, 532800, '勐腊县', '勐腊', '101.567055', '21.479448', 3, 0, 1), (532900, 530000, '大理白族自治州', '大理', '100.22567', '25.589449', 2, 0, 1), (532901, 532900, '大理市', '大理', '100.24137', '25.593067', 3, 0, 1), (532922, 532900, '漾濞彝族自治县', '漾濞', '99.95797', '25.669542', 3, 0, 1), (532923, 532900, '祥云县', '祥云', '100.55402', '25.477072', 3, 0, 1), (532924, 532900, '宾川县', '宾川', '100.57896', '25.825905', 3, 0, 1), (532925, 532900, '弥渡县', '弥渡', '100.49067', '25.342594', 3, 0, 1), (532926, 532900, '南涧彝族自治县', '南涧', '100.518684', '25.041279', 3, 0, 1), (532927, 532900, '巍山彝族回族自治县', '巍山', '100.30793', '25.23091', 3, 0, 1), (532928, 532900, '永平县', '永平', '99.53354', '25.46128', 3, 0, 1), (532929, 532900, '云龙县', '云龙', '99.3694', '25.884954', 3, 0, 1), (532930, 532900, '洱源县', '洱源', '99.951706', '26.111183', 3, 0, 1), (532931, 532900, '剑川县', '剑川', '99.90588', '26.530066', 3, 0, 1), (532932, 532900, '鹤庆县', '鹤庆', '100.17338', '26.55839', 3, 0, 1), (533100, 530000, '德宏傣族景颇族自治州', '德宏', '98.57836', '24.436693', 2, 0, 1), (533102, 533100, '瑞丽市', '瑞丽', '97.85588', '24.010735', 3, 0, 1), (533103, 533100, '芒市', '芒市', '98.57761', '24.436699', 3, 0, 1), (533122, 533100, '梁河县', '梁河', '98.298195', '24.80742', 3, 0, 1), (533123, 533100, '盈江县', '盈江', '97.93393', '24.709541', 3, 0, 1), (533124, 533100, '陇川县', '陇川', '97.79444', '24.184065', 3, 0, 1), (533300, 530000, '怒江傈僳族自治州', '怒江', '98.8543', '25.850948', 2, 0, 1), (533301, 533300, '泸水市', '泸水', '98.85804', '25.82306', 3, 0, 1), (533323, 533300, '福贡县', '福贡', '98.86742', '26.902739', 3, 0, 1), (533324, 533300, '贡山独龙族怒族自治县', '贡山', '98.66614', '27.738054', 3, 0, 1), (533325, 533300, '兰坪白族普米族自治县', '兰坪', '99.42138', '26.453838', 3, 0, 1), (533400, 530000, '迪庆藏族自治州', '迪庆', '99.70647', '27.826853', 2, 0, 1), (533401, 533400, '香格里拉市', '香格里拉', '99.74317', '27.84254', 3, 0, 1), (533422, 533400, '德钦县', '德钦', '98.91506', '28.483273', 3, 0, 1), (533423, 533400, '维西傈僳族自治县', '维西', '99.286354', '27.180948', 3, 0, 1), (540000, 0, '西藏自治区', '西藏', '91.13221', '29.66036', 1, 0, 1), (540100, 540000, '拉萨市', '拉萨', '91.13221', '29.66036', 2, 0, 1), (540102, 540100, '城关区', '城关', '91.13291', '29.659472', 3, 0, 1), (540103, 540100, '堆龙德庆区', '堆龙德庆', '91.00338', '29.64602', 3, 0, 1), (540104, 540100, '达孜区', '达孜', '91.34979', '29.66933', 3, 0, 1), (540121, 540100, '林周县', '林周', '91.26184', '29.895754', 3, 0, 1), (540122, 540100, '当雄县', '当雄', '91.10355', '30.47482', 3, 0, 1), (540123, 540100, '尼木县', '尼木', '90.16554', '29.431347', 3, 0, 1), (540124, 540100, '曲水县', '曲水', '90.73805', '29.349895', 3, 0, 1), (540127, 540100, '墨竹工卡县', '墨竹工卡', '91.731155', '29.834658', 3, 0, 1), (540200, 540000, '日喀则市', '日喀则', '', '', 2, 0, 1), (540202, 540200, '桑珠孜区', '桑珠孜', '88.88697', '29.26969', 3, 0, 1), (540221, 540200, '南木林县', '南木林', '89.09936', '29.68224', 3, 0, 1), (540222, 540200, '江孜县', '江孜', '89.60558', '28.91152', 3, 0, 1), (540223, 540200, '定日县', '定日', '87.12607', '28.65874', 3, 0, 1), (540224, 540200, '萨迦县', '萨迦', '88.02172', '28.89919', 3, 0, 1), (540225, 540200, '拉孜县', '拉孜', '87.63718', '29.08164', 3, 0, 1), (540226, 540200, '昂仁县', '昂仁', '87.23617', '29.29482', 3, 0, 1), (540227, 540200, '谢通门县', '谢通门', '88.26166', '29.43234', 3, 0, 1), (540228, 540200, '白朗县', '白朗', '89.26156', '29.10919', 3, 0, 1), (540229, 540200, '仁布县', '仁布', '89.842', '29.23089', 3, 0, 1), (540230, 540200, '康马县', '康马', '89.68169', '28.55567', 3, 0, 1), (540231, 540200, '定结县', '定结', '87.76606', '28.36408', 3, 0, 1), (540232, 540200, '仲巴县', '仲巴', '84.02454', '29.72419', 3, 0, 1), (540233, 540200, '亚东县', '亚东', '88.90708', '27.48592', 3, 0, 1), (540234, 540200, '吉隆县', '吉隆', '85.29737', '28.85254', 3, 0, 1), (540235, 540200, '聂拉木县', '聂拉木', '85.98232', '28.15499', 3, 0, 1), (540236, 540200, '萨嘎县', '萨嘎', '85.23421', '29.32943', 3, 0, 1), (540237, 540200, '岗巴县', '岗巴', '88.52015', '28.2746', 3, 0, 1), (540300, 540000, '昌都市', '昌都', '', '', 2, 0, 1), (540302, 540300, '卡若区', '卡若', '97.18039', '31.13831', 3, 0, 1), (540321, 540300, '江达县', '江达', '98.21822', '31.49968', 3, 0, 1), (540322, 540300, '贡觉县', '贡觉', '98.2708', '30.86016', 3, 0, 1), (540323, 540300, '类乌齐县', '类乌齐', '96.6002', '31.21155', 3, 0, 1), (540324, 540300, '丁青县', '丁青', '95.59572', '31.4125', 3, 0, 1), (540325, 540300, '察雅县', '察雅', '97.56877', '30.65363', 3, 0, 1), (540326, 540300, '八宿县', '八宿', '96.91785', '30.0532', 3, 0, 1), (540327, 540300, '左贡县', '左贡', '97.84085', '29.67091', 3, 0, 1), (540328, 540300, '芒康县', '芒康', '98.59312', '29.68008', 3, 0, 1), (540329, 540300, '洛隆县', '洛隆', '95.82482', '30.74181', 3, 0, 1), (540330, 540300, '边坝县', '边坝', '94.7079', '30.93345', 3, 0, 1), (540400, 540000, '林芝市', '林芝', '', '', 2, 0, 1), (540402, 540400, '巴宜区', '巴宜', '94.36119', '29.63654', 3, 0, 1), (540421, 540400, '工布江达县', '工布江达', '93.24611', '29.88531', 3, 0, 1), (540422, 540400, '米林县', '米林', '94.21315', '29.21607', 3, 0, 1), (540423, 540400, '墨脱县', '墨脱', '95.33304', '29.32521', 3, 0, 1), (540424, 540400, '波密县', '波密', '95.76761', '29.85903', 3, 0, 1), (540425, 540400, '察隅县', '察隅', '97.46687', '28.66154', 3, 0, 1), (540426, 540400, '朗县', '朗县', '93.07482', '29.04607', 3, 0, 1), (540500, 540000, '山南市', '山南', '', '', 2, 0, 1), (540502, 540500, '乃东区', '乃东', '91.76141', '29.22484', 3, 0, 1), (540521, 540500, '扎囊县', '扎囊', '91.33735', '29.245', 3, 0, 1), (540522, 540500, '贡嘎县', '贡嘎', '90.98421', '29.28947', 3, 0, 1), (540523, 540500, '桑日县', '桑日', '92.01579', '29.25906', 3, 0, 1), (540524, 540500, '琼结县', '琼结', '91.68385', '29.02464', 3, 0, 1), (540525, 540500, '曲松县', '曲松', '92.20222', '29.06277', 3, 0, 1), (540526, 540500, '措美县', '措美', '91.43361', '28.43793', 3, 0, 1), (540527, 540500, '洛扎县', '洛扎', '90.85998', '28.38569', 3, 0, 1), (540528, 540500, '加查县', '加查', '92.59387', '29.14023', 3, 0, 1), (540529, 540500, '隆子县', '隆子', '92.46177', '28.40681', 3, 0, 1), (540530, 540500, '错那县', '错那', '91.9571', '27.99099', 3, 0, 1), (540531, 540500, '浪卡子县', '浪卡子', '90.40011', '28.96768', 3, 0, 1), (540600, 540000, '那曲市', '那曲', '', '', 2, 0, 1), (540602, 540600, '色尼区', '色尼', '92.05355', '31.46988', 3, 0, 1), (540621, 540600, '嘉黎县', '嘉黎', '93.23236', '30.64087', 3, 0, 1), (540622, 540600, '比如县', '比如', '93.6813', '31.47785', 3, 0, 1), (540623, 540600, '聂荣县', '聂荣', '92.30327', '32.10784', 3, 0, 1), (540624, 540600, '安多县', '安多', '91.68258', '32.265', 3, 0, 1), (540625, 540600, '申扎县', '申扎', '88.70982', '30.93043', 3, 0, 1), (540626, 540600, '索县', '索县', '93.78556', '31.88673', 3, 0, 1), (540627, 540600, '班戈县', '班戈', '90.00987', '31.39199', 3, 0, 1), (540628, 540600, '巴青县', '巴青', '94.05345', '31.9184', 3, 0, 1), (540629, 540600, '尼玛县', '尼玛', '87.23691', '31.78448', 3, 0, 1), (540630, 540600, '双湖县', '双湖', '88.83691', '33.18763', 3, 0, 1), (542500, 540000, '阿里地区', '阿里', '80.1055', '32.503185', 2, 0, 1), (542521, 542500, '普兰县', '普兰', '81.17759', '30.291897', 3, 0, 1), (542522, 542500, '札达县', '札达', '79.80319', '31.478586', 3, 0, 1), (542523, 542500, '噶尔县', '噶尔', '80.105', '32.503372', 3, 0, 1), (542524, 542500, '日土县', '日土', '79.73193', '33.382454', 3, 0, 1), (542525, 542500, '革吉县', '革吉', '81.1429', '32.38919', 3, 0, 1), (542526, 542500, '改则县', '改则', '84.062386', '32.302074', 3, 0, 1), (542527, 542500, '措勤县', '措勤', '85.159256', '31.016773', 3, 0, 1), (610000, 0, '陕西省', '陕西', '108.94802', '34.26316', 1, 0, 1), (610100, 610000, '西安市', '西安', '108.94802', '34.26316', 2, 0, 1), (610102, 610100, '新城区', '新城', '108.9599', '34.26927', 3, 0, 1), (610103, 610100, '碑林区', '碑林', '108.94699', '34.25106', 3, 0, 1), (610104, 610100, '莲湖区', '莲湖', '108.9332', '34.2656', 3, 0, 1), (610111, 610100, '灞桥区', '灞桥', '109.06726', '34.267452', 3, 0, 1), (610112, 610100, '未央区', '未央', '108.94602', '34.30823', 3, 0, 1), (610113, 610100, '雁塔区', '雁塔', '108.92659', '34.21339', 3, 0, 1), (610114, 610100, '阎良区', '阎良', '109.22802', '34.66214', 3, 0, 1), (610115, 610100, '临潼区', '临潼', '109.21399', '34.372066', 3, 0, 1), (610116, 610100, '长安区', '长安', '108.94158', '34.157097', 3, 0, 1), (610117, 610100, '高陵区', '高陵', '109.08822', '34.53487', 3, 0, 1), (610118, 610100, '鄠邑区', '鄠邑', '108.60494', '34.10847', 3, 0, 1), (610122, 610100, '蓝田县', '蓝田', '109.317635', '34.15619', 3, 0, 1), (610124, 610100, '周至县', '周至', '108.21647', '34.161533', 3, 0, 1), (610200, 610000, '铜川市', '铜川', '108.97961', '34.91658', 2, 0, 1), (610202, 610200, '王益区', '王益', '109.07586', '35.0691', 3, 0, 1), (610203, 610200, '印台区', '印台', '109.100815', '35.111927', 3, 0, 1), (610204, 610200, '耀州区', '耀州', '108.96254', '34.910206', 3, 0, 1), (610222, 610200, '宜君县', '宜君', '109.11828', '35.398766', 3, 0, 1), (610300, 610000, '宝鸡市', '宝鸡', '107.14487', '34.369316', 2, 0, 1), (610302, 610300, '渭滨区', '渭滨', '107.14447', '34.37101', 3, 0, 1), (610303, 610300, '金台区', '金台', '107.14994', '34.37519', 3, 0, 1), (610304, 610300, '陈仓区', '陈仓', '107.383644', '34.35275', 3, 0, 1), (610322, 610300, '凤翔县', '凤翔', '107.40057', '34.521667', 3, 0, 1), (610323, 610300, '岐山县', '岐山', '107.624466', '34.44296', 3, 0, 1), (610324, 610300, '扶风县', '扶风', '107.89142', '34.375496', 3, 0, 1), (610326, 610300, '眉县', '眉县', '107.75237', '34.272137', 3, 0, 1), (610327, 610300, '陇县', '陇县', '106.85706', '34.89326', 3, 0, 1), (610328, 610300, '千阳县', '千阳', '107.13299', '34.642586', 3, 0, 1), (610329, 610300, '麟游县', '麟游', '107.79661', '34.677715', 3, 0, 1), (610330, 610300, '凤县', '凤县', '106.525215', '33.912464', 3, 0, 1), (610331, 610300, '太白县', '太白', '107.316536', '34.059216', 3, 0, 1), (610400, 610000, '咸阳市', '咸阳', '108.70512', '34.33344', 2, 0, 1), (610402, 610400, '秦都区', '秦都', '108.69864', '34.3298', 3, 0, 1), (610403, 610400, '杨陵区', '杨陵', '108.08635', '34.27135', 3, 0, 1), (610404, 610400, '渭城区', '渭城', '108.73096', '34.336845', 3, 0, 1), (610422, 610400, '三原县', '三原', '108.94348', '34.613995', 3, 0, 1), (610423, 610400, '泾阳县', '泾阳', '108.83784', '34.528492', 3, 0, 1), (610424, 610400, '乾县', '乾县', '108.247406', '34.52726', 3, 0, 1), (610425, 610400, '礼泉县', '礼泉', '108.428314', '34.482582', 3, 0, 1), (610426, 610400, '永寿县', '永寿', '108.14313', '34.69262', 3, 0, 1), (610428, 610400, '长武县', '长武', '107.79584', '35.206123', 3, 0, 1), (610429, 610400, '旬邑县', '旬邑', '108.337234', '35.112232', 3, 0, 1), (610430, 610400, '淳化县', '淳化', '108.58118', '34.79797', 3, 0, 1), (610431, 610400, '武功县', '武功', '108.21286', '34.25973', 3, 0, 1), (610481, 610400, '兴平市', '兴平', '108.488495', '34.297134', 3, 0, 1), (610482, 610400, '彬州市', '彬州', '108.08108', '35.03565', 3, 0, 1), (610500, 610000, '渭南市', '渭南', '109.502884', '34.499382', 2, 0, 1), (610502, 610500, '临渭区', '临渭', '109.503296', '34.50127', 3, 0, 1), (610503, 610500, '华州区', '华州', '109.7719', '34.51259', 3, 0, 1), (610522, 610500, '潼关县', '潼关', '110.24726', '34.544514', 3, 0, 1), (610523, 610500, '大荔县', '大荔', '109.94312', '34.79501', 3, 0, 1), (610524, 610500, '合阳县', '合阳', '110.14798', '35.2371', 3, 0, 1), (610525, 610500, '澄城县', '澄城', '109.93761', '35.184', 3, 0, 1), (610526, 610500, '蒲城县', '蒲城', '109.58965', '34.956036', 3, 0, 1), (610527, 610500, '白水县', '白水', '109.59431', '35.17729', 3, 0, 1), (610528, 610500, '富平县', '富平', '109.18717', '34.746677', 3, 0, 1), (610581, 610500, '韩城市', '韩城', '110.45239', '35.47524', 3, 0, 1), (610582, 610500, '华阴市', '华阴', '110.08952', '34.565357', 3, 0, 1), (610600, 610000, '延安市', '延安', '109.49081', '36.59654', 2, 0, 1), (610602, 610600, '宝塔区', '宝塔', '109.49069', '36.59629', 3, 0, 1), (610603, 610600, '安塞区', '安塞', '109.32897', '36.86373', 3, 0, 1), (610621, 610600, '延长县', '延长', '110.01296', '36.578304', 3, 0, 1), (610622, 610600, '延川县', '延川', '110.190315', '36.882065', 3, 0, 1), (610625, 610600, '志丹县', '志丹', '108.7689', '36.823032', 3, 0, 1), (610626, 610600, '吴起县', '吴起', '108.17698', '36.92485', 3, 0, 1), (610627, 610600, '甘泉县', '甘泉', '109.34961', '36.27773', 3, 0, 1), (610628, 610600, '富县', '富县', '109.38413', '35.996494', 3, 0, 1), (610629, 610600, '洛川县', '洛川', '109.435715', '35.762135', 3, 0, 1), (610630, 610600, '宜川县', '宜川', '110.17554', '36.050392', 3, 0, 1), (610631, 610600, '黄龙县', '黄龙', '109.83502', '35.583275', 3, 0, 1), (610632, 610600, '黄陵县', '黄陵', '109.26247', '35.580166', 3, 0, 1), (610681, 610600, '子长市', '子长', '109.67538', '37.14258', 3, 0, 1), (610700, 610000, '汉中市', '汉中', '107.02862', '33.077667', 2, 0, 1), (610702, 610700, '汉台区', '汉台', '107.02824', '33.077675', 3, 0, 1), (610703, 610700, '南郑区', '南郑', '106.93624', '32.99932', 3, 0, 1), (610722, 610700, '城固县', '城固', '107.32989', '33.1531', 3, 0, 1), (610723, 610700, '洋县', '洋县', '107.549965', '33.22328', 3, 0, 1), (610724, 610700, '西乡县', '西乡', '107.76586', '32.98796', 3, 0, 1), (610725, 610700, '勉县', '勉县', '106.680176', '33.155617', 3, 0, 1), (610726, 610700, '宁强县', '宁强', '106.25739', '32.830807', 3, 0, 1), (610727, 610700, '略阳县', '略阳', '106.1539', '33.32964', 3, 0, 1), (610728, 610700, '镇巴县', '镇巴', '107.89531', '32.535854', 3, 0, 1), (610729, 610700, '留坝县', '留坝', '106.92438', '33.61334', 3, 0, 1), (610730, 610700, '佛坪县', '佛坪', '107.98858', '33.520744', 3, 0, 1), (610800, 610000, '榆林市', '榆林', '109.741196', '38.29016', 2, 0, 1), (610802, 610800, '榆阳区', '榆阳', '109.74791', '38.299267', 3, 0, 1), (610803, 610800, '横山区', '横山', '109.29315', '37.95871', 3, 0, 1), (610822, 610800, '府谷县', '府谷', '111.06965', '39.029243', 3, 0, 1), (610824, 610800, '靖边县', '靖边', '108.80567', '37.596085', 3, 0, 1), (610825, 610800, '定边县', '定边', '107.60128', '37.59523', 3, 0, 1), (610826, 610800, '绥德县', '绥德', '110.26537', '37.5077', 3, 0, 1), (610827, 610800, '米脂县', '米脂', '110.17868', '37.759083', 3, 0, 1), (610828, 610800, '佳县', '佳县', '110.49337', '38.0216', 3, 0, 1), (610829, 610800, '吴堡县', '吴堡', '110.73931', '37.451923', 3, 0, 1), (610830, 610800, '清涧县', '清涧', '110.12146', '37.087704', 3, 0, 1), (610831, 610800, '子洲县', '子洲', '110.03457', '37.611572', 3, 0, 1), (610881, 610800, '神木市', '神木', '110.49896', '38.84239', 3, 0, 1), (610900, 610000, '安康市', '安康', '109.029274', '32.6903', 2, 0, 1), (610902, 610900, '汉滨区', '汉滨', '109.0291', '32.69082', 3, 0, 1), (610921, 610900, '汉阴县', '汉阴', '108.51095', '32.89112', 3, 0, 1), (610922, 610900, '石泉县', '石泉', '108.25051', '33.038513', 3, 0, 1), (610923, 610900, '宁陕县', '宁陕', '108.31371', '33.312183', 3, 0, 1), (610924, 610900, '紫阳县', '紫阳', '108.53779', '32.520176', 3, 0, 1), (610925, 610900, '岚皋县', '岚皋', '108.900665', '32.31069', 3, 0, 1), (610926, 610900, '平利县', '平利', '109.36186', '32.38793', 3, 0, 1), (610927, 610900, '镇坪县', '镇坪', '109.526436', '31.883394', 3, 0, 1), (610928, 610900, '旬阳县', '旬阳', '109.36815', '32.83357', 3, 0, 1), (610929, 610900, '白河县', '白河', '110.11419', '32.809483', 3, 0, 1), (611000, 610000, '商洛市', '商洛', '109.93977', '33.86832', 2, 0, 1), (611002, 611000, '商州区', '商州', '109.93768', '33.86921', 3, 0, 1), (611021, 611000, '洛南县', '洛南', '110.14571', '34.0885', 3, 0, 1), (611022, 611000, '丹凤县', '丹凤', '110.33191', '33.69471', 3, 0, 1), (611023, 611000, '商南县', '商南', '110.88544', '33.526367', 3, 0, 1), (611024, 611000, '山阳县', '山阳', '109.88043', '33.53041', 3, 0, 1), (611025, 611000, '镇安县', '镇安', '109.15108', '33.42398', 3, 0, 1), (611026, 611000, '柞水县', '柞水', '109.11125', '33.682774', 3, 0, 1), (620000, 0, '甘肃省', '甘肃', '103.823555', '36.05804', 1, 0, 1), (620100, 620000, '兰州市', '兰州', '103.823555', '36.05804', 2, 0, 1), (620102, 620100, '城关区', '城关', '103.841034', '36.049114', 3, 0, 1), (620103, 620100, '七里河区', '七里河', '103.784325', '36.06673', 3, 0, 1), (620104, 620100, '西固区', '西固', '103.62233', '36.10037', 3, 0, 1), (620105, 620100, '安宁区', '安宁', '103.72404', '36.10329', 3, 0, 1), (620111, 620100, '红古区', '红古', '102.86182', '36.344177', 3, 0, 1), (620121, 620100, '永登县', '永登', '103.2622', '36.73443', 3, 0, 1), (620122, 620100, '皋兰县', '皋兰', '103.94933', '36.331253', 3, 0, 1), (620123, 620100, '榆中县', '榆中', '104.114975', '35.84443', 3, 0, 1), (620200, 620000, '嘉峪关市', '嘉峪关', '98.277306', '39.78653', 2, 0, 1), (620300, 620000, '金昌市', '金昌', '102.18789', '38.514236', 2, 0, 1), (620302, 620300, '金川区', '金川', '102.18768', '38.513794', 3, 0, 1), (620321, 620300, '永昌县', '永昌', '101.971954', '38.247353', 3, 0, 1), (620400, 620000, '白银市', '白银', '104.17361', '36.54568', 2, 0, 1), (620402, 620400, '白银区', '白银', '104.17425', '36.54565', 3, 0, 1), (620403, 620400, '平川区', '平川', '104.81921', '36.72921', 3, 0, 1), (620421, 620400, '靖远县', '靖远', '104.68697', '36.561424', 3, 0, 1), (620422, 620400, '会宁县', '会宁', '105.05434', '35.692486', 3, 0, 1), (620423, 620400, '景泰县', '景泰', '104.06639', '37.19352', 3, 0, 1), (620500, 620000, '天水市', '天水', '105.725', '34.57853', 2, 0, 1), (620502, 620500, '秦州区', '秦州', '105.72448', '34.578644', 3, 0, 1), (620503, 620500, '麦积区', '麦积', '105.89763', '34.563503', 3, 0, 1), (620521, 620500, '清水县', '清水', '106.13988', '34.75287', 3, 0, 1), (620522, 620500, '秦安县', '秦安', '105.6733', '34.862354', 3, 0, 1), (620523, 620500, '甘谷县', '甘谷', '105.332344', '34.747326', 3, 0, 1), (620524, 620500, '武山县', '武山', '104.89169', '34.721954', 3, 0, 1), (620525, 620500, '张家川回族自治县', '张家川', '106.21242', '34.993237', 3, 0, 1), (620600, 620000, '武威市', '武威', '102.6347', '37.929996', 2, 0, 1), (620602, 620600, '凉州区', '凉州', '102.63449', '37.93025', 3, 0, 1), (620621, 620600, '民勤县', '民勤', '103.09065', '38.624622', 3, 0, 1), (620622, 620600, '古浪县', '古浪', '102.89805', '37.47057', 3, 0, 1), (620623, 620600, '天祝藏族自治县', '天祝', '103.14204', '36.97168', 3, 0, 1), (620700, 620000, '张掖市', '张掖', '100.455475', '38.932896', 2, 0, 1), (620702, 620700, '甘州区', '甘州', '100.454865', '38.931774', 3, 0, 1), (620721, 620700, '肃南裕固族自治县', '肃南', '99.61709', '38.83727', 3, 0, 1), (620722, 620700, '民乐县', '民乐', '100.81662', '38.434456', 3, 0, 1), (620723, 620700, '临泽县', '临泽', '100.166336', '39.15215', 3, 0, 1), (620724, 620700, '高台县', '高台', '99.81665', '39.37631', 3, 0, 1), (620725, 620700, '山丹县', '山丹', '101.08844', '38.78484', 3, 0, 1), (620800, 620000, '平凉市', '平凉', '106.68469', '35.54279', 2, 0, 1), (620802, 620800, '崆峒区', '崆峒', '106.68422', '35.54173', 3, 0, 1), (620821, 620800, '泾川县', '泾川', '107.36522', '35.33528', 3, 0, 1), (620822, 620800, '灵台县', '灵台', '107.62059', '35.06401', 3, 0, 1), (620823, 620800, '崇信县', '崇信', '107.03125', '35.30453', 3, 0, 1), (620825, 620800, '庄浪县', '庄浪', '106.04198', '35.203426', 3, 0, 1), (620826, 620800, '静宁县', '静宁', '105.73349', '35.52524', 3, 0, 1), (620881, 620800, '华亭市', '华亭', '106.65352', '35.21756', 3, 0, 1), (620900, 620000, '酒泉市', '酒泉', '98.510796', '39.744022', 2, 0, 1), (620902, 620900, '肃州区', '肃州', '98.511154', '39.74386', 3, 0, 1), (620921, 620900, '金塔县', '金塔', '98.90296', '39.983036', 3, 0, 1), (620922, 620900, '瓜州县', '瓜州', '95.780594', '40.516525', 3, 0, 1), (620923, 620900, '肃北蒙古族自治县', '肃北', '94.87728', '39.51224', 3, 0, 1), (620924, 620900, '阿克塞哈萨克族自治县', '阿克塞', '94.33764', '39.63164', 3, 0, 1), (620981, 620900, '玉门市', '玉门', '97.03721', '40.28682', 3, 0, 1), (620982, 620900, '敦煌市', '敦煌', '94.664276', '40.141117', 3, 0, 1), (621000, 620000, '庆阳市', '庆阳', '107.638374', '35.73422', 2, 0, 1), (621002, 621000, '西峰区', '西峰', '107.638824', '35.73371', 3, 0, 1), (621021, 621000, '庆城县', '庆城', '107.885666', '36.013504', 3, 0, 1), (621022, 621000, '环县', '环县', '107.308754', '36.56932', 3, 0, 1), (621023, 621000, '华池县', '华池', '107.98629', '36.457302', 3, 0, 1), (621024, 621000, '合水县', '合水', '108.01987', '35.819004', 3, 0, 1), (621025, 621000, '正宁县', '正宁', '108.36107', '35.490643', 3, 0, 1), (621026, 621000, '宁县', '宁县', '107.92118', '35.50201', 3, 0, 1), (621027, 621000, '镇原县', '镇原', '107.19571', '35.677807', 3, 0, 1), (621100, 620000, '定西市', '定西', '104.6263', '35.57958', 2, 0, 1), (621102, 621100, '安定区', '安定', '104.62577', '35.579765', 3, 0, 1), (621121, 621100, '通渭县', '通渭', '105.2501', '35.208923', 3, 0, 1), (621122, 621100, '陇西县', '陇西', '104.63755', '35.00341', 3, 0, 1), (621123, 621100, '渭源县', '渭源', '104.21174', '35.133022', 3, 0, 1), (621124, 621100, '临洮县', '临洮', '103.86218', '35.376232', 3, 0, 1), (621125, 621100, '漳县', '漳县', '104.46676', '34.84864', 3, 0, 1), (621126, 621100, '岷县', '岷县', '104.03988', '34.439106', 3, 0, 1), (621200, 620000, '陇南市', '陇南', '104.92938', '33.3886', 2, 0, 1), (621202, 621200, '武都区', '武都', '104.92986', '33.388157', 3, 0, 1), (621221, 621200, '成县', '成县', '105.734436', '33.739864', 3, 0, 1), (621222, 621200, '文县', '文县', '104.68245', '32.94217', 3, 0, 1), (621223, 621200, '宕昌县', '宕昌', '104.39448', '34.042656', 3, 0, 1), (621224, 621200, '康县', '康县', '105.609535', '33.328266', 3, 0, 1), (621225, 621200, '西和县', '西和', '105.299736', '34.013718', 3, 0, 1), (621226, 621200, '礼县', '礼县', '105.18162', '34.18939', 3, 0, 1), (621227, 621200, '徽县', '徽县', '106.08563', '33.767784', 3, 0, 1), (621228, 621200, '两当县', '两当', '106.30696', '33.91073', 3, 0, 1), (622900, 620000, '临夏回族自治州', '临夏', '103.212006', '35.599445', 2, 0, 1), (622901, 622900, '临夏市', '临夏市', '103.21163', '35.59941', 3, 0, 1), (622921, 622900, '临夏县', '临夏县', '102.99387', '35.49236', 3, 0, 1), (622922, 622900, '康乐县', '康乐', '103.709854', '35.371906', 3, 0, 1), (622923, 622900, '永靖县', '永靖', '103.31987', '35.938934', 3, 0, 1), (622924, 622900, '广河县', '广河', '103.57619', '35.48169', 3, 0, 1), (622925, 622900, '和政县', '和政', '103.35036', '35.425972', 3, 0, 1), (622926, 622900, '东乡族自治县', '东乡', '103.389565', '35.66383', 3, 0, 1), (622927, 622900, '积石山保安族东乡族撒拉族自治县', '积石山', '102.87747', '35.712906', 3, 0, 1), (623000, 620000, '甘南藏族自治州', '甘南', '102.91101', '34.986355', 2, 0, 1), (623001, 623000, '合作市', '合作', '102.91149', '34.985973', 3, 0, 1), (623021, 623000, '临潭县', '临潭', '103.35305', '34.69164', 3, 0, 1), (623022, 623000, '卓尼县', '卓尼', '103.50851', '34.588165', 3, 0, 1), (623023, 623000, '舟曲县', '舟曲', '104.37027', '33.782963', 3, 0, 1), (623024, 623000, '迭部县', '迭部', '103.22101', '34.055347', 3, 0, 1), (623025, 623000, '玛曲县', '玛曲', '102.07577', '33.99807', 3, 0, 1), (623026, 623000, '碌曲县', '碌曲', '102.488495', '34.589592', 3, 0, 1), (623027, 623000, '夏河县', '夏河', '102.520744', '35.20085', 3, 0, 1), (630000, 0, '青海省', '青海', '101.778915', '36.623177', 1, 0, 1), (630100, 630000, '西宁市', '西宁', '101.778915', '36.623177', 2, 0, 1), (630102, 630100, '城东区', '城东', '101.7961', '36.616043', 3, 0, 1), (630103, 630100, '城中区', '城中', '101.78455', '36.62118', 3, 0, 1), (630104, 630100, '城西区', '城西', '101.76365', '36.628323', 3, 0, 1), (630105, 630100, '城北区', '城北', '101.7613', '36.64845', 3, 0, 1), (630106, 630100, '湟中区', '湟中', '101.57164', '36.50087', 3, 0, 1), (630121, 630100, '大通回族土族自治县', '大通', '101.68418', '36.931343', 3, 0, 1), (630123, 630100, '湟源县', '湟源', '101.263435', '36.68482', 3, 0, 1), (630200, 630000, '海东市', '海东', '', '', 2, 0, 1), (630202, 630200, '乐都区', '乐都', '102.40173', '36.48209', 3, 0, 1), (630203, 630200, '平安区', '平安', '102.10848', '36.50029', 3, 0, 1), (630222, 630200, '民和回族土族自治县', '民和回族土族自治县', '102.83087', '36.32026', 3, 0, 1), (630223, 630200, '互助土族自治县', '互助土族自治县', '101.95842', '36.84412', 3, 0, 1), (630224, 630200, '化隆回族自治县', '化隆回族自治县', '102.26404', '36.09493', 3, 0, 1), (630225, 630200, '循化撒拉族自治县', '循化撒拉族自治县', '102.4891', '35.8508', 3, 0, 1), (632200, 630000, '海北藏族自治州', '海北', '100.90106', '36.959435', 2, 0, 1), (632221, 632200, '门源回族自治县', '门源', '101.61846', '37.37663', 3, 0, 1), (632222, 632200, '祁连县', '祁连', '100.24978', '38.175407', 3, 0, 1), (632223, 632200, '海晏县', '海晏', '100.90049', '36.95954', 3, 0, 1), (632224, 632200, '刚察县', '刚察', '100.13842', '37.326263', 3, 0, 1), (632300, 630000, '黄南藏族自治州', '黄南', '102.01999', '35.517742', 2, 0, 1), (632301, 632300, '同仁市', '同仁', '', '', 3, 0, 1), (632322, 632300, '尖扎县', '尖扎', '102.03195', '35.938206', 3, 0, 1), (632323, 632300, '泽库县', '泽库', '101.469345', '35.036842', 3, 0, 1), (632324, 632300, '河南蒙古族自治县', '河南', '101.61188', '34.734524', 3, 0, 1), (632500, 630000, '海南藏族自治州', '海南藏族', '100.619545', '36.280354', 2, 0, 1), (632521, 632500, '共和县', '共和', '100.6196', '36.280285', 3, 0, 1), (632522, 632500, '同德县', '同德', '100.57947', '35.254494', 3, 0, 1), (632523, 632500, '贵德县', '贵德', '101.431854', '36.040455', 3, 0, 1), (632524, 632500, '兴海县', '兴海', '99.98696', '35.58909', 3, 0, 1), (632525, 632500, '贵南县', '贵南', '100.74792', '35.587086', 3, 0, 1), (632600, 630000, '果洛藏族自治州', '果洛', '100.24214', '34.4736', 2, 0, 1), (632621, 632600, '玛沁县', '玛沁', '100.24353', '34.473385', 3, 0, 1), (632622, 632600, '班玛县', '班玛', '100.73795', '32.931587', 3, 0, 1), (632623, 632600, '甘德县', '甘德', '99.90259', '33.966988', 3, 0, 1), (632624, 632600, '达日县', '达日', '99.65172', '33.753258', 3, 0, 1), (632625, 632600, '久治县', '久治', '101.484886', '33.430218', 3, 0, 1), (632626, 632600, '玛多县', '玛多', '98.21134', '34.91528', 3, 0, 1), (632700, 630000, '玉树藏族自治州', '玉树', '97.00852', '33.004047', 2, 0, 1), (632701, 632700, '玉树市', '玉树', '97.00862', '32.99336', 3, 0, 1), (632722, 632700, '杂多县', '杂多', '95.29343', '32.891888', 3, 0, 1), (632723, 632700, '称多县', '称多', '97.11089', '33.367886', 3, 0, 1), (632724, 632700, '治多县', '治多', '95.616844', '33.85232', 3, 0, 1), (632725, 632700, '囊谦县', '囊谦', '96.4798', '32.203205', 3, 0, 1), (632726, 632700, '曲麻莱县', '曲麻莱', '95.800674', '34.12654', 3, 0, 1), (632800, 630000, '海西蒙古族藏族自治州', '海西', '97.37079', '37.374664', 2, 0, 1), (632801, 632800, '格尔木市', '格尔木', '94.90578', '36.401543', 3, 0, 1), (632802, 632800, '德令哈市', '德令哈', '97.37014', '37.374554', 3, 0, 1), (632803, 632800, '茫崖市', '茫崖', '90.85616', '38.24763', 3, 0, 1), (632821, 632800, '乌兰县', '乌兰', '98.47985', '36.93039', 3, 0, 1), (632822, 632800, '都兰县', '都兰', '98.089165', '36.298553', 3, 0, 1), (632823, 632800, '天峻县', '天峻', '99.02078', '37.29906', 3, 0, 1), (640000, 0, '宁夏回族自治区', '宁夏', '106.278175', '38.46637', 1, 0, 1), (640100, 640000, '银川市', '银川', '106.278175', '38.46637', 2, 0, 1), (640104, 640100, '兴庆区', '兴庆', '106.2784', '38.46747', 3, 0, 1), (640105, 640100, '西夏区', '西夏', '106.13212', '38.492424', 3, 0, 1), (640106, 640100, '金凤区', '金凤', '106.228485', '38.477352', 3, 0, 1), (640121, 640100, '永宁县', '永宁', '106.253784', '38.28043', 3, 0, 1), (640122, 640100, '贺兰县', '贺兰', '106.3459', '38.55456', 3, 0, 1), (640181, 640100, '灵武市', '灵武', '106.3347', '38.09406', 3, 0, 1), (640200, 640000, '石嘴山市', '石嘴山', '106.376175', '39.01333', 2, 0, 1), (640202, 640200, '大武口区', '大武口', '106.37665', '39.014156', 3, 0, 1), (640205, 640200, '惠农区', '惠农', '106.77551', '39.230095', 3, 0, 1), (640221, 640200, '平罗县', '平罗', '106.54489', '38.90674', 3, 0, 1), (640300, 640000, '吴忠市', '吴忠', '106.19941', '37.986164', 2, 0, 1), (640302, 640300, '利通区', '利通', '106.19942', '37.985966', 3, 0, 1), (640303, 640300, '红寺堡区', '红寺堡', '106.067314', '37.421616', 3, 0, 1), (640323, 640300, '盐池县', '盐池', '107.40541', '37.78422', 3, 0, 1), (640324, 640300, '同心县', '同心', '105.914764', '36.9829', 3, 0, 1), (640381, 640300, '青铜峡市', '青铜峡', '106.07539', '38.021507', 3, 0, 1), (640400, 640000, '固原市', '固原', '106.28524', '36.004562', 2, 0, 1), (640402, 640400, '原州区', '原州', '106.28477', '36.005337', 3, 0, 1), (640422, 640400, '西吉县', '西吉', '105.731804', '35.965385', 3, 0, 1), (640423, 640400, '隆德县', '隆德', '106.12344', '35.618233', 3, 0, 1), (640424, 640400, '泾源县', '泾源', '106.33868', '35.49344', 3, 0, 1), (640425, 640400, '彭阳县', '彭阳', '106.64151', '35.849976', 3, 0, 1), (640500, 640000, '中卫市', '中卫', '105.18957', '37.51495', 2, 0, 1), (640502, 640500, '沙坡头区', '沙坡头', '105.19054', '37.514565', 3, 0, 1), (640521, 640500, '中宁县', '中宁', '105.67578', '37.489735', 3, 0, 1), (640522, 640500, '海原县', '海原', '105.64732', '36.562008', 3, 0, 1), (650000, 0, '新疆维吾尔自治区', '新疆', '87.61773', '43.792816', 1, 0, 1), (650100, 650000, '乌鲁木齐市', '乌鲁木齐', '87.61773', '43.792816', 2, 0, 1), (650102, 650100, '天山区', '天山', '87.62012', '43.79643', 3, 0, 1), (650103, 650100, '沙依巴克区', '沙依巴克', '87.59664', '43.78887', 3, 0, 1), (650104, 650100, '新市区', '新市', '87.56065', '43.87088', 3, 0, 1), (650105, 650100, '水磨沟区', '水磨沟', '87.61309', '43.816746', 3, 0, 1), (650106, 650100, '头屯河区', '头屯河', '87.42582', '43.876053', 3, 0, 1), (650107, 650100, '达坂城区', '达坂城', '88.30994', '43.36181', 3, 0, 1), (650109, 650100, '米东区', '米东', '87.6918', '43.960983', 3, 0, 1), (650121, 650100, '乌鲁木齐县', '乌鲁木齐', '1.0', '0.0', 3, 0, 1), (650200, 650000, '克拉玛依市', '克拉玛依', '84.87395', '45.595886', 2, 0, 1), (650202, 650200, '独山子区', '独山子', '84.88227', '44.327206', 3, 0, 1), (650203, 650200, '克拉玛依区', '克拉玛依', '84.86892', '45.600475', 3, 0, 1), (650204, 650200, '白碱滩区', '白碱滩', '85.12988', '45.689022', 3, 0, 1), (650205, 650200, '乌尔禾区', '乌尔禾', '85.69777', '46.08776', 3, 0, 1), (650400, 650000, '吐鲁番市', '吐鲁番', '', '', 2, 0, 1), (650402, 650400, '高昌区', '高昌', '89.18596', '42.94244', 3, 0, 1), (650421, 650400, '鄯善县', '鄯善', '90.21341', '42.86887', 3, 0, 1), (650422, 650400, '托克逊县', '托克逊', '88.65384', '42.79181', 3, 0, 1), (650500, 650000, '哈密市', '哈密', '', '', 2, 0, 1), (650502, 650500, '伊州区', '伊州', '93.51465', '42.82699', 3, 0, 1), (650521, 650500, '巴里坤哈萨克自治县', '巴里坤哈萨克自治县', '93.01654', '43.59873', 3, 0, 1), (650522, 650500, '伊吾县', '伊吾', '94.69741', '43.25451', 3, 0, 1), (652300, 650000, '昌吉回族自治州', '昌吉', '87.30401', '44.014576', 2, 0, 1), (652301, 652300, '昌吉市', '昌吉', '87.304115', '44.013184', 3, 0, 1), (652302, 652300, '阜康市', '阜康', '87.98384', '44.152153', 3, 0, 1), (652323, 652300, '呼图壁县', '呼图壁', '86.88861', '44.189342', 3, 0, 1), (652324, 652300, '玛纳斯县', '玛纳斯', '86.21769', '44.305626', 3, 0, 1), (652325, 652300, '奇台县', '奇台', '89.59144', '44.021996', 3, 0, 1), (652327, 652300, '吉木萨尔县', '吉木萨尔', '89.18129', '43.99716', 3, 0, 1), (652328, 652300, '木垒哈萨克自治县', '木垒', '90.28283', '43.832443', 3, 0, 1), (652700, 650000, '博尔塔拉蒙古自治州', '博尔塔拉', '82.074776', '44.90326', 2, 0, 1), (652701, 652700, '博乐市', '博乐', '82.072235', '44.903088', 3, 0, 1), (652702, 652700, '阿拉山口市', '阿拉山口', '82.074776', '44.90326', 3, 0, 1), (652722, 652700, '精河县', '精河', '82.89294', '44.605644', 3, 0, 1), (652723, 652700, '温泉县', '温泉', '81.03099', '44.97375', 3, 0, 1), (652800, 650000, '巴音郭楞蒙古自治州', '巴音郭楞', '86.15097', '41.76855', 2, 0, 1), (652801, 652800, '库尔勒市', '库尔勒', '86.14595', '41.763123', 3, 0, 1), (652822, 652800, '轮台县', '轮台', '84.24854', '41.781265', 3, 0, 1), (652823, 652800, '尉犁县', '尉犁', '86.26341', '41.33743', 3, 0, 1), (652824, 652800, '若羌县', '若羌', '88.16881', '39.023808', 3, 0, 1), (652825, 652800, '且末县', '且末', '85.53263', '38.13856', 3, 0, 1), (652826, 652800, '焉耆回族自治县', '焉耆', '86.5698', '42.06435', 3, 0, 1), (652827, 652800, '和静县', '和静', '86.39107', '42.31716', 3, 0, 1), (652828, 652800, '和硕县', '和硕', '86.864944', '42.268864', 3, 0, 1), (652829, 652800, '博湖县', '博湖', '86.63158', '41.980167', 3, 0, 1), (652900, 650000, '阿克苏地区', '阿克苏', '80.26507', '41.17071', 2, 0, 1), (652901, 652900, '阿克苏市', '阿克苏', '80.2629', '41.171272', 3, 0, 1), (652902, 652900, '库车市', '库车', '82.96212', '41.71741', 3, 0, 1), (652922, 652900, '温宿县', '温宿', '80.24327', '41.272995', 3, 0, 1), (652924, 652900, '沙雅县', '沙雅', '82.78077', '41.22627', 3, 0, 1), (652925, 652900, '新和县', '新和', '82.610825', '41.551174', 3, 0, 1), (652926, 652900, '拜城县', '拜城', '81.86988', '41.7961', 3, 0, 1), (652927, 652900, '乌什县', '乌什', '79.230804', '41.21587', 3, 0, 1), (652928, 652900, '阿瓦提县', '阿瓦提', '80.378426', '40.63842', 3, 0, 1), (652929, 652900, '柯坪县', '柯坪', '79.04785', '40.50624', 3, 0, 1), (653000, 650000, '克孜勒苏柯尔克孜自治州', '克孜勒苏柯尔克孜', '76.17283', '39.713432', 2, 0, 1), (653001, 653000, '阿图什市', '阿图什', '76.17394', '39.7129', 3, 0, 1), (653022, 653000, '阿克陶县', '阿克陶', '75.94516', '39.14708', 3, 0, 1), (653023, 653000, '阿合奇县', '阿合奇', '78.450165', '40.93757', 3, 0, 1), (653024, 653000, '乌恰县', '乌恰', '75.25969', '39.716633', 3, 0, 1), (653100, 650000, '喀什地区', '喀什', '75.989136', '39.467663', 2, 0, 1), (653101, 653100, '喀什市', '喀什', '75.98838', '39.46786', 3, 0, 1), (653121, 653100, '疏附县', '疏附', '75.863075', '39.378307', 3, 0, 1), (653122, 653100, '疏勒县', '疏勒', '76.05365', '39.39946', 3, 0, 1), (653123, 653100, '英吉沙县', '英吉沙', '76.17429', '38.92984', 3, 0, 1), (653124, 653100, '泽普县', '泽普', '77.27359', '38.191216', 3, 0, 1), (653125, 653100, '莎车县', '莎车', '77.248886', '38.414497', 3, 0, 1), (653126, 653100, '叶城县', '叶城', '77.42036', '37.884678', 3, 0, 1), (653127, 653100, '麦盖提县', '麦盖提', '77.651535', '38.903385', 3, 0, 1), (653128, 653100, '岳普湖县', '岳普湖', '76.7724', '39.23525', 3, 0, 1), (653129, 653100, '伽师县', '伽师', '76.74198', '39.494324', 3, 0, 1), (653130, 653100, '巴楚县', '巴楚', '78.55041', '39.783478', 3, 0, 1), (653131, 653100, '塔什库尔干塔吉克自治县', '塔什库尔干', '75.228065', '37.775436', 3, 0, 1), (653200, 650000, '和田地区', '和田', '79.92533', '37.110687', 2, 0, 1), (653201, 653200, '和田市', '和田市', '79.92754', '37.108944', 3, 0, 1), (653221, 653200, '和田县', '和田县', '79.81907', '37.12003', 3, 0, 1), (653222, 653200, '墨玉县', '墨玉', '79.736626', '37.27151', 3, 0, 1), (653223, 653200, '皮山县', '皮山', '78.2823', '37.616333', 3, 0, 1), (653224, 653200, '洛浦县', '洛浦', '80.18404', '37.074375', 3, 0, 1), (653225, 653200, '策勒县', '策勒', '80.80357', '37.00167', 3, 0, 1), (653226, 653200, '于田县', '于田', '81.66785', '36.85463', 3, 0, 1), (653227, 653200, '民丰县', '民丰', '82.69235', '37.06491', 3, 0, 1), (654000, 650000, '伊犁哈萨克自治州', '伊犁', '81.31795', '43.92186', 2, 0, 1), (654002, 654000, '伊宁市', '伊宁市', '81.316345', '43.92221', 3, 0, 1), (654003, 654000, '奎屯市', '奎屯', '84.9016', '44.423447', 3, 0, 1), (654004, 654000, '霍尔果斯市', '霍尔果斯', '80.41317', '44.19865', 3, 0, 1), (654021, 654000, '伊宁县', '伊宁县', '81.52467', '43.977875', 3, 0, 1), (654022, 654000, '察布查尔锡伯自治县', '察布查尔', '81.15087', '43.838882', 3, 0, 1), (654023, 654000, '霍城县', '霍城', '80.872505', '44.04991', 3, 0, 1), (654024, 654000, '巩留县', '巩留', '82.22704', '43.481617', 3, 0, 1), (654025, 654000, '新源县', '新源', '83.25849', '43.43425', 3, 0, 1), (654026, 654000, '昭苏县', '昭苏', '81.12603', '43.157764', 3, 0, 1), (654027, 654000, '特克斯县', '特克斯', '81.84006', '43.214863', 3, 0, 1), (654028, 654000, '尼勒克县', '尼勒克', '82.50412', '43.789738', 3, 0, 1), (654200, 650000, '塔城地区', '塔城', '82.98573', '46.7463', 2, 0, 1), (654201, 654200, '塔城市', '塔城', '82.983986', '46.74628', 3, 0, 1), (654202, 654200, '乌苏市', '乌苏', '84.67763', '44.430115', 3, 0, 1), (654221, 654200, '额敏县', '额敏', '83.622116', '46.522556', 3, 0, 1), (654223, 654200, '沙湾县', '沙湾', '85.622505', '44.329544', 3, 0, 1), (654224, 654200, '托里县', '托里', '83.60469', '45.935863', 3, 0, 1), (654225, 654200, '裕民县', '裕民', '82.982155', '46.20278', 3, 0, 1), (654226, 654200, '和布克赛尔蒙古自治县', '和布克赛尔', '85.73355', '46.793', 3, 0, 1), (654300, 650000, '阿勒泰地区', '阿勒泰', '88.13963', '47.848392', 2, 0, 1), (654301, 654300, '阿勒泰市', '阿勒泰', '88.13874', '47.84891', 3, 0, 1), (654321, 654300, '布尔津县', '布尔津', '86.86186', '47.70453', 3, 0, 1), (654322, 654300, '富蕴县', '富蕴', '89.524994', '46.993107', 3, 0, 1), (654323, 654300, '福海县', '福海', '87.49457', '47.11313', 3, 0, 1), (654324, 654300, '哈巴河县', '哈巴河', '86.41896', '48.059284', 3, 0, 1), (654325, 654300, '青河县', '青河', '90.38156', '46.672447', 3, 0, 1), (654326, 654300, '吉木乃县', '吉木乃', '85.87606', '47.43463', 3, 0, 1), (659000, 650000, '直辖县级行政区', '直辖县级行政区', '', '', 2, 0, 1), (659001, 659000, '石河子市', '石河子', '86.04108', '44.305885', 3, 0, 1), (659002, 659000, '阿拉尔市', '阿拉尔', '81.28588', '40.541916', 3, 0, 1), (659003, 659000, '图木舒克市', '图木舒克', '79.07798', '39.867317', 3, 0, 1), (659004, 659000, '五家渠市', '五家渠', '87.526886', '44.1674', 3, 0, 1), (659005, 659000, '北屯市', '北屯', '87.80014', '47.36327', 3, 0, 1), (659006, 659000, '铁门关市', '铁门关', '85.67583', '41.86868', 3, 0, 1), (659007, 659000, '双河市', '双河', '82.35501', '44.84418', 3, 0, 1), (659008, 659000, '可克达拉市', '可克达拉', '81.04476', '43.94799', 3, 0, 1), (659009, 659000, '昆玉市', '昆玉', '79.29133', '37.20948', 3, 0, 1), (659010, 659000, '胡杨河市', '胡杨河', '84.827387', '44.69295', 3, 0, 1), (714368, 0, '香港特别行政区', '香港特别行政区', '114.173355', '22.320048', 1, 0, 1), (714390, 0, '澳门特别行政区', '澳门特别行政区', '113.549090', '22.198951', 1, 0, 1), (714401, 0, '台湾', '台湾', '121.509062', '25.044332', 1, 0, 1), (714402, 714401, '彰化县', '彰化县', '120.416000', '24.000000', 2, 0, 1), (714403, 714402, '芳苑乡', '芳苑乡', '120.416000', '24.000000', 3, 0, 1), (714632, 714402, '芬园乡', '芬园乡', '120.416000', '24.000000', 3, 0, 1), (714701, 714402, '福兴乡', '福兴乡', '120.416000', '24.000000', 3, 0, 1), (714777, 714402, '和美镇', '和美镇', '120.416000', '24.000000', 3, 0, 1), (715055, 714402, '花坛乡', '花坛乡', '120.416000', '24.000000', 3, 0, 1), (715172, 714402, '鹿港镇', '鹿港镇', '120.416000', '24.000000', 3, 0, 1), (715490, 714402, '埤头乡', '埤头乡', '120.464542', '23.890392', 3, 0, 1), (715602, 714402, '埔心乡', '埔心乡', '120.416000', '24.000000', 3, 0, 1), (715745, 714402, '埔盐乡', '埔盐乡', '120.416000', '24.000000', 3, 0, 1), (715795, 714402, '伸港乡', '伸港乡', '120.416000', '24.000000', 3, 0, 1), (715960, 714402, '社头乡', '社头乡', '120.416000', '24.000000', 3, 0, 1), (716105, 714402, '田尾乡', '田尾乡', '120.416000', '24.000000', 3, 0, 1), (716202, 714402, '田中镇', '田中镇', '120.416000', '24.000000', 3, 0, 1), (716341, 714402, '线西乡', '线西乡', '120.416000', '24.000000', 3, 0, 1), (716421, 714402, '溪湖镇', '溪湖镇', '120.416000', '24.000000', 3, 0, 1), (716750, 714402, '秀水乡', '秀水乡', '120.416000', '24.000000', 3, 0, 1), (716874, 714402, '溪州乡', '溪州乡', '120.492906', '23.853578', 3, 0, 1), (717107, 714402, '永靖乡', '永靖乡', '120.416000', '24.000000', 3, 0, 1), (717238, 714402, '员林市', '员林市', '120.416000', '24.000000', 3, 0, 1), (717447, 714402, '竹塘乡', '竹塘乡', '120.416000', '24.000000', 3, 0, 1), (717531, 714401, '新北市', '新北市', '121.465746', '25.012366', 2, 0, 1), (717532, 717531, '八里区', '八里区', '121.465746', '25.012366', 3, 0, 1), (717645, 717531, '板桥区', '板桥区', '121.465746', '25.012366', 3, 0, 1), (717902, 717531, '贡寮区', '贡寮区', '121.465746', '25.012366', 3, 0, 1), (717955, 717531, '金山区', '金山区', '121.465746', '25.012366', 3, 0, 1), (718036, 717531, '林口区', '林口区', '121.465746', '25.012366', 3, 0, 1), (718195, 717531, '芦洲区', '芦洲区', '121.465746', '25.012366', 3, 0, 1), (718266, 717531, '坪林区', '坪林区', '121.465746', '25.012366', 3, 0, 1), (718327, 717531, '平溪区', '平溪区', '121.465746', '25.012366', 3, 0, 1), (718375, 717531, '瑞芳区', '瑞芳区', '121.465746', '25.012366', 3, 0, 1), (718490, 717531, '三重区', '三重区', '121.465746', '25.012366', 3, 0, 1), (718786, 717531, '三峡区', '三峡区', '121.465746', '25.012366', 3, 0, 1), (718879, 717531, '三芝区', '三芝区', '121.465746', '25.012366', 3, 0, 1), (718980, 717531, '深坑区', '深坑区', '121.465746', '25.012366', 3, 0, 1), (719023, 717531, '石碇区', '石碇区', '121.465746', '25.012366', 3, 0, 1), (719115, 717531, '石门区', '石门区', '121.465746', '25.012366', 3, 0, 1), (719155, 717531, '双溪区', '双溪区', '121.465746', '25.012366', 3, 0, 1), (719243, 717531, '树林区', '树林区', '121.465746', '25.012366', 3, 0, 1), (719382, 717531, '泰山区', '泰山区', '121.465746', '25.012366', 3, 0, 1), (719498, 717531, '淡水区', '淡水区', '121.465746', '25.012366', 3, 0, 1), (719731, 717531, '土城区', '土城区', '121.465746', '25.012366', 3, 0, 1), (719868, 714401, '澎湖县', '澎湖县', '119.566417', '23.569733', 2, 0, 1), (719869, 719868, '白沙乡', '白沙乡', '119.566417', '23.569733', 3, 0, 1), (719890, 719868, '湖西乡', '湖西乡', '119.566417', '23.569733', 3, 0, 1), (719916, 719868, '马公市', '马公市', '119.566417', '23.569733', 3, 0, 1), (720065, 719868, '七美乡', '七美乡', '119.566417', '23.569733', 3, 0, 1), (720090, 719868, '望安乡', '望安乡', '119.566417', '23.569733', 3, 0, 1), (720102, 719868, '西屿乡', '西屿乡', '119.566417', '23.569733', 3, 0, 1), (720118, 714401, '屏东县', '屏东县', '120.487928', '22.682802', 2, 0, 1), (720119, 720118, '三地门乡', '三地门乡', '120.487928', '22.682802', 3, 0, 1), (720142, 720118, '狮子乡', '狮子乡', '120.487928', '22.682802', 3, 0, 1), (720163, 720118, '泰武乡', '泰武乡', '120.626012', '22.591307', 3, 0, 1), (720186, 720118, '万丹乡', '万丹乡', '120.486423', '22.588123', 3, 0, 1), (720415, 720118, '万峦乡', '万峦乡', '120.566478', '22.571966', 3, 0, 1), (720480, 720118, '雾臺乡', '雾臺乡', '120.727653', '22.743675', 3, 0, 1), (720502, 720118, '新埤乡', '新埤乡', '120.545190', '22.465998', 3, 0, 1), (720553, 720118, '新园乡', '新园乡', '120.459758', '22.544147', 3, 0, 1), (720649, 720118, '盐埔乡', '盐埔乡', '120.487928', '22.682802', 3, 0, 1), (720748, 720118, '竹田乡', '竹田乡', '120.487928', '22.682802', 3, 0, 1), (720835, 720118, '长治乡', '长治乡', '120.487928', '22.682802', 3, 0, 1), (720975, 720118, '潮州镇', '潮州镇', '120.487928', '22.682802', 3, 0, 1), (721293, 720118, '车城乡', '车城乡', '120.707694', '22.072115', 3, 0, 1), (721335, 720118, '春日乡', '春日乡', '120.622000', '22.368284', 3, 0, 1), (721344, 720118, '东港镇', '东港镇', '120.487928', '22.682802', 3, 0, 1), (721490, 720118, '枋寮乡', '枋寮乡', '120.487928', '22.682802', 3, 0, 1), (721617, 720118, '枋山乡', '枋山乡', '120.647762', '22.262550', 3, 0, 1), (721638, 720118, '高树乡', '高树乡', '120.595945', '22.825131', 3, 0, 1), (721805, 720118, '恆春镇', '恆春镇', '120.487928', '22.682802', 3, 0, 1), (721930, 720118, '佳冬乡', '佳冬乡', '120.545370', '22.417786', 3, 0, 1), (722024, 714401, '臺中市', '臺中市', '0.000000', '0.000000', 2, 0, 1), (722025, 722024, '梧栖区', '梧栖区', '0.000000', '0.000000', 3, 0, 1), (722212, 722024, '乌日区', '乌日区', '0.000000', '0.000000', 3, 0, 1), (722402, 722024, '新社区', '新社区', '0.000000', '0.000000', 3, 0, 1), (722474, 722024, '西屯区', '西屯区', '0.000000', '0.000000', 3, 0, 1), (722699, 722024, '北屯区', '北屯区', '0.000000', '0.000000', 3, 0, 1), (722879, 722024, '中区', '中区', '0.000000', '0.000000', 3, 0, 1), (722923, 722024, '大肚区', '大肚区', '0.000000', '0.000000', 3, 0, 1), (723021, 722024, '大甲区', '大甲区', '0.000000', '0.000000', 3, 0, 1), (723211, 722024, '大里区', '大里区', '0.000000', '0.000000', 3, 0, 1), (723592, 722024, '大雅区', '大雅区', '0.000000', '0.000000', 3, 0, 1), (723756, 722024, '大安区', '大安区', '0.000000', '0.000000', 3, 0, 1), (723802, 722024, '东势区', '东势区', '0.000000', '0.000000', 3, 0, 1), (723966, 722024, '东区', '东区', '0.000000', '0.000000', 3, 0, 1), (724148, 722024, '丰原区', '丰原区', '0.000000', '0.000000', 3, 0, 1), (724424, 722024, '和平区', '和平区', '0.000000', '0.000000', 3, 0, 1), (724504, 722024, '后里区', '后里区', '0.000000', '0.000000', 3, 0, 1), (724656, 722024, '龙井区', '龙井区', '0.000000', '0.000000', 3, 0, 1), (724797, 722024, '南屯区', '南屯区', '0.000000', '0.000000', 3, 0, 1), (724872, 722024, '北区', '北区', '0.000000', '0.000000', 3, 0, 1), (725199, 722024, '清水区', '清水区', '0.000000', '0.000000', 3, 0, 1), (725488, 714401, '臺南市', '臺南市', '0.000000', '0.000000', 2, 0, 1), (725489, 725488, '佳里区', '佳里区', '0.000000', '0.000000', 3, 0, 1), (725588, 725488, '将军区', '将军区', '0.000000', '0.000000', 3, 0, 1), (725620, 725488, '六甲区', '六甲区', '0.000000', '0.000000', 3, 0, 1), (725679, 725488, '柳营区', '柳营区', '0.000000', '0.000000', 3, 0, 1), (725795, 725488, '龙崎区', '龙崎区', '0.000000', '0.000000', 3, 0, 1), (725841, 725488, '麻豆区', '麻豆区', '0.000000', '0.000000', 3, 0, 1), (725927, 725488, '南化区', '南化区', '0.000000', '0.000000', 3, 0, 1), (725938, 725488, '楠西区', '楠西区', '0.000000', '0.000000', 3, 0, 1), (725973, 725488, '北区', '北区', '0.000000', '0.000000', 3, 0, 1), (726300, 725488, '七股区', '七股区', '0.000000', '0.000000', 3, 0, 1), (726338, 725488, '仁德区', '仁德区', '0.000000', '0.000000', 3, 0, 1), (726539, 725488, '善化区', '善化区', '0.000000', '0.000000', 3, 0, 1), (726675, 725488, '山上区', '山上区', '0.000000', '0.000000', 3, 0, 1), (726691, 725488, '南区', '南区', '120.679305', '24.133453', 3, 0, 1), (727041, 725488, '中西区', '中西区', '0.000000', '0.000000', 3, 0, 1), (727251, 725488, '下营区', '下营区', '0.000000', '0.000000', 3, 0, 1), (727339, 725488, '西港区', '西港区', '0.000000', '0.000000', 3, 0, 1), (727375, 725488, '新化区', '新化区', '0.000000', '0.000000', 3, 0, 1), (727425, 725488, '新市区', '新市区', '0.000000', '0.000000', 3, 0, 1), (727529, 725488, '新营区', '新营区', '0.000000', '0.000000', 3, 0, 1), (727730, 714401, '臺北市', '臺北市', '121.517057', '25.048074', 2, 0, 1), (727731, 727730, '北投区', '北投区', '121.517057', '25.048074', 3, 0, 1), (727897, 727730, '大同区', '大同区', '121.517057', '25.048074', 3, 0, 1), (728070, 727730, '大安区', '大安区', '121.517057', '25.048074', 3, 0, 1), (728116, 727730, '南港区', '南港区', '121.517057', '25.048074', 3, 0, 1), (728220, 727730, '内湖区', '内湖区', '121.517057', '25.048074', 3, 0, 1), (728340, 727730, '士林区', '士林区', '121.517057', '25.048074', 3, 0, 1), (728550, 727730, '松山区', '松山区', '121.517057', '25.048074', 3, 0, 1), (728713, 727730, '万华区', '万华区', '121.517057', '25.048074', 3, 0, 1), (728920, 727730, '文山区', '文山区', '121.517057', '25.048074', 3, 0, 1), (729073, 727730, '信义区', '信义区', '121.517057', '25.048074', 3, 0, 1), (729277, 727730, '中山区', '中山区', '121.517057', '25.048074', 3, 0, 1), (729583, 727730, '中正区', '中正区', '121.517057', '25.048074', 3, 0, 1), (729928, 714401, '臺东县', '臺东县', '0.000000', '0.000000', 2, 0, 1), (729929, 729928, '卑南乡', '卑南乡', '121.117213', '22.781744', 3, 0, 1), (729994, 729928, '长滨乡', '长滨乡', '0.000000', '0.000000', 3, 0, 1), (730033, 729928, '成功镇', '成功镇', '0.000000', '0.000000', 3, 0, 1), (730107, 729928, '池上乡', '池上乡', '121.212999', '23.123275', 3, 0, 1), (730196, 729928, '达仁乡', '达仁乡', '120.878316', '22.296142', 3, 0, 1), (730219, 729928, '大武乡', '大武乡', '0.000000', '0.000000', 3, 0, 1), (730268, 729928, '东河乡', '东河乡', '0.000000', '0.000000', 3, 0, 1), (730308, 729928, '关山镇', '关山镇', '121.158084', '23.047483', 3, 0, 1), (730384, 729928, '海端乡', '海端乡', '121.172009', '23.101079', 3, 0, 1), (730409, 729928, '金峰乡', '金峰乡', '0.000000', '0.000000', 3, 0, 1), (730416, 729928, '兰屿乡', '兰屿乡', '0.000000', '0.000000', 3, 0, 1), (730423, 729928, '绿岛乡', '绿岛乡', '0.000000', '0.000000', 3, 0, 1), (730438, 729928, '鹿野乡', '鹿野乡', '0.000000', '0.000000', 3, 0, 1), (730510, 729928, '太麻里乡', '太麻里乡', '120.999365', '22.610919', 3, 0, 1), (730565, 729928, '臺东市', '臺东市', '0.000000', '0.000000', 3, 0, 1), (730832, 729928, '延平乡', '延平乡', '0.000000', '0.000000', 3, 0, 1), (730843, 714401, '桃园市', '桃园市', '121.083000', '25.000000', 2, 0, 1), (730844, 730843, '八德区', '八德区', '121.083000', '25.000000', 3, 0, 1), (731212, 730843, '大溪区', '大溪区', '121.083000', '25.000000', 3, 0, 1), (731471, 730843, '大园区', '大园区', '121.083000', '25.000000', 3, 0, 1), (731767, 730843, '復兴区', '復兴区', '121.083000', '25.000000', 3, 0, 1), (731835, 730843, '观音区', '观音区', '121.083000', '25.000000', 3, 0, 1), (732079, 730843, '龟山区', '龟山区', '121.083000', '25.000000', 3, 0, 1), (732469, 730843, '龙潭区', '龙潭区', '121.083000', '25.000000', 3, 0, 1), (732800, 730843, '芦竹区', '芦竹区', '121.083000', '25.000000', 3, 0, 1), (733144, 730843, '平镇区', '平镇区', '121.083000', '25.000000', 3, 0, 1), (733179, 730843, '桃园区', '桃园区', '121.083000', '25.000000', 3, 0, 1), (733390, 730843, '新屋区', '新屋区', '121.083000', '25.000000', 3, 0, 1), (733537, 730843, '杨梅区', '杨梅区', '121.083000', '25.000000', 3, 0, 1), (733876, 730843, '中坜区', '中坜区', '121.083000', '25.000000', 3, 0, 1), (734179, 714401, '宜兰县', '宜兰县', '121.500000', '24.600000', 2, 0, 1), (734180, 734179, '大同乡', '大同乡', '121.500000', '24.600000', 3, 0, 1), (734246, 734179, '钓鱼臺', '钓鱼臺', '121.500000', '24.600000', 3, 0, 1), (734248, 734179, '冬山乡', '冬山乡', '121.500000', '24.600000', 3, 0, 1), (734579, 734179, '礁溪乡', '礁溪乡', '121.500000', '24.600000', 3, 0, 1), (734681, 734179, '罗东镇', '罗东镇', '121.500000', '24.600000', 3, 0, 1), (734842, 734179, '南澳乡', '南澳乡', '121.500000', '24.600000', 3, 0, 1), (734865, 734179, '三星乡', '三星乡', '121.500000', '24.600000', 3, 0, 1), (735104, 734179, '苏澳镇', '苏澳镇', '121.500000', '24.600000', 3, 0, 1), (735319, 734179, '头城镇', '头城镇', '121.500000', '24.600000', 3, 0, 1), (735419, 734179, '五结乡', '五结乡', '121.796468', '24.685615', 3, 0, 1), (735620, 734179, '宜兰市', '宜兰市', '121.500000', '24.600000', 3, 0, 1), (735851, 734179, '员山乡', '员山乡', '121.500000', '24.600000', 3, 0, 1), (735970, 734179, '壮围乡', '壮围乡', '121.500000', '24.600000', 3, 0, 1), (736051, 714401, '南投县', '南投县', '120.830000', '23.830000', 2, 0, 1), (736052, 736051, '草屯镇', '草屯镇', '120.830000', '23.830000', 3, 0, 1), (736305, 736051, '国姓乡', '国姓乡', '120.830000', '23.830000', 3, 0, 1), (736356, 736051, '集集镇', '集集镇', '120.830000', '23.830000', 3, 0, 1), (736449, 736051, '鹿谷乡', '鹿谷乡', '120.830000', '23.830000', 3, 0, 1), (736522, 736051, '名间乡', '名间乡', '120.830000', '23.830000', 3, 0, 1), (736622, 736051, '南投市', '南投市', '120.830000', '23.830000', 3, 0, 1), (736887, 736051, '埔里镇', '埔里镇', '120.830000', '23.830000', 3, 0, 1), (737266, 736051, '仁爱乡', '仁爱乡', '120.830000', '23.830000', 3, 0, 1), (737337, 736051, '水里乡', '水里乡', '120.830000', '23.830000', 3, 0, 1), (737496, 736051, '信义乡', '信义乡', '120.830000', '23.830000', 3, 0, 1), (737533, 736051, '鱼池乡', '鱼池乡', '120.830000', '23.830000', 3, 0, 1), (737591, 736051, '中寮乡', '中寮乡', '120.830000', '23.830000', 3, 0, 1), (737625, 736051, '竹山镇', '竹山镇', '120.830000', '23.830000', 3, 0, 1), (737856, 714401, '南海岛', '南海岛', '0.000000', '0.000000', 2, 0, 1), (737857, 737856, '东沙群岛', '东沙群岛', '0.000000', '0.000000', 3, 0, 1), (737859, 737856, '南沙群岛', '南沙群岛', '0.000000', '0.000000', 3, 0, 1), (737861, 714401, '苗栗县', '苗栗县', '120.818985', '24.561601', 2, 0, 1), (737862, 737861, '头屋乡', '头屋乡', '120.818985', '24.561601', 3, 0, 1), (737894, 737861, '西湖乡', '西湖乡', '120.743700', '24.556610', 3, 0, 1), (737948, 737861, '苑里镇', '苑里镇', '120.818985', '24.561601', 3, 0, 1), (738050, 737861, '造桥乡', '造桥乡', '120.818985', '24.561601', 3, 0, 1), (738158, 737861, '竹南镇', '竹南镇', '120.872636', '24.685510', 3, 0, 1), (738454, 737861, '卓兰镇', '卓兰镇', '120.823440', '24.309510', 3, 0, 1), (738528, 737861, '大湖乡', '大湖乡', '120.863640', '24.422548', 3, 0, 1), (738619, 737861, '公馆乡', '公馆乡', '120.818985', '24.561601', 3, 0, 1), (738695, 737861, '后龙镇', '后龙镇', '120.786474', '24.612613', 3, 0, 1), (738882, 737861, '苗栗市', '苗栗市', '120.819288', '24.561582', 3, 0, 1), (739250, 737861, '南庄乡', '南庄乡', '120.818985', '24.561601', 3, 0, 1), (739302, 737861, '三湾乡', '三湾乡', '120.818985', '24.561601', 3, 0, 1), (739369, 737861, '三义乡', '三义乡', '120.765515', '24.413037', 3, 0, 1), (739419, 737861, '狮潭乡', '狮潭乡', '120.918024', '24.540004', 3, 0, 1), (739465, 737861, '泰安乡', '泰安乡', '120.818985', '24.561601', 3, 0, 1), (739487, 737861, '铜锣乡', '铜锣乡', '120.786475', '24.489502', 3, 0, 1), (739564, 737861, '通霄镇', '通霄镇', '120.676696', '24.489084', 3, 0, 1), (739642, 737861, '头份市', '头份市', '120.818985', '24.561601', 3, 0, 1), (739957, 714401, '嘉义市', '嘉义市', '120.452538', '23.481568', 2, 0, 1), (739958, 739957, '东区', '东区', '120.452538', '23.481568', 3, 0, 1), (740140, 739957, '西区', '西区', '120.452538', '23.481568', 3, 0, 1), (740510, 714401, '嘉义县', '嘉义县', '120.452538', '23.481568', 2, 0, 1), (740511, 740510, '阿里山乡', '阿里山乡', '120.452538', '23.481568', 3, 0, 1), (740536, 740510, '布袋镇', '布袋镇', '120.452538', '23.481568', 3, 0, 1), (740625, 740510, '大林镇', '大林镇', '120.452538', '23.481568', 3, 0, 1), (740746, 740510, '大埔乡', '大埔乡', '120.452538', '23.481568', 3, 0, 1), (740792, 740510, '东石乡', '东石乡', '120.452538', '23.481568', 3, 0, 1), (740845, 740510, '番路乡', '番路乡', '120.452538', '23.481568', 3, 0, 1), (740943, 740510, '六脚乡', '六脚乡', '120.452538', '23.481568', 3, 0, 1), (740975, 740510, '鹿草乡', '鹿草乡', '120.452538', '23.481568', 3, 0, 1), (741010, 740510, '梅山乡', '梅山乡', '120.452538', '23.481568', 3, 0, 1), (741137, 740510, '民雄乡', '民雄乡', '120.452538', '23.481568', 3, 0, 1), (741312, 740510, '朴子市', '朴子市', '120.452538', '23.481568', 3, 0, 1), (741451, 740510, '水上乡', '水上乡', '120.452538', '23.481568', 3, 0, 1), (741550, 740510, '太保市', '太保市', '120.332737', '23.459115', 3, 0, 1), (741646, 740510, '溪口乡', '溪口乡', '120.452538', '23.481568', 3, 0, 1), (741688, 740510, '新港乡', '新港乡', '120.452538', '23.481568', 3, 0, 1), (741750, 740510, '义竹乡', '义竹乡', '120.452538', '23.481568', 3, 0, 1), (741785, 740510, '中埔乡', '中埔乡', '120.452538', '23.481568', 3, 0, 1), (741936, 740510, '竹崎乡', '竹崎乡', '120.452538', '23.481568', 3, 0, 1), (742126, 714401, '新竹市', '新竹市', '120.968798', '24.806738', 2, 0, 1), (742127, 742126, '东区', '东区', '120.973544', '24.805226', 3, 0, 1), (742309, 742126, '北区', '北区', '120.968798', '24.806738', 3, 0, 1), (742636, 714401, '新竹县', '新竹县', '120.968798', '24.806738', 2, 0, 1), (742637, 742636, '峨眉乡', '峨眉乡', '120.968798', '24.806738', 3, 0, 1), (742674, 742636, '关西镇', '关西镇', '120.968798', '24.806738', 3, 0, 1), (742797, 742636, '横山乡', '横山乡', '120.968798', '24.806738', 3, 0, 1), (742852, 742636, '湖口乡', '湖口乡', '120.968798', '24.806738', 3, 0, 1), (743201, 742636, '尖石乡', '尖石乡', '120.968798', '24.806738', 3, 0, 1), (743246, 742636, '芎林乡', '芎林乡', '120.968798', '24.806738', 3, 0, 1), (743298, 742636, '五峰乡', '五峰乡', '120.968798', '24.806738', 3, 0, 1), (743319, 742636, '新丰乡', '新丰乡', '120.968798', '24.806738', 3, 0, 1), (743414, 742636, '新埔镇', '新埔镇', '120.968798', '24.806738', 3, 0, 1), (743527, 742636, '竹北市', '竹北市', '120.968798', '24.806738', 3, 0, 1), (743565, 742636, '竹东镇', '竹东镇', '120.968798', '24.806738', 3, 0, 1), (743725, 742636, '宝山乡', '宝山乡', '120.968798', '24.806738', 3, 0, 1), (743888, 742636, '北埔乡', '北埔乡', '120.968798', '24.806738', 3, 0, 1), (743938, 714401, '花莲县', '花莲县', '121.300000', '23.830000', 2, 0, 1), (743939, 743938, '卓溪乡', '卓溪乡', '121.301890', '23.344908', 3, 0, 1), (743956, 743938, '丰滨乡', '丰滨乡', '121.300000', '23.830000', 3, 0, 1), (743993, 743938, '凤林镇', '凤林镇', '121.300000', '23.830000', 3, 0, 1), (744128, 743938, '富里乡', '富里乡', '121.244694', '23.175468', 3, 0, 1), (744185, 743938, '光復乡', '光復乡', '121.300000', '23.830000', 3, 0, 1), (744246, 743938, '花莲市', '花莲市', '121.606927', '23.981993', 3, 0, 1), (744625, 743938, '吉安乡', '吉安乡', '121.300000', '23.830000', 3, 0, 1), (745050, 743938, '瑞穗乡', '瑞穗乡', '121.373373', '23.496080', 3, 0, 1), (745196, 743938, '寿丰乡', '寿丰乡', '121.506030', '23.869774', 3, 0, 1), (745354, 743938, '万荣乡', '万荣乡', '121.300000', '23.830000', 3, 0, 1), (745363, 743938, '新城乡', '新城乡', '121.604120', '24.039243', 3, 0, 1), (745486, 743938, '秀林乡', '秀林乡', '121.300000', '23.830000', 3, 0, 1), (745532, 743938, '玉里镇', '玉里镇', '121.312109', '23.334236', 3, 0, 1), (745674, 714401, '高雄市', '高雄市', '120.311922', '22.620856', 2, 0, 1), (745675, 745674, '阿莲区', '阿莲区', '120.311922', '22.620856', 3, 0, 1), (745715, 745674, '大寮区', '大寮区', '120.311922', '22.620856', 3, 0, 1), (746083, 745674, '大社区', '大社区', '120.311922', '22.620856', 3, 0, 1), (746199, 745674, '大树区', '大树区', '120.311922', '22.620856', 3, 0, 1), (746294, 745674, '凤山区', '凤山区', '120.311922', '22.620856', 3, 0, 1), (746624, 745674, '冈山区', '冈山区', '120.311922', '22.620856', 3, 0, 1), (746906, 745674, '鼓山区', '鼓山区', '120.311922', '22.620856', 3, 0, 1), (747053, 745674, '湖内区', '湖内区', '120.311922', '22.620856', 3, 0, 1), (747108, 745674, '甲仙区', '甲仙区', '120.587980', '23.083957', 3, 0, 1), (747150, 745674, '苓雅区', '苓雅区', '120.311922', '22.620856', 3, 0, 1), (747342, 745674, '林园区', '林园区', '120.311922', '22.620856', 3, 0, 1), (747481, 745674, '六龟区', '六龟区', '120.311922', '22.620856', 3, 0, 1), (747536, 745674, '路竹区', '路竹区', '120.311922', '22.620856', 3, 0, 1), (747643, 745674, '茂林区', '茂林区', '120.311922', '22.620856', 3, 0, 1), (747647, 745674, '美浓区', '美浓区', '120.542419', '22.894882', 3, 0, 1), (747764, 745674, '弥陀区', '弥陀区', '120.250672', '22.781561', 3, 0, 1), (747894, 745674, '那玛夏区', '那玛夏区', '120.311922', '22.620856', 3, 0, 1), (747902, 745674, '楠梓区', '楠梓区', '120.311922', '22.620856', 3, 0, 1), (748258, 745674, '内门区', '内门区', '120.311922', '22.620856', 3, 0, 1), (748344, 745674, '鸟松区', '鸟松区', '120.311922', '22.620856', 3, 0, 1), (748553, 714401, '基隆市', '基隆市', '121.746248', '25.130741', 2, 0, 1), (748554, 748553, '安乐区', '安乐区', '121.746248', '25.130741', 3, 0, 1), (748581, 748553, '暖暖区', '暖暖区', '121.746248', '25.130741', 3, 0, 1), (748599, 748553, '七堵区', '七堵区', '121.746248', '25.130741', 3, 0, 1), (748670, 748553, '仁爱区', '仁爱区', '121.746248', '25.130741', 3, 0, 1), (748716, 748553, '信义区', '信义区', '121.746248', '25.130741', 3, 0, 1), (748920, 748553, '中山区', '中山区', '121.746248', '25.130741', 3, 0, 1), (749226, 748553, '中正区', '中正区', '121.768000', '25.151647', 3, 0, 1), (749571, 714401, '金门县', '金门县', '118.317089', '24.432706', 2, 0, 1), (749572, 749571, '金城镇', '金城镇', '118.317089', '24.432706', 3, 0, 1), (749647, 749571, '金湖镇', '金湖镇', '118.317089', '24.432706', 3, 0, 1), (749752, 749571, '金宁乡', '金宁乡', '118.317089', '24.432706', 3, 0, 1), (749810, 749571, '金沙镇', '金沙镇', '118.317089', '24.432706', 3, 0, 1), (749894, 749571, '烈屿乡', '烈屿乡', '118.317089', '24.432706', 3, 0, 1), (749928, 749571, '乌坵乡', '乌坵乡', '118.317089', '24.432706', 3, 0, 1), (749930, 714401, '连江县', '连江县', '119.539704', '26.197364', 2, 0, 1), (749931, 749930, '北竿乡', '北竿乡', '119.539704', '26.197364', 3, 0, 1), (749938, 749930, '东引乡', '东引乡', '119.539704', '26.197364', 3, 0, 1), (749941, 749930, '莒光乡', '莒光乡', '119.539704', '26.197364', 3, 0, 1), (749947, 749930, '南竿乡', '南竿乡', '119.539704', '26.197364', 3, 0, 1), (749957, 714401, '云林县', '云林县', '120.527173', '23.696887', 2, 0, 1), (749958, 749957, '褒忠乡', '褒忠乡', '120.309069', '23.695652', 3, 0, 1), (749991, 749957, '北港镇', '北港镇', '120.296759', '23.572428', 3, 0, 1), (750170, 749957, '莿桐乡', '莿桐乡', '120.497033', '23.757251', 3, 0, 1), (750218, 749957, '大埤乡', '大埤乡', '120.527173', '23.696887', 3, 0, 1), (750291, 749957, '东势乡', '东势乡', '120.527173', '23.696887', 3, 0, 1), (750363, 749957, '斗六市', '斗六市', '120.527173', '23.696887', 3, 0, 1), (750795, 749957, '斗南镇', '斗南镇', '120.527173', '23.696887', 3, 0, 1), (751009, 749957, '二崙乡', '二崙乡', '120.527173', '23.696887', 3, 0, 1), (751071, 749957, '古坑乡', '古坑乡', '120.558553', '23.644734', 3, 0, 1), (751147, 749957, '虎尾镇', '虎尾镇', '120.429231', '23.707796', 3, 0, 1), (751400, 749957, '口湖乡', '口湖乡', '120.178640', '23.585506', 3, 0, 1), (751493, 749957, '林内乡', '林内乡', '120.527173', '23.696887', 3, 0, 1), (751555, 749957, '崙背乡', '崙背乡', '120.527173', '23.696887', 3, 0, 1), (751674, 749957, '麦寮乡', '麦寮乡', '120.527173', '23.696887', 3, 0, 1), (751764, 749957, '水林乡', '水林乡', '120.241228', '23.571067', 3, 0, 1), (751832, 749957, '四湖乡', '四湖乡', '120.220781', '23.635426', 3, 0, 1), (751907, 749957, '臺西乡', '臺西乡', '120.196139', '23.702821', 3, 0, 1), (751956, 749957, '土库镇', '土库镇', '120.527173', '23.696887', 3, 0, 1), (752034, 749957, '西螺镇', '西螺镇', '120.457123', '23.797412', 3, 0, 1), (752149, 749957, '元长乡', '元长乡', '120.311052', '23.649577', 3, 0, 1), (752150, 714368, '香港特别行政区', '香港特别行政区', '', '', 2, 0, 1), (752151, 752150, '中西区', '中西区', '', '', 3, 0, 1), (752152, 752150, '东区', '东区', '', '', 3, 0, 1), (752153, 752150, '九龙城区', '九龙城区', '', '', 3, 0, 1), (752154, 752150, '观塘区', '观塘区', '114.231268', '22.309430', 3, 0, 1), (752155, 752150, '南区', '南区', '114.174134', '22.246760', 3, 0, 1), (752156, 752150, '深水埗区', '深水埗区', '', '', 3, 0, 1), (752157, 752150, '湾仔区', '湾仔区', '', '', 3, 0, 1), (752158, 752150, '黄大仙区', '黄大仙区', '', '', 3, 0, 1), (752159, 752150, '油尖旺区', '油尖旺区', '', '', 3, 0, 1), (752160, 752150, '离岛区', '离岛区', '', '', 3, 0, 1), (752161, 752150, '葵青区', '葵青区', '', '', 3, 0, 1), (752162, 752150, '北区', '北区', '', '', 3, 0, 1), (752163, 752150, '西贡区', '西贡区', '', '', 3, 0, 1), (752164, 752150, '沙田区', '沙田区', '', '', 3, 0, 1), (752165, 752150, '屯门区', '屯门区', '', '', 3, 0, 1), (752166, 752150, '大埔区', '大埔区', '', '', 3, 0, 1), (752167, 752150, '荃湾区', '荃湾区', '', '', 3, 0, 1), (752168, 752150, '元朗区', '元朗区', '', '', 3, 0, 1), (752169, 714390, '澳门特别行政区', '澳门特别行政区', '', '', 2, 0, 1), (752170, 752169, '澳门半岛', '澳门半岛', '', '', 3, 0, 1), (752171, 752169, '凼仔', '凼仔', '', '', 3, 0, 1), (752172, 752169, '路凼城', '路凼城', '', '', 3, 0, 1), (752173, 752169, '路环', '路环', '', '', 3, 0, 1), (752177, 440300, '龙华区', '龙华区', '', '', 3, 0, 1), (441900003, 441900, '东城街道办事处', '东城街道办事处', '113.754635', '23.002896', 3, 0, 1), (441900004, 441900, '南城街道办事处', '南城街道办事处', '113.753133', '22.987560', 3, 0, 1), (441900005, 441900, '万江街道办事处', '万江街道办事处', '113.740409', '23.052146', 3, 0, 1), (441900006, 441900, '莞城街道办事处', '莞城街道办事处', '113.751050', '23.053413', 3, 0, 1), (441900101, 441900, '石碣镇', '石碣镇', '113.802109', '23.094111', 3, 0, 1), (441900102, 441900, '石龙镇', '石龙镇', '113.751765', '23.020536', 3, 0, 1), (441900103, 441900, '茶山镇', '茶山镇', '113.751765', '23.020536', 3, 0, 1), (441900104, 441900, '石排镇', '石排镇', '113.751765', '23.020536', 3, 0, 1), (441900105, 441900, '企石镇', '企石镇', '113.751765', '23.020536', 3, 0, 1), (441900106, 441900, '横沥镇', '横沥镇', '113.751765', '23.020536', 3, 0, 1), (441900107, 441900, '桥头镇', '桥头镇', '113.751765', '23.020536', 3, 0, 1), (441900108, 441900, '谢岗镇', '谢岗镇', '114.141456', '22.972083', 3, 0, 1), (441900109, 441900, '东坑镇', '东坑镇', '113.948089', '22.989033', 3, 0, 1), (441900110, 441900, '常平镇', '常平镇', '113.992186', '22.975601', 3, 0, 1), (441900111, 441900, '寮步镇', '寮步镇', '113.818996', '23.025373', 3, 0, 1), (441900112, 441900, '樟木头镇', '樟木头镇', '114.083278', '22.914909', 3, 0, 1), (441900113, 441900, '大朗镇', '大朗镇', '113.915820', '22.915996', 3, 0, 1), (441900114, 441900, '黄江镇', '黄江镇', '113.996039', '22.877840', 3, 0, 1), (441900115, 441900, '清溪镇', '清溪镇', '114.164330', '22.844557', 3, 0, 1), (441900116, 441900, '塘厦镇', '塘厦镇', '113.774481', '22.791051', 3, 0, 1), (441900117, 441900, '凤岗镇', '凤岗镇', '113.751765', '23.020536', 3, 0, 1), (441900118, 441900, '大岭山镇', '大岭山镇', '113.842223', '22.899965', 3, 0, 1), (441900119, 441900, '长安镇', '长安镇', '113.794060', '22.803590', 3, 0, 1), (441900121, 441900, '虎门镇', '虎门镇', '113.672560', '22.814835', 3, 0, 1), (441900122, 441900, '厚街镇', '厚街镇', '113.751765', '23.020536', 3, 0, 1), (441900123, 441900, '沙田镇', '沙田镇', '113.751765', '23.020536', 3, 0, 1), (441900124, 441900, '道滘镇', '道滘镇', '113.751765', '23.020536', 3, 0, 1), (441900125, 441900, '洪梅镇', '洪梅镇', '113.608903', '22.994717', 3, 0, 1), (441900126, 441900, '麻涌镇', '麻涌镇', '113.751765', '23.020536', 3, 0, 1), (441900127, 441900, '望牛墩镇', '望牛墩镇', '113.656243', '23.055331', 3, 0, 1), (441900128, 441900, '中堂镇', '中堂镇', '113.751765', '23.020536', 3, 0, 1), (441900129, 441900, '高埗镇', '高埗镇', '113.722126', '23.078713', 3, 0, 1), (441900401, 441900, '松山湖管委会', '松山湖管委会', '113.909208', '22.960541', 3, 0, 1), (441900402, 441900, '虎门港管委会', '虎门港管委会', '113.583070', '22.864175', 3, 0, 1), (441900403, 441900, '东莞生态园', '东莞生态园', '113.927452', '23.063210', 3, 0, 1), (442000001, 442000, '石岐区街道办事处', '石岐区街道办事处', '113.384930', '22.532046', 3, 0, 1), (442000002, 442000, '东区街道办事处', '东区街道办事处', '113.392782', '22.517645', 3, 0, 1), (442000003, 442000, '火炬开发区街道办事处', '火炬开发区街道办事处', '113.480528', '22.566086', 3, 0, 1), (442000004, 442000, '西区街道办事处', '西区街道办事处', '113.392782', '22.517645', 3, 0, 1), (442000005, 442000, '南区街道办事处', '南区街道办事处', '113.358509', '22.472530', 3, 0, 1), (442000006, 442000, '五桂山街道办事处', '五桂山街道办事处', '113.463397', '22.421549', 3, 0, 1), (442000100, 442000, '小榄镇', '小榄镇', '113.250897', '22.672099', 3, 0, 1), (442000101, 442000, '黄圃镇', '黄圃镇', '113.335242', '22.709897', 3, 0, 1), (442000102, 442000, '民众镇', '民众镇', '113.392782', '22.517645', 3, 0, 1), (442000103, 442000, '东凤镇', '东凤镇', '113.392782', '22.517645', 3, 0, 1), (442000104, 442000, '东升镇', '东升镇', '113.294393', '22.616908', 3, 0, 1), (442000105, 442000, '古镇镇', '古镇镇', '113.190869', '22.613406', 3, 0, 1), (442000106, 442000, '沙溪镇', '沙溪镇', '113.392782', '22.517645', 3, 0, 1), (442000107, 442000, '坦洲镇', '坦洲镇', '113.460373', '22.265182', 3, 0, 1), (442000108, 442000, '港口镇', '港口镇', '113.247148', '22.683616', 3, 0, 1), (442000109, 442000, '三角镇', '三角镇', '113.422371', '22.684688', 3, 0, 1), (442000110, 442000, '横栏镇', '横栏镇', '113.265845', '22.523201', 3, 0, 1), (442000111, 442000, '南头镇', '南头镇', '113.392782', '22.517645', 3, 0, 1), (442000112, 442000, '阜沙镇', '阜沙镇', '113.392782', '22.517645', 3, 0, 1), (442000113, 442000, '南朗镇', '南朗镇', '113.392782', '22.517645', 3, 0, 1), (442000114, 442000, '三乡镇', '三乡镇', '113.441614', '22.357754', 3, 0, 1), (442000115, 442000, '板芙镇', '板芙镇', '113.392782', '22.517645', 3, 0, 1), (442000116, 442000, '大涌镇', '大涌镇', '113.392782', '22.517645', 3, 0, 1), (442000117, 442000, '神湾镇', '神湾镇', '113.392782', '22.517645', 3, 0, 1), (460400100, 460400, '那大镇', '那大镇', '110.349228', '20.017377', 3, 0, 1), (460400101, 460400, '和庆镇', '和庆镇', '109.640856', '19.525399', 3, 0, 1), (460400102, 460400, '南丰镇', '南丰镇', '110.349228', '20.017377', 3, 0, 1), (460400103, 460400, '大成镇', '大成镇', '110.349228', '20.017377', 3, 0, 1), (460400104, 460400, '雅星镇', '雅星镇', '110.349228', '20.017377', 3, 0, 1), (460400105, 460400, '兰洋镇', '兰洋镇', '110.349228', '20.017377', 3, 0, 1), (460400106, 460400, '光村镇', '光村镇', '110.349228', '20.017377', 3, 0, 1), (460400107, 460400, '木棠镇', '木棠镇', '110.349228', '20.017377', 3, 0, 1), (460400108, 460400, '海头镇', '海头镇', '110.349228', '20.017377', 3, 0, 1), (460400109, 460400, '峨蔓镇', '峨蔓镇', '110.349228', '20.017377', 3, 0, 1), (460400110, 460400, '三都镇', '三都镇', '110.349228', '20.017377', 3, 0, 1), (460400111, 460400, '王五镇', '王五镇', '110.349228', '20.017377', 3, 0, 1), (460400112, 460400, '白马井镇', '白马井镇', '109.218734', '19.696407', 3, 0, 1), (460400113, 460400, '中和镇', '中和镇', '110.349228', '20.017377', 3, 0, 1), (460400114, 460400, '排浦镇', '排浦镇', '110.349228', '20.017377', 3, 0, 1), (460400115, 460400, '东成镇', '东成镇', '110.349228', '20.017377', 3, 0, 1), (460400116, 460400, '新州镇', '新州镇', '110.349228', '20.017377', 3, 0, 1), (460400400, 460400, '国营西培农场', '国营西培农场', '109.455554', '19.476422', 3, 0, 1), (460400404, 460400, '国营西联农场', '国营西联农场', '109.539074', '19.673015', 3, 0, 1), (460400405, 460400, '国营蓝洋农场', '国营蓝洋农场', '109.670723', '19.458984', 3, 0, 1), (460400407, 460400, '国营八一农场', '国营八一农场', '109.364519', '19.413460', 3, 0, 1), (460400499, 460400, '洋浦经济开发区', '洋浦经济开发区', '109.202064', '19.736941', 3, 0, 1), (460400500, 460400, '华南热作学院', '华南热作学院', '109.494073', '19.505382', 3, 0, 1); create table if not exists lucky_article ( article_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '店铺id', site_name varchar(255) default '' not null comment '店铺名称', article_title varchar(255) default '' not null comment '标题', article_abstract varchar(255) default '' not null comment '摘要', category_id int default 0 not null comment '分类id', cover_img varchar(2000) default '' not null comment '封面图片', article_content text null comment '内容', status tinyint default 0 not null comment '状态(0草稿箱 1发布)', is_show_release_time tinyint default 0 not null comment '发布时间是否显示', is_show_read_num tinyint default 0 not null comment '阅读数是否显示', is_show_dianzan_num tinyint default 0 not null comment '点赞数是否显示', read_num int default 0 not null comment '阅读数', dianzan_num int default 0 not null comment '点赞数', create_time int default 0 null, update_time int default 0 not null, initial_read_num int default 0 not null comment '初始阅读数', initial_dianzan_num int default 0 not null comment '初始点赞数', sort int default 0 not null comment '排序' ) comment '文章表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_article_class_id on lucky_article (category_id); create index IDX_ns_article_site_id on lucky_article (site_id); create table if not exists lucky_article_category ( category_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', category_name varchar(255) default '' not null comment '分类名称', sort int default 0 not null comment '排序', article_num int default 0 not null comment '文章数', create_time int default 0 not null, update_time int default 0 not null ) comment '文章分类' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_blindbox ( blindbox_id int(11) unsigned auto_increment primary key, category_id int default 0 not null comment '分类Id', blindbox_name varchar(128) default '' not null comment '盲盒名称', goods_ids varchar(128) default '' not null comment '商品组', blindbox_images varchar(255) default '' not null comment '盲盒封面', blindbox_count int default 0 not null comment '盲盒放置总量', blindbox_inventory int default 0 not null comment '盲盒库存', blindbox_num int default 0 not null comment '已拆数量', price decimal(10, 2) default 0.00 not null comment '拆盒价格', new_price decimal(10, 2) default 0.00 not null comment '新人拆盒价', blindbox_status int default 0 not null comment '状态 0未开始 1 进行中 2已结束 -1已关闭', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '结束时间', remark varchar(255) default '' not null comment '说明', sort int default 0 not null comment '排序', is_emptybox int default 1 not null comment '空盒是否显示1显示 2不显示', is_balance int default 0 not null comment '是否用余额支付', site_id int default 0 not null comment '站点Id', early_inventory int default 0 not null comment '预警库存', create_time int default 0 not null comment '创建时间' ) comment '盲盒表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_blindbox_category ( category_id int(11) unsigned auto_increment primary key, category_name varchar(64) default '' not null comment '分类名称', sort int default 0 not null comment '排序', status int default 1 not null comment '分类状态 1显示 2隐藏', site_id int default 0 not null comment '站点Id', create_time int default 0 not null comment '创建时间' ) comment '盲盒分类表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_blindbox_goods ( id int(11) unsigned auto_increment primary key, blindbox_id int default 0 not null comment '盲盒Id', sku_id int default 0 not null comment '商品SKUID', site_id int default 0 not null comment '站点Id', status int default 0 not null comment '状态 0 未拆 1已拆', address_id int default 0 not null comment '地址Id', sort int default 0 not null comment '排序', member_id int default 0 not null comment '用户Id', create_time int default 0 not null comment '创建时间' ) comment '盲盒商品表(盒子表)' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_blindbox_member_group ( id int(11) unsigned auto_increment primary key, blindbox_id int default 0 not null comment '盲盒活动Id', blindbox_goods_id int default 0 not null comment '盲盒商品Id', member_id int default 0 not null comment '会员Id', sku_id int default 0 not null comment 'sku_id', site_id int default 0 not null comment '站点Id', order_id int default 0 not null comment '订单Id', create_time int default 0 not null comment '创建时间' ) comment '盲盒参与组' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_blindbox_order ( order_id int(11) unsigned auto_increment primary key, order_number varchar(255) default '' not null comment '订单编号', blindbox_id int default 0 not null comment '盲盒id', blindbox_goods_id int default 0 not null comment '盲盒商品Id', sku_id int default 0 not null comment 'sku_id', price decimal(10, 2) default 0.00 not null comment '单价', num int default 0 not null comment '购买数量', create_time int default 0 not null comment '下单时间', pay_time int default 0 not null comment '支付时间', status int default 0 not null comment '状态0待支付1已完成2已取消', site_id int default 0 not null comment '站点id', member_id int default 0 not null comment '会员id', out_trade_no varchar(255) default '' not null comment '支付流水号', buyer_ip varchar(255) default '' not null comment '购买人ip', order_from varchar(255) default '' not null comment '订单来源', pay_type_name varchar(255) default '' not null comment '支付名', pay_type varchar(255) default '' not null comment '支付方式', is_delete int default 0 not null comment '0未删除1已删除', order_from_name varchar(255) default '' not null comment '订单来源名', is_invoice int default 0 not null comment '是否需要发票 0 无发票 1 有发票', invoice_type int default 1 not null comment '发票类型 1 纸质发票 2 电子发票', invoice_title varchar(255) default '' not null comment '发票抬头', taxpayer_number varchar(255) default '' not null comment '纳税人识别号', invoice_content varchar(255) default '' not null comment '发票内容', invoice_full_address varchar(255) default '' not null comment '发票邮寄地址', is_tax_invoice int default 0 not null comment '是否需要增值税专用发票', invoice_email varchar(255) default '' not null comment '发票发送邮件', invoice_title_type int default 0 not null comment '发票抬头类型 1 个人 2 企业', address_id int default 0 not null comment '地址Id', is_dispatch int default 0 not null comment '待发货 0 是 1已发货' ) comment '盲盒订单表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_business ( id int auto_increment primary key, realname varchar(255) null ) comment '业务员' charset = utf8mb4; create table if not exists lucky_card ( card_id int auto_increment primary key, site_id int default 0 not null comment 'site_id', account varchar(255) null comment '卡号', password varchar(255) null comment '卡密', member_id int default 0 not null comment '领取用户', use_time int default 0 not null comment '领取时间', status int default 0 not null comment '0正常1已使用', createtime int default 0 not null comment '添加时间' ) engine = MyISAM collate = utf8_unicode_ci; create table if not exists lucky_card_import_log ( id int(11) unsigned auto_increment primary key, account varchar(255) default '' not null comment '卡号', password varchar(255) default '' not null comment '卡密', create_time int default 0 not null comment '添加时间', content varchar(255) default '' not null comment '内容', record_id int default 0 not null, site_id int default 0 not null comment 'site_id' ) comment '会员导入记录' charset = utf8; create table if not exists lucky_card_import_record ( id int auto_increment primary key, member_num int default 0 null comment '会员总数', success_num int default 0 null comment '会员导入成功数量', error_num int default 0 null comment '会员导入失败数量', status_name varchar(255) default '' null comment '导入状态', create_time int default 0 null comment '导入时间', site_id int default 0 not null comment 'site_id' ) comment '会员导入记录' charset = utf8; create table if not exists lucky_cases ( id int auto_increment primary key, site_id int default 0 null, realname varchar(50) default '' null, displayorder int default 0 null, mobile varchar(255) null, address varchar(255) null, landline varchar(255) null comment '座机', position varchar(255) null comment '职位', title_text varchar(255) null, position_text varchar(255) null, mobile_text varchar(255) null, address_text varchar(255) null, email varchar(255) null comment '电子邮箱' ) engine = MyISAM charset = utf8; create index idx_displayorder on lucky_cases (displayorder); create index idx_uniacid on lucky_cases (site_id); create table if not exists lucky_cases_files ( files_id int auto_increment primary key, site_id int null, files_title varchar(255) null, files_url varchar(255) null, createtime int null, imgs longtext null, size decimal(10, 2) default 0.00 null comment '大小' ) engine = MyISAM collate = utf8_unicode_ci; create table if not exists lucky_cases_video ( video_id int auto_increment primary key, site_id int null, video_title varchar(255) null, video_url varchar(255) null, images longtext null, createtime int null ) engine = MyISAM collate = utf8_unicode_ci; create table if not exists lucky_cashier_auth ( id int auto_increment primary key, name varchar(200) default '' not null comment '权限关键字', title varchar(255) default '' not null comment '权限标题', type varchar(255) default '' not null comment '类型 page 页面 api 操作', parent varchar(255) default '' not null, url varchar(2500) default '' not null comment '权限内容', addon varchar(255) default '' not null comment '所属插件', constraint UK_ns_cashier_auth_name unique (name) ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_cashier_auth_group ( group_id int auto_increment primary key, group_name varchar(255) default '' not null comment '权限组名称', menu_array text null comment '权限集', keyword varchar(255) default '' not null comment '关键字 自定义权限组为空', site_id int default 0 not null comment '站点id', `desc` varchar(2000) default '' not null ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_cashier_pendorder ( order_id int auto_increment primary key, site_id int default 0 not null comment '站点id', store_id int default 0 not null comment '门店id', member_id int default 0 not null comment '会员id 0为散客', create_time int default 0 not null comment '创建时间', remark varchar(2500) default '' not null comment '备注', order_money decimal(10, 2) default 0.00 not null comment '订单金额', discount_money decimal(10, 2) default 0.00 not null, discount_data text not null ) comment '本地服务挂单表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_cashier_pendorder_goods ( order_goods_id int auto_increment primary key, order_id int default 0 not null, sku_id int default 0 not null, num decimal(12, 3) default 0.000 not null, goods_id int default 0 not null, price decimal(10, 2) default 0.00 not null, site_id int default 0 not null, store_id int default 0 not null, goods_class varchar(255) default '' not null ) comment '本地服务挂单订单项表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_change_shifts_record ( id int auto_increment primary key, site_id int default 0 not null comment '所属站点', store_id int default 0 not null comment '所属门店', uid int default 0 not null comment '交班员工', start_time int default 0 not null comment '交班 班次开始时间', end_time int default 0 not null comment '交班 班次结束时间', billing_count int default 0 not null comment '开单数量', billing_money decimal(10, 2) default 0.00 not null comment '开单金额', buycard_count int default 0 not null comment '办卡数量', buycard_money decimal(10, 2) default 0.00 not null comment '办卡金额', recharge_count int default 0 not null comment '充值数量', recharge_money decimal(10, 2) default 0.00 not null comment '充值金额', refund_count int default 0 not null comment '退款数量', refund_money decimal(10, 2) default 0.00 not null comment '退款金额', cash decimal(10, 2) default 0.00 not null comment '现金收款金额', alipay decimal(10, 2) default 0.00 not null comment '支付宝线上收款金额', wechatpay decimal(10, 2) default 0.00 not null comment '微信线上收款金额', own_wechatpay decimal(10, 2) default 0.00 not null comment '个人微信收款金额', own_alipay decimal(10, 2) default 0.00 not null comment '个人支付宝收款金额', own_pos decimal(10, 2) default 0.00 not null comment '个人pos刷卡收款金额', cash_count int default 0 not null comment '现金收款数量', alipay_count int default 0 not null comment '支付宝收款数量', wechatpay_count int default 0 not null comment '微信收款数量', own_wechatpay_count int default 0 not null comment '个人微信收款数量', own_alipay_count int default 0 not null comment '各人支付宝收款数量', own_pos_count int default 0 not null comment '个人pos收款数量' ) comment '收银台交接班记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_config ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id(店铺,分站),总平台端为0', app_module varchar(255) default '' not null comment '应用端口关键字', config_key varchar(255) default '' not null comment '配置项关键字', value text null comment '配置值json', config_desc varchar(1000) default '' not null comment '描述', is_use tinyint default 1 not null comment '是否启用 1启用 0不启用', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', constraint IDX_sys_config_site_id unique (site_id, app_module, config_key) ) comment '系统配置表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_cron ( id int(11) unsigned auto_increment comment '主键' primary key, type int default 1 not null comment '1.固定任务 2.循环任务', period int default 0 not null comment '循环周期(分钟)', period_type int default 0 not null comment '循环周期类型 0默认分钟 1.月 2.周 3. 日', name varchar(50) default '' not null comment '任务名称', event varchar(255) default '' not null comment '执行事件', execute_time int default 0 not null comment '待执行时间', relate_id int default 0 not null comment '关联关键字id', create_time int default 0 not null comment '创建时间' ) comment '计划任务表' charset = utf8 row_format = DYNAMIC; create index IDX_sys_cron_execute_time on lucky_cron (execute_time); -- 初始化计划任务 INSERT INTO lucky_cron (type, period, period_type, name, event, execute_time, relate_id, create_time) VALUES (2, 2, 0, '店铺统计更新(按时)', 'CronStatShopHour', 1763487040, 0, 0), (2, 2, 0, '门店统计更新(按时)', 'CronStatStoreHour', 1763487040, 0, 0), (2, 2, 0, '店铺统计更新(按日)', 'CronStatShop', 1763487040, 0, 0), (2, 2, 0, '门店统计更新(按日)', 'CronStatStore', 1763487040, 0, 0); create table if not exists lucky_cron_log ( id int(11) unsigned auto_increment primary key, name varchar(255) default '' not null comment '任务名称', event varchar(255) default '' not null comment '任务事件', execute_time varchar(255) default '' not null comment '执行时间', relate_id int default 0 not null comment '关联id', is_success int default 1 not null comment '是否成功', message text null comment '返回结果' ) comment '事件执行记录' charset = utf8 row_format = DYNAMIC; create index IDX_nc_cron_execute_list_execute_time on lucky_cron_log (execute_time); create table if not exists lucky_diy_template ( id int auto_increment primary key, title varchar(50) default '' not null comment '模板名称', name varchar(255) default '' not null comment '模板标识', page varchar(255) default '' not null comment '页面路径', addon_name varchar(255) default '' not null comment '插件标识', value longtext null comment '默认值', rule varchar(255) default '' not null comment '规则', sort int default 0 not null comment '排序', `show` int default 0 null comment '是否显示' ) comment '自定义模板页面类型表' charset = utf8 row_format = DYNAMIC; create index addon_name on lucky_diy_template (addon_name); create table if not exists lucky_diy_template_category ( category_id int(11) unsigned auto_increment comment '主键' primary key, name varchar(255) default '' not null comment '名称', pid int default 0 not null comment '上级分类id', level int default 0 not null comment '层级', state int default 1 not null comment '状态(是否展示)', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', sort int default 0 not null comment '排序' ) comment '自定义模板分类表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_diy_template_goods ( goods_id int(11) unsigned auto_increment comment '主键' primary key, goods_item_id int default 0 not null comment '装修的页面项id,默认取第一个页面', title varchar(255) default '' not null comment '模板名称', name varchar(255) default '' not null comment '模板标识', addon_name varchar(255) default '' not null comment '插件标识', cover varchar(255) default '' not null comment '封面图', preview varchar(255) default '' not null comment '预览图', `desc` varchar(255) default '' not null comment '模版描述', category_id int default 0 not null comment '模板分类id', category_name varchar(255) default '' not null comment '模板分类名称', use_num int default 0 not null comment '使用次数', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', constraint name unique (name) ) comment '自定义模板组表' charset = utf8 row_format = DYNAMIC; create index addon_name on lucky_diy_template_goods (addon_name); create table if not exists lucky_diy_template_goods_item ( goods_item_id int(11) unsigned auto_increment comment '主键' primary key, goods_id int default 0 not null comment '模板组id', title varchar(255) default '' not null comment '名称', name varchar(255) default '' not null comment '所属页面(首页、分类,空为微页面)', addon_name varchar(255) default '' not null comment '插件标识', value longtext null comment '模板数据', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间' ) comment '模板组页面' charset = utf8 row_format = DYNAMIC; create index addon_name on lucky_diy_template_goods_item (addon_name); create table if not exists lucky_diy_theme ( id int auto_increment primary key, title varchar(255) default '' not null comment '名称', name varchar(255) default '' not null comment '标识', addon_name varchar(255) default '' not null comment '插件标识', main_color varchar(50) default '' not null comment '主色调', aux_color varchar(50) default '' not null comment '辅色调', preview varchar(550) default '' not null comment '预览图,多个逗号隔开', color_img varchar(255) default '' not null comment '配色图片', value text null comment '其他配色' ) comment '自定义模板主题风格配色表' charset = utf8 row_format = DYNAMIC; create index addon_name on lucky_diy_theme (addon_name); create table if not exists lucky_diy_view_util ( id int auto_increment primary key, name varchar(50) default '' not null comment '标识', title varchar(50) default '' not null comment '组件名称', type varchar(50) default 'SYSTEM' not null comment '组件类型', value text null comment '配置:json格式', addon_name varchar(50) default '' not null comment '插件标识', sort int default 0 not null comment '排序号', support_diy_view varchar(500) default '' not null comment '支持的自定义页面(为空表示公共组件都支持)', max_count int default 0 not null comment '限制添加次数', is_delete int default 0 not null comment '是否可以删除,0 允许,1 禁用', icon varchar(255) default '' not null comment '组件图标', icon_type int default 0 not null comment '0图片1图标', constraint name unique (name) ) comment '自定义模板组件' charset = utf8 row_format = DYNAMIC; create index IDX_nc_diy_view_util_sort on lucky_diy_view_util (sort); create index IDX_nc_diy_view_util_type on lucky_diy_view_util (type); create table if not exists lucky_document ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id(店铺,分站),总平台端为0', app_module varchar(255) default '' not null comment '应用模块', document_key varchar(255) default '' not null comment '关键字', title varchar(255) default '' not null comment '文本关键字', content text null comment '文本内容', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间' ) comment '系统配置性相关文件' charset = utf8 row_format = DYNAMIC; create index IDX_ns_document_app_module on lucky_document (app_module); create index IDX_ns_document_document_key on lucky_document (document_key); create index IDX_ns_document_site_id on lucky_document (site_id); create table if not exists lucky_express_company ( id int auto_increment primary key, site_id int default 0 not null comment '店铺id', company_id int default 0 not null comment '物流公司id', company_name varchar(50) default '' not null comment '物流公司名称', logo varchar(255) default '' not null comment 'logo', express_no varchar(20) default '' not null comment '编码', content_json text null comment '打印内容', background_image varchar(255) default '' not null comment '背景图', font_size varchar(10) default '' not null comment '打印字体', width varchar(10) default '' not null comment '宽度', height varchar(10) default '' not null comment '高度', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', scale decimal(10, 2) default 1.00 not null comment '真实尺寸(mm)与显示尺寸(px)的比例' ) comment '店铺物流公司' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_express_company_template ( company_id int auto_increment primary key, site_id int default 0 not null comment '站点id', company_name varchar(50) default '' not null comment '物流公司名称', logo varchar(255) default '' not null comment '物流公司logo', url varchar(255) default '' not null comment '物流公司网址', sort int default 0 not null comment '排序', express_no varchar(20) default '' not null comment '编码', express_no_kd100 varchar(20) default '' not null comment '编码(快递100)', express_no_cainiao varchar(20) default '' not null comment '编码(菜鸟)', content_json text null comment '打印内容', background_image varchar(255) default '' not null comment '背景图', font_size int default 14 not null comment '打印字体', width int default 0 not null comment '宽度', height int default 0 not null comment '高度', scale decimal(10, 2) default 1.00 not null comment '真实尺寸(mm)与显示尺寸(px)的比例', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', is_electronicsheet tinyint default 0 not null comment '是否支持电子面单(0不支持 1支持)', print_style varchar(2000) default '' not null comment '电子面单打印风格' ) comment '系统物流公司表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_express_deliver ( deliver_id int auto_increment comment '配送员id' primary key, deliver_name varchar(255) default '' not null comment '配送员名称', deliver_mobile varchar(20) default '' not null comment '配送员手机号', site_id int default 0 not null, create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', store_id int default 0 not null comment '门店id' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_express_delivery_package ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', order_id int default 0 not null comment '订单id', order_goods_id_array varchar(1000) default '' not null comment '订单项商品组合列表', goods_id_array text null comment '商品组合列表', package_name varchar(50) default '' not null comment '包裹名称(包裹- 1 包裹 - 2)', delivery_type tinyint default 0 not null comment '发货方式1 需要物流 0无需物流', express_company_id int default 0 not null comment '快递公司id', express_company_name varchar(255) default '' not null comment '物流公司名称', delivery_no varchar(50) default '' not null comment '运单编号', delivery_time int default 0 not null comment '发货时间', member_id int default 0 not null comment '会员id', member_name varchar(50) default '' not null comment '会员名称', express_company_image varchar(255) default '' not null comment '发货公司图片', type varchar(20) default '' not null comment '发货方式(manual 手动发货 electronicsheet 电子面单发货)', template_id int default 0 not null comment '电子面单模板id', template_name varchar(255) default '' not null comment '电子面单模板名称' ) comment '商品订单物流信息表(多次发货)' charset = utf8 row_format = DYNAMIC; create index IDX_ns_express_delivery_package_order_id on lucky_express_delivery_package (order_id); create index IDX_ns_express_delivery_package_site_id on lucky_express_delivery_package (site_id); create table if not exists lucky_express_electronicsheet ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', template_name varchar(255) default '' not null comment '模板名称', company_id int default 0 not null comment '物流公司id', company_name varchar(255) default '' not null comment '物流公司名称', express_no varchar(255) default '' not null comment '编码', customer_name varchar(255) default '' not null comment 'CustomerName', customer_pwd varchar(255) default '' not null comment 'CustomerPwd', send_site varchar(255) default '' not null comment 'SendSite', send_staff varchar(255) default '' not null comment 'SendStaff', month_code varchar(255) default '' not null comment 'MonthCode', postage_payment_method tinyint default 0 not null comment '邮费支付方式(1现付 2到付 3月结)', is_notice tinyint default 0 not null comment '快递员上门揽件(0否 1是)', status tinyint default 0 not null comment '状态(0正常 -1不使用)', is_default tinyint default 0 not null comment '是否默认(0否 1是)', create_time int default 0 not null, update_time int default 0 not null, print_style int default 0 not null comment '模板风格' ) comment '电子面单' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_express_template ( template_id int auto_increment primary key, site_id int default 0 not null comment '商家店铺id', template_name varchar(50) default '' not null comment '模板名称', fee_type int default 0 not null comment '运费计算方式1.重量2体积3按件', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', is_default int default 0 not null comment '是否默认', surplus_area_ids mediumtext null comment '剩余地址id', appoint_free_shipping int default 0 not null comment '是否指定免邮', shipping_surplus_area_ids mediumtext null comment '包邮地区剩余地址id' ) comment '运费模板' charset = utf8 row_format = DYNAMIC; create index IDX_ns_express_template_is_default on lucky_express_template (is_default); create index IDX_ns_express_template_site_id on lucky_express_template (site_id); create table if not exists lucky_express_template_free_shipping ( item_id int auto_increment primary key, template_id int default 0 not null comment '模板id', area_ids mediumtext null comment '地址id序列', area_names mediumtext null comment '地址名称序列', snum int default 0 not null comment '件数', sprice decimal(10, 2) default 0.00 not null comment '价格' ) comment '运费模板免邮地区' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_express_template_item ( item_id int auto_increment primary key, template_id int default 0 not null comment '模板id', area_ids mediumtext null comment '地址id序列', area_names mediumtext null comment '地址名称序列', snum int default 0 not null comment '起步计算标准', sprice decimal(10, 2) default 0.00 not null comment '起步计算价格', xnum int default 0 not null comment '续步计算标准', xprice decimal(10, 2) default 0.00 not null comment '续步计算价格', fee_type int default 1 not null comment '运费计算方式' ) comment '运费模板细节' charset = utf8 row_format = DYNAMIC; create index IDX_ns_express_template_item_fee_type on lucky_express_template_item (fee_type); create index IDX_ns_express_template_item_template_id on lucky_express_template_item (template_id); create table if not exists lucky_fenxiao ( fenxiao_id int auto_increment primary key, site_id int default 0 null comment '站点id', fenxiao_no varchar(255) default '' not null comment '分销商编号', fenxiao_name varchar(255) default '' not null comment '分销店铺名', mobile varchar(255) default '' not null comment '联系电话', member_id int default 0 not null comment '会员ID', level_id int default 0 not null comment '分销商等级id', level_name varchar(255) default '' not null comment '等级名称', parent int default 0 not null comment '上级ID', grand_parent int default 0 not null comment '上上级id', account decimal(10, 2) default 0.00 not null comment '当前佣金', account_withdraw decimal(10, 2) default 0.00 not null comment '已提现佣金', account_withdraw_apply decimal(10, 2) default 0.00 not null comment '提现中佣金', status tinyint default 1 not null comment '状态(1已审核 2拒绝 -1已冻结)', create_time int default 0 not null comment '创建时间', audit_time int default 0 not null comment '成为经分销商时间', lock_time int default 0 not null comment '冻结时间', one_fenxiao_order_num int default 0 not null comment '一级分销订单总数', one_fenxiao_total_order decimal(10, 2) default 0.00 not null comment '一级分销订单总额', one_fenxiao_order_money decimal(10, 2) default 0.00 not null comment '一级分销订单佣金总额', one_child_num int default 0 not null comment '一级下线人数', one_child_fenxiao_num int default 0 not null comment '一级下线分销商', two_child_fenxiao_num int default 0 not null comment '二级下线分销商', total_commission decimal(10, 2) default 0.00 not null comment '累计佣金', is_delete tinyint default 0 not null comment '是否删除 0未删除 1已删除' ) comment '分销商表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_fenxiao_audit_time on lucky_fenxiao (audit_time); create index IDX_ns_fenxiao_create_time on lucky_fenxiao (create_time); create index IDX_ns_fenxiao_grand_parent on lucky_fenxiao (grand_parent); create index IDX_ns_fenxiao_level_id on lucky_fenxiao (level_id); create index IDX_ns_fenxiao_member_id on lucky_fenxiao (member_id); create index IDX_ns_fenxiao_parent on lucky_fenxiao (parent); create index IDX_ns_fenxiao_site_id on lucky_fenxiao (site_id); create index IDX_ns_fenxiao_status on lucky_fenxiao (status); create table if not exists lucky_fenxiao_account ( id int(11) unsigned auto_increment primary key, account_no varchar(255) default '' not null comment '账单编号', fenxiao_id int default 0 not null comment '分销商ID', fenxiao_name varchar(255) default '' not null comment '分销商名称', money decimal(10, 2) default 0.00 not null comment '费用', type varchar(50) default '1' not null comment '类型(withdraw提现 order订单结算)', type_name varchar(255) default '' not null comment '类型名称', relate_id int default 0 not null comment '关联id', create_time int default 0 not null comment '时间' ) comment '分销商流水表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_fenxiao_apply ( apply_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', fenxiao_name varchar(255) default '' not null comment '分销商店铺名', parent int default 0 not null comment '上级分销商ID', member_id int default 0 not null comment '会员ID', mobile varchar(255) default '' not null comment '联系电话', nickname varchar(50) default '' not null comment '用户昵称', headimg varchar(255) default '' not null comment '用户头像', level_id int default 0 not null comment '申请等级', level_name varchar(50) default '' not null comment '等级名称', order_complete_money decimal(10, 2) default 0.00 not null comment '订单完成-消费金额', order_complete_num int default 0 not null comment '订单完成-消费次数', reg_time int default 0 not null comment '注册时间', create_time int default 0 not null comment '申请时间', update_time int default 0 not null, status tinyint default 1 not null comment '申请状态(1申请中 2通过 -1拒绝)' ) comment '分销商申请表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_fenxiao_goods ( fenxiao_goods_id int(11) unsigned auto_increment primary key, goods_id int default 0 not null comment '商品ID', one_rate decimal(10, 2) default 0.00 not null comment '一级佣金', two_rate decimal(10, 2) default 0.00 not null comment '二级佣金', three_rate decimal(10, 2) default 0.00 not null comment '三级佣金', state tinyint default 0 not null comment '是否参与' ) comment '分销商品表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_fenxiao_goods_collect ( collect_id int(11) unsigned auto_increment comment '主键' primary key, member_id int default 0 not null comment '会员id', fenxiao_id int default 0 not null comment '分销商id', goods_id int default 0 not null comment '商品id', sku_id int default 0 not null comment 'skuid', create_time int default 0 not null comment '收藏时间', site_id int default 0 not null comment '站点id' ) comment '分销商关注商品表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_fenxiao_goods_collect_member_id on lucky_fenxiao_goods_collect (member_id); create index IDX_ns_fenxiao_goods_collect_sku_id on lucky_fenxiao_goods_collect (sku_id); create table if not exists lucky_fenxiao_goods_sku ( goods_sku_id int(11) unsigned auto_increment primary key, goods_id int default 0 not null comment '商品ID', sku_id int default 0 not null comment '商品skuID', level_id int default 0 not null comment '分销等级ID', one_rate decimal(10, 2) default 0.00 not null comment '一级佣金比例', one_money decimal(10, 2) default 0.00 not null comment '一级佣金金额', two_rate decimal(10, 2) default 0.00 not null comment '二级佣金比例', two_money decimal(10, 2) default 0.00 not null comment '二级佣金金额', three_rate decimal(10, 2) default 0.00 not null comment '三级佣金比例', three_money decimal(10, 2) default 0.00 not null comment '三级佣金金额' ) comment '分销商品sku表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_fenxiao_level ( level_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', level_num int default 0 not null comment '等级权重', level_name varchar(30) default '' not null comment '等级名称', one_rate decimal(10, 2) default 0.00 not null comment '一级佣金比例', two_rate decimal(10, 2) default 0.00 not null comment '二级佣金比例', three_rate decimal(10, 2) default 0.00 not null comment '三级佣金比例', upgrade_type tinyint default 0 not null comment '升级方式(0满足任意条件 1满足全部条件)', fenxiao_order_num int default 0 not null comment '订单总数', fenxiao_order_meney decimal(10, 2) default 0.00 not null comment '订单总金额', one_fenxiao_order_num int default 0 not null comment '一级分销订单总数', one_fenxiao_total_order decimal(10, 2) default 0.00 not null comment '一级分销订单总额', one_fenxiao_order_money decimal(10, 2) default 0.00 not null comment '一级分销订单佣金总额', order_num int default 0 not null comment '自购订单总数', order_money decimal(10, 2) default 0.00 not null comment '自购订单总额', child_num int default 0 not null comment '下线人数', child_fenxiao_num int default 0 not null comment '下线分销商人数', one_child_num int default 0 not null comment '一级下线人数', one_child_fenxiao_num int default 0 not null comment '一级下线分销商', status tinyint default 0 not null comment '状态(0关闭 1启用)', create_time int default 0 not null, update_time int default 0 not null, is_default int default 0 not null comment '是否是默认等级' ) comment '分销等级配置表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_fenxiao_order ( fenxiao_order_id int(11) unsigned auto_increment primary key, order_id int default 0 not null comment '订单ID', order_no varchar(255) default '' not null comment '订单编号', order_goods_id int default 0 not null comment '订单项ID', site_id int default 0 not null comment '站点ID', site_name varchar(255) default '' not null comment '站点名称', goods_id int default 0 not null comment '商品ID', sku_id int default 0 not null comment '商品skuid', sku_name varchar(255) default '' not null comment '商品sku名称', sku_image varchar(255) default '' not null comment '商品图片', price decimal(10, 2) default 0.00 not null comment '商品卖价', num int default 0 not null comment '商品数量', real_goods_money decimal(10, 2) default 0.00 not null comment '商品总价', member_id int default 0 not null comment '购买人ID', member_name varchar(255) default '' not null comment '购买人名称', member_mobile varchar(255) default '' not null comment '购买人电话', full_address varchar(255) default '' not null comment '购买人详细地址', commission decimal(10, 2) default 0.00 not null comment '总佣金', commission_rate decimal(10, 2) default 0.00 not null comment '分销总比率', one_fenxiao_id int default 0 not null comment '一级分销商ID', one_rate decimal(10, 2) default 0.00 not null comment '一级分销比例', one_commission decimal(10, 2) default 0.00 not null comment '一级分销佣金', one_fenxiao_name varchar(255) default '' not null comment '一级分销商名', two_fenxiao_id int default 0 not null comment '二级分销商ID', two_rate decimal(10, 2) default 0.00 not null comment '二级分销比例', two_commission decimal(10, 2) default 0.00 not null comment '二级分销佣金', two_fenxiao_name varchar(255) default '' not null comment '二级分销商名', three_fenxiao_id int default 0 not null comment '三级分销商ID', three_rate decimal(10, 2) default 0.00 not null comment '三级分销比例', three_commission decimal(10, 2) default 0.00 not null comment '三级分销佣金', three_fenxiao_name varchar(255) default '' not null comment '三级分销商名', is_settlement tinyint default 0 not null comment '是否结算', is_refund tinyint default 0 not null comment '是否退款', create_time int default 0 not null comment '创建时间' ) comment '分销配置表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_fenxiao_withdraw ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', withdraw_no varchar(255) default '' not null comment '提现流水号', member_id int default 0 not null comment '会员id', fenxiao_id int default 0 not null comment '分销商id', fenxiao_name varchar(255) default '' not null comment '分销商名称', withdraw_type varchar(32) default '' not null comment '提现类型(weixin-微信 alipay-支付宝 balance-余额 bank银行卡)', bank_name varchar(50) default '' not null comment '提现银行名称', account_number varchar(50) default '' not null comment '提现银行账号', realname varchar(10) default '' not null comment '提现账户姓名', mobile varchar(255) default '' not null comment '手机', money decimal(10, 2) default 0.00 not null comment '提现金额', withdraw_rate decimal(10, 2) default 0.00 not null comment '提现手续费率', withdraw_rate_money decimal(10, 2) default 0.00 not null comment '提现手续费金额', real_money decimal(10, 2) default 0.00 not null comment '实际到账金额', status smallint default 1 not null comment '当前状态 1待审核 2已审核 -1 已拒绝', remark varchar(255) default '' not null comment '备注', create_time int default 0 not null comment '申请日期', payment_time int default 0 not null comment '到账日期', modify_time int default 0 not null comment '修改日期', transfer_type varchar(30) default '1' not null comment '转账方式', transfer_name varchar(50) default '' not null comment '转账银行名称', transfer_remark varchar(255) default '' not null comment '转账备注', transfer_no varchar(255) default '' not null comment '转账流水号', transfer_account_no varchar(255) default '' not null comment '转账银行账号', document varchar(1000) default '' not null comment '转账单据', audit_time int default 0 not null comment '审核时间', refuse_reason varchar(255) default '' not null comment '拒绝理由', applet_type int default 0 not null ) comment '会员余额提现记录表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_files ( files_id int auto_increment primary key, site_id int null, files_title varchar(255) null, files_url varchar(255) null, createtime int null, imgs longtext null, size decimal(10, 2) default 0.00 null comment '大小', category_name varchar(255) null, category_id int default 0 not null ) engine = MyISAM collate = utf8_unicode_ci row_format = DYNAMIC; create table if not exists lucky_files_category ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', category_name varchar(50) default '' not null comment '分类名称', `desc` varchar(255) default '' not null comment '描述', create_time int default 0 not null, update_time int default 0 not null, sort int default 0 not null ) comment '商户分类' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_form ( id int auto_increment primary key, form_name varchar(255) default '' not null comment '表单名称', form_type varchar(50) default '' not null comment '表单类型:order 统一下单 goods 商品表单', is_use tinyint default 0 not null comment '是否启用0禁用1启用', site_id int default 0 not null comment '关联id', json_data text not null comment 'json', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_form_data ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', form_id int default 0 not null comment '表单id', member_id int default 0 not null comment '所属会员id', relation_id int default 0 not null comment '表单关联id', create_time int default 0 not null comment '创建时间', form_data text null comment '表单数据', scene varchar(255) default '' not null comment '场景 order订单' ) comment '系统表单数据' charset = utf8 row_format = DYNAMIC; create index UK_ns_form_data on lucky_form_data (relation_id, scene); create table if not exists lucky_giftcard ( giftcard_id int auto_increment primary key, site_id int default 0 not null comment '站点id', category_id int default 0 not null comment '卡分类id', card_cover varchar(2000) default '' not null comment '礼品卡封面', media_ids varchar(255) default '' not null comment '素材id', card_name varchar(255) default '' not null comment '礼品卡名称', cdk_length int default 0 not null comment '卡密位数', cdk_type varchar(25) default '' not null comment '卡密类型 number 数字 letter 英文字母', card_prefix varchar(25) default '' not null comment '卡号前缀', card_suffix varchar(255) default '' not null comment '卡号后缀', card_right_type varchar(50) default '' not null comment '卡权益类型balance储值 goods商品', card_right_goods_type varchar(50) default '' not null comment '卡权益商品类型all总体数量item按照商品数量', card_right_goods_count int default 0 not null comment '针对总体数量设置总数量', card_price decimal(10, 2) default 0.00 not null comment '礼品卡价格', balance decimal(10, 2) default 0.00 not null comment '储值余额', sort int default 0 not null comment '排序', validity_type varchar(50) default '' not null comment '有效期类型 forever:永久有效 day:购买后x天有效 date:指定过期日期', validity_time int default 0 not null comment '有效时间', validity_day int(11) unsigned default 0 not null comment '有效天数', is_delete int default 0 not null comment '0未删除1已删除', is_allow_transfer int default 0 not null comment '是否允许转赠', status int default 1 not null comment '0:已结束,1:进行中', create_time int default 0 not null comment '创建时间', update_time int default 0 not null comment '修改时间', `desc` text null comment '活动详情', card_num int default 0 not null comment '制卡数量', card_type varchar(255) default '' not null comment '卡类型', sale_num int default 0 not null comment '卡销量(获取数量)', use_count int default 0 not null comment '使用量', invalid_count int default 0 not null comment '作废数量', activate_count int default 0 not null comment '激活数量', card_count int default 0 not null comment '制卡总数', del_count int default 0 not null comment '删除卡总数', instruction text null comment '说明' ) comment '礼品卡' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_card ( card_id int auto_increment primary key, site_id int default 0 not null comment '站点id', card_no varchar(255) default '' not null comment '卡编号', card_cdk varchar(255) default '' not null comment '卡密(实体卡有效)', giftcard_id int default 0 not null comment '活动id', member_id int default 0 not null comment '领取用户id', status varchar(50) default '' not null comment '0未激活1待使用2已使用-1已过期-2已作废', source varchar(50) default '' not null comment '来源 order 购买电子卡 gift别人赠送', card_right_type varchar(50) default '' not null comment '礼品卡权益类型balance储值goods商品', card_right_goods_type varchar(255) default '' not null comment '卡权益商品类型all总体数量item按照商品数量', card_right_goods_count int default 0 not null comment '针对总体数量设置总数量', use_count int default 0 not null comment '已使用次数', balance decimal(10, 2) default 0.00 not null comment '储值金额', create_time int default 0 not null comment '生成时间', activate_time int default 0 not null comment '激活时间', use_time int default 0 not null comment '使用时间', order_id int default 0 not null comment '订单id', valid_time int default 0 not null comment '有效期', is_allow_transfer int default 0 not null comment '是否允许转赠', init_member_id int default 0 not null comment '初始所属会员', card_name varchar(255) default '' not null comment '礼品卡名称', card_cover varchar(500) default '' not null, card_import_id int default 0 not null, card_type varchar(255) default '' not null comment '卡类型', invalid_time int default 0 not null comment '失效时间' ) comment '礼品卡获取记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_card_blessing ( blessing_id int auto_increment primary key, site_id int default 0 not null comment '站点id', card_id int default 0 not null comment '站点id', member_id int default 0 not null comment '用户id', member_card_id int default 0 not null comment '用户卡id', status int default 0 not null comment '0 正常1 已作废', to_member_id int default 0 not null, create_time int default 0 not null comment '创建时间', to_time int default 0 not null comment '领取时间', blessing text null comment '祝福语', no varchar(255) default '' not null comment '匹配key值(建议六十二进制)' ) comment '礼品卡祝福语' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_card_goods ( id int auto_increment primary key, card_id int default 0 not null comment '卡id', site_id int default 0 not null comment '站点id', giftcard_id int default 0 not null comment '关联id', card_right_type varchar(50) default '' not null comment '礼品卡权益类型1储值2商品', balance decimal(10, 2) default 0.00 not null comment '储值金额', goods_id int default 0 not null comment '商品id', sku_id int default 0 not null comment '商品skuid', sku_name varchar(255) default '' not null comment '商品名称', sku_image varchar(255) default '' not null comment '商品图片', goods_name varchar(400) default '' not null comment '商品名称', sku_no varchar(255) default '' not null comment '商品编码', price decimal(10, 2) default 0.00 not null comment '商品卖价', total_num int default 0 not null comment '总数量', use_num int default 0 not null comment '已提货数量', order_id int default 0 not null comment '订单id', order_goods_id int default 0 not null comment '订单项id', total_balance decimal(10, 2) default 0.00 not null ) comment '礼品卡获取记录商品项' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_card_import ( import_id int auto_increment comment ' ' primary key, site_id int default 0 not null comment '站点id', giftcard_id int default 0 not null, total_count int default 0 not null comment '总数量', imported_count int default 0 not null comment '已经导入的数量', success_count int default 0 not null comment '成功数量', fail_count int default 0 not null comment '失败数量', import_time int default 0 not null comment '导入时间', type varchar(255) default '' not null comment '导入方式', cdk_length int default 0 not null, card_prefix varchar(255) default '' not null, card_suffix varchar(255) default '' not null, cdk_type varchar(255) default '' not null, file_name varchar(255) default '' not null, create_time int default 0 not null, card_cdk varchar(255) default '' not null, error varchar(255) default '' not null comment '错误', name varchar(255) default '' not null comment '导入批次名称', use_count int default 0 not null comment '使用量', invalid_count int default 0 not null comment '作废数量', activate_count int default 0 not null comment '激活数量', del_count int default 0 not null comment '删卡数量', status int default 1 not null comment '状态 1 正常 2作废', card_type varchar(255) default '' not null comment '卡类型' ) comment '礼品卡导入记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_card_log ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', card_id int default 0 not null comment '卡id', giftcard_id int default 0 not null comment '活动id', member_id int default 0 not null comment '领取用户id', status varchar(50) default '' not null comment '0未激活1待使用2已使用-1已过期-2已作废', create_time int default 0 not null comment '时间', operator_type varchar(255) default '' not null comment '操作人类型 system 系统 shop 站点管理员 member 会员', operator int default 0 not null comment '操作人id', operator_name varchar(255) default '' not null comment '操作人名称', type varchar(255) default '' not null comment '操作类型', type_id int default 0 not null comment '操作主键id', remark varchar(2000) default '' not null comment '描述', extend text null comment '扩展字段' ) comment '礼品卡操作日志记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_card_use_records ( records_id int auto_increment primary key, card_id int default 0 not null comment '卡id', site_id int default 0 not null comment '站点id', giftcard_id int default 0 not null comment '礼品卡活动id', card_right_type varchar(50) default '' not null comment '礼品卡权益类型1储值2商品', use_time int default 0 not null comment '使用时间', member_id int default 0 not null, member_card_id int default 0 not null, order_id int default 0 not null ) comment '礼品卡使用记录卡项' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_card_use_records_goods ( records_goods_id int auto_increment primary key, records_id int default 0 not null comment '使用记录id', site_id int default 0 not null comment '站点id', card_goods_id int default 0 not null comment '关联礼品卡项id', goods_id int default 0 not null comment '商品id', sku_id int default 0 not null comment '商品skuid', sku_name varchar(255) default '' not null comment '商品名称', sku_image varchar(255) default '' not null comment '商品图片', goods_name varchar(400) default '' not null comment '商品名称', sku_no varchar(255) default '' not null comment '商品编码', use_num int default 0 not null comment '使用数量', balance decimal(10, 2) default 0.00 not null comment '储值余额', member_id int default 0 not null, order_goods_id int default 0 not null, order_id int default 0 not null ) comment '礼品卡使用记录商品项' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_category ( category_id int auto_increment primary key, category_name varchar(255) default '' not null comment '分组名称', font_color varchar(255) default '' not null comment '字体颜色', sort int default 0 not null comment '排序', site_id int default 0 not null comment '站点id', create_time int default 0 not null, update_time int default 0 not null ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_goods ( id int auto_increment primary key, giftcard_id int default 0 not null comment '关联id', goods_id int default 0 not null comment '关联商品id', sku_id int default 0 not null comment '关联商品sku_id', goods_num int default 0 not null comment '关联商品数量(实体卡商品数量)', goods_price decimal(10, 2) default 0.00 not null comment '关联商品价格', site_id int default 0 not null ) comment '礼品卡关联商品' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_media ( media_id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', media_type varchar(50) default 'img' not null comment '类型 img 图片', is_system tinyint default 0 not null comment '是否是系统素材', media_name varchar(255) default '' not null comment '名称', media_path varchar(255) default '' not null comment '路径', media_spec varchar(255) default '' not null comment '规格', create_time int default 0 not null comment '添加时间', update_time int default 0 not null comment '更新时间' ) comment '相册图片表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_member_card ( member_card_id int auto_increment primary key, card_id int default 0 not null comment '卡id', site_id int default 0 not null comment '站点id', from_member_id int default 0 not null comment '来源用户id', member_id int default 0 not null comment '领取用户id', to_member_id int default 0 not null comment '领取用户id', is_transfer int default 0 not null comment '是否已被转赠', source varchar(50) default '' not null comment '来源 order 购买电子卡 gift别人赠送', get_time int default 0 not null comment '生成时间', transfer_time int default 0 not null comment '使用时间', snapshot text null comment '快照' ) comment '礼品卡会员所属记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_order ( order_id int auto_increment primary key, order_no varchar(50) default '' not null comment '订单编号', site_id int default 0 not null comment '商家id', site_name varchar(50) default '' not null comment '店铺名称', order_name varchar(1000) default '' not null comment '订单内容', out_trade_no varchar(255) default '' not null comment '支付流水号', giftcard_id int default 0 not null comment '礼品卡id', card_right_type varchar(50) default '' not null comment '礼品卡权益类型1储值2商品', card_cover varchar(500) default '' not null comment '礼品卡封面', media_id int default 0 not null, order_money decimal(10, 2) default 0.00 not null comment '订单合计金额', goods_money decimal(10, 2) default 0.00 not null comment '商品总额', pay_money decimal(10, 2) default 0.00 not null comment '实际应付现金金额', pay_type varchar(55) default '' not null comment '支付方式', pay_type_name varchar(50) default '' not null comment '支付类型名称', create_time int default 0 not null comment '下单时间', pay_time int default 0 not null comment '支付时间', order_status varchar(50) default '' not null comment '状态topay待支付complete已完成close已取消', member_id int default 0 not null comment '会员id', buyer_ip varchar(255) default '' not null comment '购买人ip', order_from varchar(255) default '' not null comment '订单来源', order_from_name varchar(255) default '' not null comment '订单来源名', close_cause varchar(255) default '' not null comment '关闭原因', is_delete int default 0 not null comment '0未删除1已删除', buyer_message varchar(255) default '' not null comment '买家留言', validity_type varchar(50) default '' not null comment '有效期类型 forever:永久有效 day:购买后x天有效 date:指定过期日期', validity_time int default 0 not null comment '有效时间', validity_day int default 0 not null comment '有效天数', num int default 1 not null comment '礼品卡套数', close_time int default 0 not null comment '订单关闭时间', pay_status int default 0 not null comment '支付状态', is_allow_transfer int default 0 not null comment '是否允许转赠', card_right_goods_type varchar(50) default '' not null comment '卡权益商品类型all总体数量item按照商品数量', card_right_goods_count int default 0 not null comment '针对总体数量设置总数量', card_price decimal(10, 2) default 0.00 not null comment '礼品卡单价' ) comment '礼品卡订单表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_giftcard_order_goods ( order_goods_id int auto_increment primary key, order_id int default 0 not null comment '订单id', order_no varchar(20) default '' not null comment '订单编号', site_id int default 0 not null comment '商家id', member_id int default 0 not null comment '购买会员id', sku_id int default 0 not null comment '商品skuid', sku_name varchar(255) default '' not null comment '商品名称', sku_image varchar(255) default '' not null comment '商品图片', sku_no varchar(255) default '' not null comment '商品编码', goods_id int default 0 not null comment '商品id', goods_name varchar(400) default '' not null comment '商品名称', goods_class int default 0 not null comment '商品种类(1.实物 2.虚拟3.卡券)', goods_class_name varchar(50) default '' not null comment '商品类型名称', price decimal(10, 2) default 0.00 not null comment '商品卖价', num int default 0 not null comment '购买数量', card_right_type varchar(50) default '' not null comment '卡权益类型balance储值 goods商品', balance decimal(10, 2) default 0.00 not null comment '单个储值余额', total_balance decimal(10, 2) default 0.00 not null comment '总的储值余额', goods_money decimal(10, 2) default 0.00 not null comment '商品总价', refund_no varchar(50) default '' not null comment '退款编号(申请产生)', refund_status int default 0 not null comment '退款状态', refund_status_name varchar(50) default '' not null comment '退款状态名称', refund_status_action varchar(1000) default '' not null comment '退款操作', refund_apply_money decimal(10, 2) default 0.00 not null comment '退款申请金额', refund_reason varchar(255) default '' not null comment '退款原因', refund_real_money decimal(10, 2) default 0.00 not null comment '实际退款金额', refund_time int default 0 not null comment '实际退款时间', refund_refuse_reason varchar(255) default '' not null comment '退款拒绝原因', refund_action_time int default 0 not null comment '退款时间', real_goods_money decimal(10, 2) default 0.00 not null comment '实际商品购买价', refund_remark varchar(255) default '' not null comment '退款说明', refund_pay_money decimal(10, 2) default 0.00 not null comment '真实退款金额', refund_money_type int default 1 not null comment '退款方式 1 原路退款 2线下退款3退款到余额', is_fenxiao int default 1 not null ) comment '礼品卡订单商品表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods ( goods_id int(11) unsigned auto_increment comment '商品id' primary key, goods_name varchar(255) default '' not null comment '商品名称', goods_class int default 1 not null comment '商品种类1.实物商品2.虚拟商品3.卡券商品4.服务项目5.卡项商品', goods_class_name varchar(25) default '' not null comment '商品种类', goods_attr_class int default 1 not null comment '商品类型id', goods_attr_name varchar(255) default '' not null comment '商品类型名称', site_id int default 0 not null comment '所属店铺id', site_name varchar(255) default '' not null comment '所属店铺名称', goods_image varchar(2000) default '' not null comment '商品主图路径', goods_content longtext null comment '商品详情', goods_state tinyint default 1 not null comment '商品状态(1.正常0下架)', category_id varchar(255) default '' not null comment '商品分类id,逗号隔开', category_json varchar(500) default '' not null comment '分类json字符串', brand_id int default 0 not null comment '商品品牌id', brand_name varchar(255) default '' not null comment '品牌名称', price decimal(10, 2) default 0.00 not null comment '商品价格(取第一个sku)', market_price decimal(10, 2) default 0.00 not null comment '划线价格(取第一个sku)', cost_price decimal(10, 2) default 0.00 not null comment '成本价(取第一个sku)', goods_stock decimal(12, 3) default 0.000 not null comment '商品库存(总和)', goods_stock_alarm int default 0 not null comment '库存预警', is_virtual tinyint default 0 not null comment '是否虚拟类商品(0实物1.虚拟)', virtual_indate int default 1 not null comment '虚拟商品有效期', is_free_shipping tinyint default 0 not null comment '是否免邮', shipping_template int default 0 not null comment '指定运费模板', goods_spec_format text null comment '商品规格格式', goods_attr_format text null comment '商品属性格式', is_delete tinyint default 0 not null comment '是否已经删除', introduction varchar(255) default '' not null comment '促销语', keywords varchar(255) default '' not null comment '关键词', unit varchar(255) default '' not null comment '单位', sort int default 0 not null comment '排序', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', video_url varchar(555) default '' not null comment '视频', sale_num decimal(12, 3) default 0.000 not null comment '销量', evaluate int default 0 not null comment '评价数', evaluate_shaitu int default 0 not null comment '评价晒图数', evaluate_shipin int default 0 not null comment '评价视频数', evaluate_zhuiping int default 0 not null comment '评价追评数', evaluate_haoping int default 0 not null comment '评价好评数', evaluate_zhongping int default 0 not null comment '评价中评数', evaluate_chaping int default 0 not null comment '评价差评数', is_fenxiao tinyint default 0 not null comment '参与分销(0不参与 1参与)', fenxiao_type tinyint default 1 not null comment '分销佣金类型(1默认 2自行设置)', supplier_id int default 0 not null comment '供应商id', is_consume_discount tinyint default 0 not null comment '是否参与会员等级折扣', discount_config tinyint default 0 not null comment '优惠设置(0默认 1自定义)', discount_method varchar(20) default '' not null comment '优惠方式(discount打折 manjian 满减 fixed_price 指定价格)', sku_id int default 0 not null comment 'sku_id', promotion_addon varchar(255) default '' not null comment '当前参与的营销活动,逗号分隔(限时折扣、团购、拼团、秒杀、专题活动)', goods_service_ids varchar(255) default '' not null comment '商品服务id', label_id int default 0 not null comment '商品分组id', label_name varchar(50) default '' not null comment '商品分组名称', virtual_sale decimal(12, 3) default 0.000 not null comment '虚拟销量', max_buy int default 0 not null comment '限购', min_buy int default 0 not null comment '起购数', recommend_way int default 0 not null comment '推荐方式,1:新品,2:精品,3;推荐', timer_on int default 0 not null comment '定时上架', timer_off int default 0 not null comment '定时下架', is_need_verify int default 0 not null comment '是否需要核销 ', verify_validity_type int default 0 not null comment '核销有效期类型 0:永久有效 1:购买后x天有效 2:指定过期日期', is_limit int default 0 not null comment '商品是否限购(0:否 1:是)', limit_type int default 1 not null comment '限购类型(1:单次限购 2:长期限购)', qr_id int default 0 not null comment '社群二维码id', template_id int default 0 not null comment '海报id', success_evaluate_num int default 0 not null comment '评价审核通过数', fail_evaluate_num int default 0 not null comment '评价审核失败数', wait_evaluate_num int default 0 not null comment '评价待审核数', sale_show int default 0 not null comment '销量是否展示', stock_show int default 0 not null comment '库存是否展示', virtual_deliver_type varchar(20) default '' not null comment '虚拟商品发货方式', virtual_receive_type varchar(20) default '' not null comment '虚拟商品收货方式', barrage_show int default 0 not null comment '弹幕是否展示', market_price_show int default 0 not null comment '划线价是否展示', form_id int default 0 not null comment '商品表单id', support_trade_type varchar(255) default '' not null comment '支持的配送方式', sale_channel varchar(50) default 'all' not null comment '销售渠道 all 线上线下销售 online 线上销售 offline线下销售', sale_store varchar(5000) default 'all' not null comment '适用门店 all 全部门店 ,门店id,门店id, 部分门店', service_category varchar(2000) default '' not null comment '服务类目', is_unify_price int default 1 not null comment '是否统一销售价', real_stock decimal(12, 3) default 0.000 not null comment '实物库存', pricing_type varchar(10) default 'num' not null comment '计价方式 num 计件 weight 计重', merch_id int default 0 not null comment '多商户id', ischeck int default 1 not null comment '0待审核1已审核', isinformation int default 0 not null comment '0普通商品1电话咨询2留言咨询', goods_mobile varchar(255) null comment '手机号码', en_goods_name varchar(255) null comment '英文商品标题', pdf_url varchar(255) null, pdf_name varchar(255) null ) comment '商品表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_goods_category_id on lucky_goods (category_id); create index IDX_ns_goods_goods_class on lucky_goods (goods_class); create index IDX_ns_goods_is_delete on lucky_goods (is_delete); create index IDX_ns_goods_site_id on lucky_goods (site_id); create index IDX_ns_goods_sku_id on lucky_goods (sku_id); create index IDX_ns_goods_sort on lucky_goods (sort); create table if not exists lucky_goods_attr_class ( class_id int auto_increment primary key, class_name varchar(50) default '' not null comment '类型名称', site_id int default 0 not null comment '所属店铺id', sort int default 0 not null comment '排序号' ) comment ' 商品类型' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_attribute ( attr_id int auto_increment primary key, attr_name varchar(50) default '' not null comment '属性名称', attr_class_id int default 0 not null comment '商品类型id', attr_class_name varchar(50) default '' not null comment '商品类型名称', sort int default 0 not null comment '属性排序号', is_query int default 0 not null comment '是否参与筛选', is_spec int default 0 not null comment '是否是规格属性', attr_value_list varchar(255) default '' not null comment '属性值列表('',''隔开注意键值对)', attr_value_format text null comment '属性值格式json', attr_type int default 0 not null comment '属性类型 (1.单选 2.多选3. 输入 注意输入不参与筛选)', site_id int default 0 not null comment '站点id', site_name varchar(50) default '' not null comment '店铺名称' ) comment '商品属性' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_attribute_value ( attr_value_id int auto_increment primary key, attr_value_name varchar(50) default '' not null comment '属性值名称', attr_id int default 0 not null comment '属性id', attr_class_id int default 0 not null comment '类型id', sort int default 0 not null comment '排序' ) comment '商品属性值表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_brand ( brand_id bigint auto_increment comment '索引ID' primary key, brand_name varchar(100) default '' not null comment '品牌名称', brand_initial varchar(1) default '' not null comment '品牌首字母', image_url varchar(255) default '' not null comment '品牌logo', banner varchar(255) default '' not null comment '品牌广告图', brand_desc varchar(1000) default '' not null comment '品牌简介', site_id int default 0 not null comment '所属店铺id', sort int default 0 not null comment '排序', create_time int default 0 not null comment '创建时间', is_recommend tinyint default 0 not null comment '是否推荐' ) comment '商品品牌表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_browse ( id int auto_increment primary key, member_id int default 0 not null comment '浏览人', browse_time int default 0 not null comment '浏览时间', site_id int default 0 not null comment '站点id', sku_id int default 0 not null comment 'sku_id', goods_id int default 0 not null comment '商品id' ) comment '商品浏览历史' charset = utf8 row_format = DYNAMIC; create index IDX_ns_goods_browse_member_id on lucky_goods_browse (member_id); create index IDX_ns_goods_browse_sku_id on lucky_goods_browse (sku_id); create table if not exists lucky_goods_card ( card_id int auto_increment primary key, site_id int default 0 not null comment '站点id', goods_id int default 0 not null comment '商品id', card_type varchar(255) default '' not null comment '卡类型', card_type_name varchar(255) default '' not null comment '卡类型名称', renew_price decimal(10, 2) default 0.00 not null comment '续费价格', recharge_money decimal(10, 2) default 0.00 not null comment '充值到账金额', common_num int default 0 not null comment '通卡总可用次数', discount_goods_type varchar(50) default 'all' not null comment '折扣卡适用商品类型 all 全部商品 part 部分商品', discount decimal(10, 2) default 100.00 not null comment '折扣卡全部商品时的折扣', validity_type smallint default 0 not null comment '有效期类型 0永久有效 1购买后几日有效 2指定有效时间', validity_day int default 0 not null comment '有效期天数', validity_time int default 0 not null comment '有效时间', constraint UK_ns_goods_card_goods_id unique (goods_id) ) comment '商品卡项表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_goods_card_card_type on lucky_goods_card (card_type); create table if not exists lucky_goods_card_item ( id int auto_increment primary key, site_id int default 0 not null, card_goods_id int default 0 not null, goods_id int default 0 not null, sku_id int default 0 not null, num int default 0 not null comment '次卡可用次数', discount decimal(10, 2) default 100.00 not null comment '折扣卡折扣' ) comment '卡项商品关联表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_goods_card_item_card_goods_id on lucky_goods_card_item (card_goods_id); create index IDX_ns_goods_card_item_sku_id on lucky_goods_card_item (sku_id); create table if not exists lucky_goods_cart ( cart_id int auto_increment primary key, site_id int default 0 not null comment '站点id', member_id int default 0 not null comment '会员id', sku_id int default 0 not null comment 'sku_id', num int default 0 not null comment '数量', form_data text not null comment '表单数据' ) comment ' 购物车' charset = utf8 row_format = DYNAMIC; create index IDX_ns_goods_cart_member_id on lucky_goods_cart (member_id); create table if not exists lucky_goods_category ( category_id int auto_increment primary key, site_id int default 0 not null comment '站点id', category_name varchar(50) default '' not null comment '分类名称', short_name varchar(50) default '' not null comment '简称', pid int default 0 not null comment '分类上级', level int default 0 not null comment '层级', is_show int default 0 not null comment '是否显示(0显示 -1不显示)', sort int default 0 not null comment '排序', image varchar(255) default '' not null comment '分类图片', keywords varchar(255) default '' not null comment '分类页面关键字', description varchar(255) default '' not null comment '分类介绍', attr_class_id int default 0 not null comment '关联商品类型id', attr_class_name varchar(255) default '' not null comment '关联商品类型名称', category_id_1 int default 0 not null comment '一级分类id', category_id_2 int default 0 not null comment '二级分类id', category_id_3 int default 0 not null comment '三级分类id', category_full_name varchar(255) default '' not null comment '组装名称', image_adv varchar(255) default '' not null comment '分类广告图', commission_rate decimal(10, 2) default 0.00 not null comment '佣金比率%', link_url varchar(2000) default '' not null comment '广告链接', is_recommend int default 0 not null comment '是否推荐', icon varchar(255) default '' not null comment '图标', en_category_name varchar(255) null comment '英文版分类名称' ) comment ' 商品分类' charset = utf8 row_format = DYNAMIC; create index pid_level on lucky_goods_category (pid, level); create table if not exists lucky_goods_collect ( collect_id int(11) unsigned auto_increment comment '主键' primary key, member_id int default 0 not null comment '会员id', goods_id int default 0 not null comment '商品id', sku_id int default 0 not null comment 'skuid', category_id int default 0 not null comment '商品分类id', sku_name varchar(255) default '' not null comment '商品名称', sku_price decimal(10, 2) default 0.00 not null comment '商品价格', sku_image varchar(255) default '' not null comment '商品图片', create_time int default 0 not null comment '收藏时间', site_id int default 0 not null comment '站点id' ) comment '商品收藏表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_goods_collect_member_id on lucky_goods_collect (member_id); create index IDX_ns_goods_collect_sku_id on lucky_goods_collect (sku_id); create table if not exists lucky_goods_community_qrcode ( qr_id int(11) unsigned auto_increment comment '社群二维码id' primary key, qr_img varchar(255) default '' not null comment '社群二维码图片', qr_name varchar(255) default '' not null comment '社群二维码名称', community_describe varchar(255) default '' not null comment '社群描述', qr_state tinyint default 0 not null comment '二维码状态(0未启用1启用)', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', site_id int default 0 not null comment '所属店铺id' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_evaluate ( evaluate_id int(11) unsigned auto_increment comment '评价ID' primary key, site_id int default 0 not null comment '站点id', website_id int default 0 not null comment '分站id', order_id int default 0 not null comment '订单ID', order_no bigint unsigned default 0 not null comment '订单编号', order_goods_id int default 0 not null comment '订单项ID', goods_id int default 0 not null comment '商品ID', sku_id int default 0 not null comment '商品skuid', sku_name varchar(100) default '' not null comment '商品名称', sku_price decimal(10, 2) default 0.00 not null comment '商品价格', sku_image varchar(255) default '' not null comment '商品图片', content varchar(255) default '' not null comment '评价内容', images varchar(1000) default '' not null comment '评价图片', explain_first varchar(255) default '' not null comment '解释内容', member_id int default 0 not null comment '评价人id', member_name varchar(100) default '' not null comment '评价人名称', member_headimg varchar(255) default '' not null comment '评价人头像', is_anonymous tinyint default 0 not null comment '0表示不是 1表示是匿名评价', scores tinyint default 0 not null comment '1-5分', again_content varchar(255) default '' not null comment '追加评价内容', again_images varchar(1000) default '' not null comment '追评评价图片', again_explain varchar(255) default '' not null comment '追加解释内容', explain_type int default 0 not null comment '1好评2中评3差评', is_show int default 1 not null comment '1显示 0隐藏', create_time int default 0 not null comment '评价时间', again_time int default 0 not null comment '追加评价时间', shop_desccredit decimal(10, 2) default 5.00 not null comment '描述分值', shop_servicecredit decimal(10, 2) default 5.00 not null comment '服务分值', shop_deliverycredit decimal(10, 2) default 5.00 not null comment '配送分值', is_audit int default 1 not null comment '审核状态:0 未审核 1 审核通过,2 审核拒绝', again_is_audit int default 0 not null comment '审核状态:0 未审核 1 审核通过,2 审核拒绝' ) comment '商品评价表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_export ( export_id int auto_increment primary key, `condition` varchar(2000) default '' not null comment '条件 json', status int default 0 not null comment '导出状态 0 正在导出 1 已导出 2 已删除', create_time int default 0 not null comment '导出时间', path varchar(255) default '' not null comment '导出文件的物理路径', site_id int default 0 not null comment '站点id' ) comment '商品导出记录表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_form ( id int auto_increment primary key, site_id int null comment '平台id', member_id int null comment '用户id', goods_id int null comment '商品id', form_data longtext null comment '表单内容', create_time int null ) comment '商品留言表' engine = MyISAM collate = utf8_unicode_ci row_format = DYNAMIC; create table if not exists lucky_goods_giftcard ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', sku_id int default 0 not null comment 'sku_id', giftcard_id int default 0 not null comment '礼品卡id', num int default 0 not null comment '数量' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_grab ( grab_id int auto_increment primary key, site_id int default 0 not null, is_virtual tinyint default 0 not null comment '商品类型(0实物1.虚拟)', category_id varchar(255) default '' not null comment '商品分类', category_name varchar(255) default '' not null comment '商品分类名称', total_num int default 0 not null comment '采集数', success_num int default 0 not null comment '成功数', error_num int default 0 not null comment '失败数', create_time int default 0 not null ) comment '商品采集' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_grab_detail ( id int auto_increment primary key, site_id int default 0 not null, grab_id int default 0 not null, url varchar(255) default '' not null comment '采集地址', type varchar(255) default '' null comment '采集平台', type_name varchar(255) default '' not null comment '采集平台名称', reason varchar(255) default '' not null comment '失败原因', status tinyint default 1 not null comment '状态(1成功 2失败)' ) comment '采集明细' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_import_record ( id int auto_increment primary key, site_id int default 0 not null comment '站点ID', record_name varchar(255) default '' not null comment '记录名称', import_time int default 0 not null comment '导入时间', success_num int default 0 not null comment '成功数', fail_num int default 0 not null comment '失败数', fail_data text null comment '失败数据', data text null comment '导入原始数据' ) comment '商品导入记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_label ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', label_name varchar(50) default '' not null comment '标签名称', `desc` varchar(255) default '' not null comment '描述', create_time int default 0 not null, update_time int default 0 not null, sort int default 0 not null ) comment '商品标签' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_poster ( poster_id int(11) unsigned auto_increment comment 'id' primary key, poster_name varchar(255) default '' not null comment '海报名', poster_type tinyint default 1 not null comment '海报类型 1商品海报', scan_num tinyint default 0 not null comment '扫码数', status tinyint default 0 not null comment '状态 1启用0未启用', json_data text not null comment 'json数据', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', site_id int default 0 not null comment '站点id' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_recommend ( id int auto_increment primary key, name varchar(255) default '' not null comment '排行名称', sort int default 0 not null comment '排序', number int default 0 not null comment '数量', type int default 0 not null comment '类型:1一周销售排名,2一月销售排名,3自定义推荐', category_id int default 0 not null comment '商品分类ID', goods_ids varchar(255) default '' not null comment '自定义推荐商品ID', create_time int default 0 not null, modify_time int default 0 not null ) comment '商品热门排行' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_service ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', service_name varchar(50) default '' not null comment '服务名称', `desc` varchar(255) default '' not null comment '描述', create_time int default 0 not null, update_time int default 0 not null, icon varchar(2000) default '' not null ) comment '商品服务' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_goods_sku ( sku_id int(11) unsigned auto_increment comment '商品sku_id' primary key, site_id int default 0 not null comment '所属店铺id', goods_id int default 0 not null comment '商品id', sku_name varchar(255) default '' not null comment '商品sku名称', sku_no varchar(255) default '' not null comment '商品sku编码', sku_spec_format text null comment 'sku规格格式', price decimal(10, 2) default 0.00 not null comment 'sku单价', market_price decimal(10, 2) default 0.00 not null comment 'sku划线价', cost_price decimal(10, 2) default 0.00 not null comment 'sku成本价', discount_price decimal(10, 2) default 0.00 not null comment 'sku折扣价(默认等于单价)', promotion_type tinyint default 0 not null comment '活动类型1.限时折扣', start_time int default 0 not null comment '活动开始时间', end_time int default 0 not null comment '活动结束时间', stock decimal(12, 3) default 0.000 not null comment '商品sku库存', weight decimal(10, 2) default 0.00 not null comment '重量(单位g)', volume decimal(10, 2) default 0.00 not null comment '体积(单位立方米)', click_num int default 0 not null comment '点击量', sale_num decimal(12, 3) default 0.000 not null comment '销量', collect_num int default 0 not null comment '收藏量', sku_image varchar(255) default '' not null comment 'sku主图', sku_images varchar(2000) default '' not null comment 'sku图片', goods_class int default 1 not null comment '商品种类1.实物商品2.虚拟商品3.卡券商品4.服务项目5.卡项商品', goods_class_name varchar(25) default '' not null comment '商品种类', goods_attr_class int default 1 not null comment '商品类型id', goods_attr_name varchar(255) default '' not null comment '商品类型名称', goods_name varchar(255) default '' not null comment '商品名称', goods_content text null comment '商品详情', goods_state tinyint default 1 not null comment '商品状态(1.正常0下架)', goods_stock_alarm int default 0 not null comment '库存预警', is_virtual tinyint default 0 not null comment '是否虚拟类商品(0实物1.虚拟)', virtual_indate int default 1 not null comment '虚拟商品有效期', is_free_shipping tinyint default 0 not null comment '是否免邮', shipping_template int default 0 not null comment '指定运费模板', goods_spec_format text null comment '商品规格格式', goods_attr_format text null comment '商品属性格式', is_delete tinyint default 0 not null comment '是否已经删除', introduction varchar(255) default '' not null comment '促销语', keywords varchar(255) default '' not null comment '关键词', unit varchar(255) default '' not null comment '单位', sort int default 0 not null comment '排序', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', video_url varchar(555) default '' not null comment '视频', evaluate int default 0 not null comment '评价数', evaluate_shaitu int default 0 not null comment '晒图评价数', evaluate_shipin int default 0 not null comment '视频评价数', evaluate_zhuiping int default 0 not null comment '追评数', evaluate_haoping int default 0 not null comment '好评数', evaluate_zhongping int default 0 not null comment '中评数', evaluate_chaping int default 0 not null comment '差评数', spec_name varchar(255) default '' not null comment '规格名称', supplier_id int default 0 not null comment '供应商id', is_consume_discount tinyint default 0 not null comment '是否参与会员等级折扣', discount_config tinyint default 0 not null comment '优惠设置(0默认 1自定义)', discount_method varchar(20) default '' not null comment '优惠方式(discount打折 manjian 满减 fixed_price 指定价格)', member_price varchar(255) default '' not null comment '会员价', goods_service_ids varchar(255) default '' not null comment '商品服务id', virtual_sale decimal(12, 3) default 0.000 not null comment '虚拟销量', max_buy int default 0 not null comment '限购', min_buy int default 0 not null, recommend_way int default 0 not null comment '推荐方式,1:新品,2:精品,3;推荐', fenxiao_price decimal(10, 2) default 0.00 not null comment '分销计算价格', stock_alarm int default 0 not null comment 'sku库存预警', sale_sort int default 0 not null comment '销量排序字段 占位用', is_default tinyint default 0 not null comment '是否默认', verify_num int default 0 not null comment '核销次数', is_limit int default 0 not null comment '是否限购(0否1是)', limit_type int default 1 not null comment '限购类型(1单次限购2长期限购)', qr_id int default 0 not null comment '社群二维码id', template_id int default 0 not null comment '海报id', success_evaluate_num int default 0 not null comment '评价审核通过数', fail_evaluate_num int default 0 not null comment '评价审核失败数', wait_evaluate_num int default 0 not null comment '评价待审核数', brand_id int default 0 not null comment '品牌id', brand_name varchar(255) default '' not null comment '品牌名称', form_id int default 0 not null comment '表单id', support_trade_type varchar(255) default '' not null comment '支持的配送方式', sale_channel varchar(50) default 'all' not null comment '销售渠道 all 线上线下销售 online 线上销售 offline线下销售', sale_store varchar(5000) default 'all' not null comment '适用门店 all 全部门店 ,门店id,门店id, 部分门店', service_length int default 0 null comment '服务时长分钟', real_stock decimal(12, 3) default 0.000 not null comment '实物库存', is_unify_price int default 1 not null comment '是否统一销售价', plu varchar(4) default '' not null comment 'plu码', pricing_type varchar(10) default 'num' not null comment '计价方式 num 计件 weight 计重' ) comment '商品表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_goods_goods_class on lucky_goods_sku (goods_class); create index IDX_ns_goods_is_delete on lucky_goods_sku (is_delete); create index IDX_ns_goods_site_id on lucky_goods_sku (site_id); create index IDX_ns_goods_sort on lucky_goods_sku (sort); create table if not exists lucky_goods_virtual ( id int auto_increment primary key, site_id int default 0 not null comment '店铺id', order_id int default 0 not null comment '订单id', order_no varchar(255) default '' not null comment '订单编号', sku_id int default 0 not null comment '商品sku_id', sku_name varchar(50) default '' not null comment '商品名称', code varchar(255) default '' not null comment '虚拟商品编码', is_veirfy int default 0 not null comment '是否已经核销', verify_time int default 0 not null comment '核销时间', member_id int default 0 not null comment '所属人', sku_image varchar(255) default '' not null comment '虚拟商品图片', expire_time int default 0 not null comment '核销有效期 0永久 ', card_info varchar(2500) default '' not null comment '卡密信息', sold_time int default 0 not null comment '售出时间', goods_id int default 0 not null comment '商品id', verify_total_count int default 0 not null comment '核销次数', verify_use_num int default 0 not null comment '已核销次数' ) comment '用户虚拟商品表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_group ( group_id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id(店铺,分站,门店,供应商),总平台端为0', app_module varchar(255) default '' not null comment '使用端口', group_name varchar(50) default '' not null comment '用户组名称', group_status int default 1 not null comment '用户组状态', is_system int default 0 not null comment '是否是系统用户组', menu_array text null comment '系统菜单权限组,用,隔开', `desc` varchar(255) default '' not null comment '描述', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间' ) comment '用户组表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_help ( id int(11) unsigned auto_increment comment '主键id' primary key, site_id int default 0 not null comment 'site_id', app_module varchar(255) default '' not null comment '应用模块', title varchar(255) default '' not null comment '帮助主题', link_address varchar(1000) default '' not null comment '链接地址', content text null comment '帮助内容', class_id int default 0 not null comment '帮助类型id', class_name varchar(50) default '' not null comment '帮助类型名称', sort int default 0 not null comment '排序号', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间' ) comment '帮助文章表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_help_class ( class_id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment 'site_id', app_module varchar(255) default '' not null comment '应用模块', class_name varchar(50) default '' not null comment '帮助类型名称', sort int default 0 not null comment '排序号', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间' ) comment '帮助类型' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_information ( id int auto_increment primary key, site_id int not null, member_id int null, realname varchar(255) null, mobile varchar(255) null, mailbox varchar(255) null, citys varchar(255) null, remark varchar(255) null, createtime int not null ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_link ( id int auto_increment primary key, name varchar(50) default '' not null comment '标识', addon_name varchar(50) default '' not null, title varchar(255) default '' not null comment '中文名称', parent varchar(255) default '' not null comment '父级', sort int default 0 not null comment '排序', level int default 0 not null comment '级别', web_url varchar(255) default '' not null comment 'pc端页面跳转路径', wap_url varchar(255) default '' not null comment 'wap端跳转路径', icon varchar(255) default '' not null comment '图标', support_diy_view varchar(255) default '' not null comment '支持的自定义页面(为空表示都支持)' ) comment '链接入口' charset = utf8 row_format = DYNAMIC; create index IDX_nc_link on lucky_link (addon_name); create table if not exists lucky_local ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', type varchar(255) default 'default' not null comment '配送方式 default 商家自配送 other 第三方配送', area_type int default 1 not null comment '配送区域', local_area_json varchar(2000) default '' not null comment '区域配送设置', time_is_open int default 0 not null comment '订单达是否开启 0 关闭 1 开启', time_type int default 0 not null comment '时间选取类型 0 全天 1 自定义', time_week varchar(255) default '' not null comment '营业时间 周一 周二.......', start_time int default 0 not null comment '当日的起始时间', end_time int default 0 not null comment '当日的营业结束时间', update_time int default 0 not null, is_open_step int default 0 not null comment '是否启用阶梯价(适用于行政区域)', start_distance decimal(10, 2) default 1.00 not null comment '多少距离以内,...', start_delivery_money decimal(10, 2) default 0.00 not null comment '多少距离以内,多少钱', continued_distance decimal(10, 2) default 1.00 not null comment '每增加多少距离', continued_delivery_money decimal(10, 2) default 0.00 not null comment '每增加多少距离,运费增加', start_money decimal(10, 2) default 0.00 not null comment '起送价', delivery_money decimal(10, 2) default 0.00 not null comment '配送费', area_array varchar(255) default '' not null comment '地域集合', man_money decimal(10, 2) default 0.00 not null comment '满多少钱', man_type varchar(255) default '' not null comment '满足条件优惠类型 free discount', man_discount decimal(10, 2) default 0.00 not null comment '满减优惠金额', time_interval int default 30 not null comment '时段设置单位分钟', delivery_time varchar(2000) default '' not null comment '配送时间段', store_id int default 0 not null comment '门店id', advance_day int default 0 not null comment '时间选择需提前多少天', most_day int default 7 not null comment '最多可预约多少天' ) comment '本地配送设置' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_local_delivery_package ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', order_id int default 0 not null comment '订单id', order_goods_id_array varchar(1000) default '' not null comment '订单项商品组合列表', goods_id_array varchar(1000) default '' not null comment '商品组合列表', package_name varchar(50) default '' not null comment '包裹名称 (包裹- 1 包裹 - 2)', delivery_type varchar(50) default 'default' not null comment '发货方式 default 商家自配送 other 第三方配送', delivery_no varchar(50) default '' not null comment '运单编号', delivery_time int default 0 not null comment '发货时间', member_id int default 0 not null comment '会员id', member_name varchar(50) default '' not null comment '会员名称', deliverer varchar(255) default '' not null comment '配送员', deliverer_mobile varchar(255) default '' not null, store_id int default 0 not null comment '所属门店' ) comment '外卖配送物流信息表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member ( member_id int auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', share_member int default 0 not null comment '分享人', source_member int default 0 not null comment '推荐人', fenxiao_id int default 0 not null comment '分销商(分销有效)', is_fenxiao tinyint default 0 not null comment '是否是分销商', username varchar(50) default '' not null comment '用户名', nickname varchar(50) default '' not null comment '用户昵称', mobile varchar(255) default '' not null comment '手机号', email varchar(50) default '' not null comment '邮箱', password varchar(255) default '' not null comment '用户密码(MD5)', status int default 1 not null comment '用户状态 用户状态默认为1', headimg varchar(255) default '' not null comment '用户头像', member_level int default 0 not null comment '用户等级', member_level_name varchar(50) default '' not null comment '会员等级名称', member_label varchar(255) default ',' not null comment '用户标签', member_label_name varchar(255) default '' not null comment '会员标签名称', qq varchar(255) default '' not null comment 'qq号', qq_openid varchar(255) default '' not null comment 'qq互联id', wx_openid varchar(255) default '' not null comment '微信用户openid', weapp_openid varchar(255) default '' not null comment '微信小程序openid', wx_unionid varchar(255) default '' not null comment '微信unionid', ali_openid varchar(255) default '' not null comment '支付宝账户id', baidu_openid varchar(255) default '' not null comment '百度账户id', toutiao_openid varchar(255) default '' not null comment '头条账号', douyin_openid varchar(255) default '' not null comment '抖音小程序openid', login_ip varchar(255) default '' not null comment '当前登录ip', login_type varchar(255) default 'h5' not null comment '当前登录的操作终端类型', login_time int default 0 not null comment '当前登录时间', last_login_ip varchar(255) default '' not null comment '上次登录ip', last_login_type varchar(11) default 'h5' not null comment '上次登录的操作终端类型', last_login_time int default 0 not null comment '上次登录时间', last_visit_time int default 0 not null comment '最后访问时间', last_consum_time int default 0 not null comment '最后消费时间', login_num int default 0 not null comment '登录次数', realname varchar(50) default '' not null comment '真实姓名', sex smallint default 0 not null comment '性别 0保密 1男 2女', location varchar(255) default '' not null comment '定位地址', birthday int default 0 not null comment '出生日期', reg_time int default 0 not null comment '注册时间', point int default 0 not null comment '积分', balance decimal(10, 2) default 0.00 not null comment '余额', growth int default 0 not null comment '成长值', balance_money decimal(10, 2) default 0.00 not null comment '现金余额(可提现)', account5 decimal(10, 2) default 0.00 not null comment '账户5', is_auth int default 0 not null comment '是否认证', is_member tinyint default 0 not null comment '是否是会员', member_time int default 0 not null comment '成为会员时间', sign_time int default 0 not null comment '最后一次签到时间', sign_days_series int default 0 not null comment '持续签到天数', pay_password varchar(32) default '' not null comment '交易密码', order_money decimal(10, 2) default 0.00 not null comment '付款后-消费金额', order_complete_money decimal(10, 2) default 0.00 not null comment '订单完成-消费金额', order_num int default 0 not null comment '付款后-消费次数', order_complete_num int default 0 not null comment '订单完成-消费次数', balance_withdraw_apply decimal(10, 2) default 0.00 not null comment '提现中余额', balance_withdraw decimal(10, 2) default 0.00 not null comment '已提现余额', is_delete tinyint default 0 not null comment '0正常 1已删除', member_level_type int default 0 not null comment '会员卡类型 0免费卡 1付费卡', level_expire_time int default 0 not null comment '会员卡过期时间', is_edit_username int default 0 not null comment '是否可修改用户名', login_type_name varchar(50) default '' not null comment '登陆类型名称', can_receive_registergift int default 0 not null comment '是否可以领取新人礼(只针对后台注册的用户 1可以 0不可以)', balance_lock decimal(10, 2) default 0.00 not null comment '冻结中的不可提现余额', balance_money_lock decimal(10, 2) default 0.00 not null comment '冻结中的可提现余额', province_id int default 0 not null comment '省id', city_id int default 0 not null comment '市id', district_id int default 0 not null comment '区县id', community_id int default 0 not null comment '社区id', address varchar(255) default '' not null comment '地址信息', full_address varchar(255) default '' not null comment '详细地址信息', longitude varchar(255) default '' not null comment '经度', latitude varchar(255) default '' not null comment '纬度', member_code varchar(50) default '' not null comment '会员卡号', bind_fenxiao_time int default 0 not null comment '会员与分销商绑定关系的时间', qrcode varchar(255) null comment '会员卡code', card_id varchar(255) null comment '卡id', huawei_openid varchar(255) default '' not null comment '华为账号' ) comment '系统用户表' charset = utf8 row_format = DYNAMIC; create index IDX_member_balance on lucky_member (balance); create index IDX_member_balance_money on lucky_member (balance_money); create index IDX_member_code on lucky_member (member_code); create index IDX_member_is_delete on lucky_member (is_delete); create index IDX_member_last_login_time on lucky_member (last_login_time); create index IDX_member_member_label on lucky_member (member_label); create index IDX_member_member_level on lucky_member (member_level); create index IDX_member_order_money on lucky_member (order_money); create index IDX_member_point on lucky_member (point); create index IDX_member_reg_time on lucky_member (reg_time); create index IDX_ns_member_is_delete on lucky_member (is_delete); create index IDX_ns_member_site_id on lucky_member (site_id); create index IDX_ns_member_status on lucky_member (status); create index IDX_ns_member_weapp_openid on lucky_member (weapp_openid); create index IDX_sys_user_user_email on lucky_member (email); create index IDX_sys_user_user_name on lucky_member (username); create index IDX_sys_user_user_password on lucky_member (password); create index IDX_sys_user_user_tel on lucky_member (mobile); create index IDX_sys_user_wx_openid on lucky_member (wx_openid); create index IDX_sys_user_wx_unionid on lucky_member (wx_unionid); create table if not exists lucky_member_account ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', member_id int default 0 not null comment '用户id', account_type varchar(255) default 'point' not null comment '账户类型', account_data decimal(10, 2) default 0.00 not null comment '账户数据', from_type varchar(255) default '' not null comment '来源类型', type_name varchar(50) default '' not null comment '来源类型名称', type_tag varchar(255) default '' not null comment '关联关键字', remark varchar(255) default '' not null comment '备注信息', create_time int default 0 not null comment '创建时间', username varchar(255) default '' not null comment '用户名', mobile varchar(255) default '' not null comment '手机', order_number varchar(255) default '' not null comment '订单消费和退款的订单号', email varchar(255) default '' not null comment '邮箱', related_id int default 0 not null comment '关联Id(拼团返利使用)', point_expire tinyint default 0 not null comment '积分到期状态' ) comment '账户流水' charset = utf8 row_format = DYNAMIC; create index IDX_ns_member_account_account_type on lucky_member_account (account_type); create index IDX_ns_member_account_create_time on lucky_member_account (create_time); create index IDX_ns_member_account_from_type on lucky_member_account (from_type); create index IDX_ns_member_account_member_id on lucky_member_account (member_id); create table if not exists lucky_member_address ( id int(11) unsigned auto_increment primary key, member_id int default 0 not null comment '会员id', site_id int default 0 not null comment '站点id', name varchar(255) default '' not null comment '用户姓名', mobile varchar(255) default '' not null comment '手机', telephone varchar(255) default '' not null comment '联系电话', province_id int default 0 not null comment '省id', city_id int default 0 not null comment '市id', district_id int default 0 not null comment '区县id', community_id int default 0 not null comment '社区id', address varchar(255) default '' not null comment '地址信息', full_address varchar(255) default '' not null comment '详细地址信息', longitude varchar(255) default '' not null comment '经度', latitude varchar(255) default '' not null comment '纬度', is_default tinyint default 0 not null comment '是否是默认地址', type int default 1 not null comment '地址类型 1 普通地址 2 定位地址' ) comment '用户地址管理' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_auth ( auth_id int auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', member_id int default 0 not null comment '会员ID', member_username varchar(50) default '' not null comment '会员用户名', auth_card_name varchar(50) default '' not null comment '实名姓名', auth_card_no varchar(18) default '' not null comment '实名身份证', auth_card_hand varchar(255) default '' not null comment '申请人手持身份证电子版', auth_card_front varchar(255) default '' not null comment '申请人身份证正面', auth_card_back varchar(255) default '' not null comment '申请人身份证反面', status int default 0 not null comment '审核状态0待审核1.已审核-1已拒绝', remark varchar(255) default '' null comment '审核意见', create_time int default 0 not null comment '创建时间', audit_time int default 0 not null comment '审核通过时间' ) comment '会员实名认证表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_bank_account ( id int auto_increment primary key, member_id int default 0 not null comment '会员id', realname varchar(50) default '' not null comment '真实姓名', mobile varchar(255) default '' not null comment '手机号', withdraw_type varchar(32) default '' null comment '账户类型 alipay-支付宝 bank银行卡', branch_bank_name varchar(50) default '' not null comment '银行名称', bank_account varchar(50) default '' not null comment '银行账号', is_default int default 0 not null comment '是否默认账号', create_time int default 0 null comment '创建日期', modify_time int default 0 null comment '修改日期' ) comment '会员提现账号' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_cancel ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', member_id int default 0 not null comment '会员id', username varchar(255) default '' not null comment '会员账号', mobile varchar(255) default '' not null comment '电话', nickname varchar(255) default '' not null comment '会员昵称', status tinyint default 0 not null comment '状态', audit_uid int default 0 not null comment '审核人UID', audit_username varchar(255) default '' not null comment '审核人账号', reason varchar(255) default '' not null comment '审核拒绝原因', audit_time int default 0 not null comment '审核时间', create_time int default 0 not null comment '申请注销时间', member_json text null comment '会员信息', fenxiao_json text null comment '分销信息' ) comment '会员注销表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_cluster ( cluster_id int(11) unsigned auto_increment comment '会员群体ID' primary key, site_id int default 0 not null comment '站点ID', cluster_name varchar(255) default '' not null comment '群体名称', rule_json text null comment '规则json', member_num int default 0 not null comment '群体内会员 数量', member_ids text null comment '群体内会员ID', create_time int default 0 not null comment '创建时间', update_time int default 0 not null comment '更新时间' ) comment '会员群体表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_goods_card ( card_id int auto_increment primary key, site_id int default 0 not null comment '站点id', member_id int default 0 not null comment '会员id', goods_id int default 0 not null comment '卡项商品id', goods_name varchar(2000) default '' not null comment '卡项名称', create_time int default 0 not null comment '创建时间', end_time int default 0 not null comment '到期时间', card_code varchar(50) default '' not null comment '卡号', order_id int default 0 not null comment '关联订单id', total_num int default 0 not null comment '卡项总次数', total_use_num int default 0 not null comment '卡项使用次数', card_type varchar(255) default '' not null comment '卡项类型', status smallint default 1 not null comment '状态 1可用 0已失效', delivery_method varchar(50) default '' not null comment '产品出库方式 buy 购买时出库 verify 核销时出库', store_id int default 0 not null comment '门店id' ) comment '会员卡项表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_goods_card_item ( item_id int auto_increment primary key, site_id int default 0 not null comment '站点id', card_id int default 0 not null comment '会员卡项id', member_id int default 0 not null comment '会员id', goods_id int default 0 not null comment '服务商品id', sku_id int default 0 not null comment '服务商品规格id', goods_class varchar(255) default '' not null comment '商品类型', num int default 0 not null comment '商品次数/数量', use_num int default 0 not null comment '使用次数/数量', end_time int default 0 not null comment '有效期', member_verify_id int default 0 not null comment '会员核销码id', store_id int default 0 not null comment '门店id', card_type varchar(255) default '' not null comment '卡项类型' ) comment '会员卡项内容表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_goods_card_records ( id int auto_increment primary key, card_id int default 0 not null, site_id int default 0 not null, card_item_id int default 0 not null, type varchar(255) default '' not null comment 'verify核销order订单', relation_id int default 0 not null comment '关联id 核销码id orderid', create_time int default 0 not null, store_id int default 0 not null comment '使用门店', num int default 1 not null comment '使用次数' ) comment '会员卡项使用记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_import_log ( id int(11) unsigned auto_increment primary key, mobile varchar(255) default '' not null comment '手机号', username varchar(255) default '' not null comment '用户名', nickname varchar(255) default '' not null comment '昵称', password varchar(255) default '' not null comment '密码', realname varchar(255) default '' not null comment '真实姓名', wx_openid varchar(255) default '' not null comment '微信公众号openid', weapp_openid varchar(255) default '' not null comment '小程序openid', create_time int default 0 not null comment '添加时间', content varchar(255) default '' not null comment '内容', record_id int default 0 not null ) comment '会员导入记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_import_record ( id int auto_increment primary key, member_num int default 0 null comment '会员总数', success_num int default 0 null comment '会员导入成功数量', error_num int default 0 null comment '会员导入失败数量', status_name varchar(255) default '' null comment '导入状态', create_time int default 0 null comment '导入时间' ) comment '会员导入记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_journal ( id int auto_increment primary key, site_id int not null, member_id int null, createtime int null, type int default 0 not null, remark varchar(255) null, follow varchar(255) null, goodsid int default 0 not null ) engine = MyISAM charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_label ( label_id int(11) unsigned auto_increment comment '标签id' primary key, site_id int default 0 not null comment 'site_id', label_name varchar(50) default '' not null comment '标签名称', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', remark varchar(1000) default '' not null comment '备注', sort int default 0 not null comment '排序' ) comment '会员标签' charset = utf8 row_format = DYNAMIC; create index IDX_nc_member_label_label_id on lucky_member_label (label_id); create table if not exists lucky_member_level ( level_id int(11) unsigned auto_increment comment '会员等级' primary key, site_id int default 0 not null comment '站点id', level_name varchar(50) default '' not null comment '等级名称', sort int default 1 not null comment '等级排序列', growth decimal(10, 2) default 0.00 not null comment '所需成长值', remark varchar(255) default '' not null comment '备注', is_default int default 0 not null comment '是否默认,0:否,1:是', is_free_shipping tinyint default 0 not null comment '是否包邮', consume_discount decimal(10, 2) default 100.00 not null comment '消费折扣', point_feedback decimal(10, 2) default 0.00 not null comment '积分回馈倍率', send_point int default 0 not null comment '赠送积分(等级礼包)', send_balance decimal(10, 2) default 0.00 not null comment '赠送红包(等级礼包)', send_coupon varchar(255) default '' not null comment '赠送优惠券', level_type int default 0 not null comment '等级类型 0免费卡 1付费卡', charge_rule text null comment '付费规则', charge_type int default 0 not null comment '付费类型 0付款 1充值', bg_color varchar(255) default '#333' not null, status int default 1 not null comment '状态 0已下架 1发售中 ', is_recommend int default 0 not null comment '是否推荐', level_background varchar(100) default '' not null comment '背景色', level_text_color varchar(100) default '' not null comment '文字颜色', level_picture varchar(255) default '' not null comment '背景图' ) comment '会员等级' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_level_order ( order_id int auto_increment primary key, site_id int default 0 not null, order_no varchar(50) default '' not null comment '订单号', out_trade_no varchar(50) default '' not null comment '交易号', level_name varchar(255) default '' not null comment '会员卡名称', level_id int default 0 not null comment '会员卡id', order_type int default 1 not null comment '订单类型 1购卡 2续费', charge_type int default 0 not null comment '会员卡付费类型 0付款 1充值', period_unit varchar(255) default '' not null comment '单位 week-周 month-月 quarter-季 year-年', buy_num int default 1 not null comment '购买时长', order_money decimal(10, 2) default 0.00 not null comment '订单金额', buyer_id int default 0 not null comment '购买人id', nickname varchar(255) default '' not null comment '购买人昵称', headimg varchar(255) default '' not null comment '购买人头像', pay_type varchar(255) default '' not null comment '支付方式', pay_type_name varchar(255) default '' not null comment '支付方式名称', pay_status int default 0 not null comment '支付状态 0待支付 1已支付', order_status int default 0 not null comment '订单状态', create_time int default 0 not null comment '创建时间', pay_time int default 0 not null comment '支付时间' ) comment '会员卡订单表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_level_records ( id int auto_increment primary key, member_id int default 0 not null comment '会员id', site_id int default 0 not null, before_level_id int default 0 not null comment '变更前会员卡id', before_level_name varchar(255) default '' not null comment '变更前会员卡名称', before_level_type int default 0 not null comment '变更前会员卡类型 0免费卡 1付费卡', before_expire_time int default 0 not null comment '变更前会员卡过期时间 0永久', after_level_id int default 0 not null comment '变更后会员卡id', after_level_name varchar(255) default '' not null comment '变更后会员卡名称', after_level_type int default 0 not null comment '变更后会员卡类型 0免费卡 1付费卡', prev_id int default 0 not null comment '本次变更前该会员最新变更记录id', change_time int default 0 not null comment '变更时间', action_uid int default 0 not null comment '操作人id', action_type varchar(255) default '' not null comment '操作人类型 user后台用户 member会员自身', action_name varchar(255) default '' not null comment '操作人昵称', action_desc varchar(2500) default '' not null comment '操作描述', change_type varchar(255) default '' not null comment '变更方式', change_type_name varchar(255) default '' not null comment '变更方式名称' ) comment '会员等级变更记录表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_log ( id int(11) unsigned auto_increment primary key, member_id int default 0 not null comment '会员id', action varchar(255) default '' not null comment '操作行为插件', action_name varchar(255) default '' not null comment '操作行为名称', create_time int default 0 not null comment '创建时间', remark varchar(1000) default '' not null comment '备注' ) comment '会员操作日志表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_recharge ( recharge_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '店铺ID', site_name varchar(50) default '' not null comment '店铺名称', recharge_name varchar(255) default '' not null comment '套餐名称', cover_img varchar(255) default '' not null comment '封面', face_value decimal(10, 2) default 0.00 not null comment '面值', buy_price decimal(10, 2) default 0.00 not null comment '购买金额', point int default 0 not null comment '积分', growth int default 0 not null comment '成长值', coupon_id varchar(255) default '0' not null comment '优惠券ID', sale_num int default 0 not null comment '发放数量', create_time int default 0 not null comment '创建时间', update_time int default 0 not null comment '修改时间', status tinyint default 0 not null comment '状态(1正常 2关闭)' ) comment '会员充值套餐' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_recharge_card ( card_id int(11) unsigned auto_increment primary key, recharge_id int default 0 not null comment '套餐ID', site_id int default 0 not null comment '店铺ID', site_name varchar(50) default '' not null comment '店铺名称', card_account varchar(255) default '' not null comment '充值卡号', recharge_name varchar(255) default '' not null comment '套餐名称', cover_img varchar(255) default '' not null comment '封面', face_value decimal(11, 2) unsigned default 0.00 not null comment '面值', point int default 0 not null comment '积分', growth int default 0 not null comment '成长值', coupon_id varchar(255) default '' not null comment '优惠券ID', buy_price decimal(10, 2) default 0.00 not null comment '购买金额', member_id int default 0 not null comment '会员ID', member_img varchar(255) default '' not null comment '会员头像', nickname varchar(255) default '' not null comment '会员昵称', order_id int default 0 not null comment '订单ID', order_no varchar(255) default '' not null comment '订单编号', from_type tinyint default 0 not null comment '获取来源', use_status tinyint default 1 not null comment '使用状态(1未使用 2已使用)', create_time int default 0 not null comment '创建时间', use_time int default 0 not null comment '使用时间' ) comment '充值卡' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_recharge_order ( order_id int(11) unsigned auto_increment primary key, recharge_id int default 0 not null comment '套餐ID', site_id int default 0 not null comment '店铺ID', site_name varchar(50) default '' not null comment '店铺名称', order_no varchar(255) default '' not null comment '订单编号', out_trade_no varchar(255) default '' not null comment '订单流水号', recharge_name varchar(255) default '' not null comment '套餐名称', cover_img varchar(255) default '' not null comment '封面', face_value decimal(10, 2) default 0.00 not null comment '面值', buy_price decimal(10, 2) default 0.00 not null comment '价格', point int default 0 not null comment '积分', growth int default 0 not null comment '成长值', coupon_id varchar(255) default '0' not null comment '优惠券ID', price decimal(10, 2) default 0.00 not null comment '实付金额', pay_type varchar(20) default '' not null comment '支付方式', pay_type_name varchar(255) default '' not null comment '支付方式名称', status varchar(255) default '1' not null comment '支付状态(1未支付 2已支付)', create_time int default 0 not null comment '创建时间', pay_time int default 0 not null comment '支付时间', member_id int default 0 not null comment '用户ID', member_img varchar(255) default '' not null comment '用户头像', nickname varchar(255) default '' not null comment '用户昵称', order_from varchar(50) default '' not null comment '订单来源', order_from_name varchar(255) default '' not null comment '订单来源名称', store_id int default 0 not null comment '门店id', relate_id int default 0 not null comment '业务id', relate_type varchar(255) default '' not null comment '业务类型' ) comment '充值卡订单' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_recommend ( recommend_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点ID', recommend_name varchar(255) default '' not null comment '活动名称', start_time int default 0 not null comment '邀请奖励 开始时间', end_time int default 0 not null comment '邀请奖励 结束时间', create_time int default 0 not null comment '创建时间', update_time int default 0 not null comment '修改时间', status int default 0 not null comment '状态(0未开始1进行中2已结束-1已关闭)', point int default 0 not null comment '积分', balance decimal(10, 2) default 0.00 not null comment '余额', coupon varchar(255) default '' not null comment '优惠券ID 以逗号隔开', max_point decimal(10, 2) default 0.00 not null comment '每月最多积分', max_balance decimal(10, 2) default 0.00 not null comment '每月最多余额', max_coupon int default 0 not null comment '每月最多优惠券数量', remark varchar(255) default '' not null comment '备注', type varchar(255) default '' not null comment '奖励方式', max_fetch int(11) unsigned default 0 null comment '每人邀请奖励上限 0为不限制' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_recommend_award ( award_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点ID', recommend_id int default 0 not null comment '奖励活动ID', recommend_name varchar(255) default '' not null comment '奖励活动名称', member_id int default 0 not null comment '奖励人ID', member_nickname varchar(255) default '' not null comment '奖励人昵称', source_member int default 0 not null comment '被邀请人ID', source_member_nickname varchar(255) default '' not null comment '被邀请人昵称', create_time int default 0 not null comment '创建时间', remark varchar(255) default '' not null comment '备注', point decimal(10, 2) default 0.00 not null comment '赠送积分', balance decimal(10, 2) default 0.00 not null comment '赠送的余额', coupon varchar(255) default '' not null comment '优惠券ID', coupon_num int default 0 not null comment '已发放优惠券数量' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_member_withdraw ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', withdraw_no varchar(50) default '' not null comment '提现交易号', member_name varchar(50) default '' not null comment '会员姓名', member_id int default 0 not null comment '会员id', transfer_type varchar(20) default '' not null comment '转账提现类型', realname varchar(50) default '' not null comment '真实姓名', apply_money decimal(10, 2) default 0.00 not null comment '提现申请金额', rate decimal(10, 2) default 0.00 not null comment '提现手续费比率', service_money decimal(10, 2) default 0.00 not null comment '提现手续费', money decimal(10, 2) default 0.00 not null comment '提现到账金额', apply_time int default 0 not null comment '申请时间', audit_time int default 0 not null comment '审核时间', payment_time int default 0 not null comment '转账时间', status int default 0 not null comment '状态0待审核1.待转账2已转账 -1拒绝 -2转账失败', memo varchar(100) default '' not null comment '备注', refuse_reason varchar(100) default '' not null comment '拒绝理由', member_headimg varchar(255) default '' not null, status_name varchar(20) default '' not null comment '提现状态名称', transfer_type_name varchar(20) default '' not null comment '转账方式名称', bank_name varchar(255) default '' not null comment '银行名称', account_number varchar(255) default '' not null comment '收款账号', mobile varchar(255) default '' not null comment '手机号', certificate varchar(255) default '' not null comment '凭证', certificate_remark varchar(255) default '' not null comment '凭证说明', account_name varchar(50) default '' not null comment '账号', applet_type int default 0 not null, fail_reason varchar(255) default '' not null comment '失败原因' ) comment '会员提现表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_menu ( id int(11) unsigned auto_increment comment '菜单ID' primary key, app_module varchar(255) default 'admin' not null comment '应用模块', addon varchar(255) default '' not null comment '所属插件', title varchar(50) default '' not null comment '菜单标题', name varchar(50) default '' not null comment '菜单关键字', parent varchar(255) default '' not null comment '上级菜单', level int default 1 not null comment '深度等级', url varchar(255) default '' not null comment '链接地址', is_show tinyint default 0 not null comment '是否展示', sort int default 0 not null comment '排序(同级有效)', `desc` varchar(255) default '' not null comment '描述', is_icon tinyint default 0 not null comment '是否是矢量菜单图', picture varchar(255) default '' not null comment '图片(矢量图)', picture_select varchar(255) default '' not null comment '图片(矢量图)(选中)', is_control tinyint default 1 not null comment '是否控制权限' ) comment '菜单表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_menu_app_module on lucky_menu (app_module); create index IDX_ns_menu_is_control on lucky_menu (is_control); create index IDX_ns_menu_is_show on lucky_menu (is_show); create index IDX_ns_menu_level on lucky_menu (level); create index IDX_ns_menu_name on lucky_menu (name); create index IDX_ns_menu_parent on lucky_menu (parent); create index IDX_ns_menu_url on lucky_menu (url); -- 菜单数据 insert into lucky_menu (id, app_module, addon, title, name, parent, level, url, is_show, sort, `desc`, is_icon, picture, picture_select, is_control) values (1, 'shop', '', '首页', 'INDEX_ROOT', '', 1, 'shop/index/index', 1, 1, '', 0, 'icon-zuocedaohang-shouye1', '', 1), (2, 'shop', '', '店铺', 'SHOP_ROOT', '', 1, 'shop/diy/lists', 1, 2, '', 0, 'icon-zuocedaohang-dianpu', '', 1), (3, 'shop', '', '商城装修', 'SHOP_DIY', 'SHOP_ROOT', 2, 'shop/diy/index', 1, 2, '', 0, 'app/shop/view/public/img/icon_new/diy_wap_new.png', 'app/shop/view/public/img/icon_new/diy_wap_select.png', 1), (4, 'shop', '', '商城首页', 'SHOP_DIY_MANAGEMENT', 'SHOP_DIY', 3, 'shop/diy/index', 0, 1, '', 0, '', '', 1), (5, 'shop', '', '主页装修', 'SHOP_DIY_INDEX', 'SHOP_DIY_MANAGEMENT', 4, 'shop/diy/index', 0, 100, '', 0, '', '', 1), (6, 'shop', '', '分类页面', 'SHOP_DIY_GOODS_CATEGORY', 'SHOP_DIY', 3, 'shop/diy/goodscategory', 0, 2, '', 0, '', '', 1), (7, 'shop', '', '会员中心', 'SHOP_DIY_MEMBER_INDEX', 'SHOP_DIY', 3, 'shop/diy/memberindex', 0, 3, '', 0, '', '', 1), (8, 'shop', '', '商品详情', 'SHOP_DIY_GOODS_DETAIL_CONFIG', 'SHOP_DIY', 3, 'shop/goods/goodsdetailconfig', 0, 4, '', 0, '', '', 1), (9, 'shop', '', '活动专区', 'SHOP_DIY_PROMOTION_ZONE_CONFIG', 'SHOP_DIY', 3, 'shop/promotion/zoneconfig', 0, 5, '', 0, '', '', 1), (10, 'shop', '', '页面管理', 'SHOP_DIY_LISTS', 'SHOP_DIY', 3, 'shop/diy/lists', 1, 6, '', 0, '', '', 1), (11, 'shop', '', '编辑自定义页面', 'SHOP_DIY_EDIT', 'SHOP_DIY_LISTS', 4, 'shop/diy/edit', 0, 100, '', 0, '', '', 1), (12, 'shop', '', '删除自定义页面', 'SHOP_DIY_DELETE', 'SHOP_DIY_LISTS', 4, 'shop/diy/deleteSiteDiyView', 0, 100, '', 0, '', '', 1), (13, 'shop', '', '设为使用', 'SHOP_DIY_SET_USE', 'SHOP_DIY_LISTS', 4, 'shop/diy/setUse', 0, 100, '', 0, '', '', 1), (15, 'shop', '', '菜单管理', 'SHOP_DIY_BOTTOM_NAV', 'SHOP_DIY', 3, 'shop/diy/bottomnavdesign', 1, 8, '', 0, '', '', 1), (18, 'shop', '', '模板编辑', 'SHOP_STYLE_TEMPLATE_EDIT', 'SHOP_STYLE_TEMPLATE', 4, 'shop/diy/create', 0, 100, '', 0, '', '', 1), (24, 'shop', '', '更改状态', 'MOBILE_ADV_POSITION_STATE_ALTER', 'MOBILE_ADV_POSITION', 5, 'shop/adv/alteradvpositionstate', 0, 100, '', 0, '', '', 1), (33, 'shop', '', '店铺帮助', 'WEBSITE_HELP_MANAGE', 'WEBSITE_CONFIG', 3, 'shop/help/helplist', 0, 1, '', 0, '', '', 1), (34, 'shop', '', '帮助列表', 'WEBSITE_HELP', 'WEBSITE_HELP_MANAGE', 4, 'shop/help/helplist', 1, 1, '', 0, '', '', 1), (35, 'shop', '', '添加帮助', 'WEBSITE_HELP_ADD', 'WEBSITE_HELP', 5, 'shop/help/addhelp', 0, 100, '', 0, '', '', 1), (36, 'shop', '', '编辑帮助', 'WEBSITE_HELP_EDIT', 'WEBSITE_HELP', 5, 'shop/help/edithelp', 0, 100, '', 0, '', '', 1), (37, 'shop', '', '删除帮助', 'WEBSITE_HELP_DELETE', 'WEBSITE_HELP', 5, 'shop/help/deletehelp', 0, 100, '', 0, '', '', 1), (38, 'shop', '', '帮助排序', 'WEBSITE_HELP_MODIFY_SORT', 'WEBSITE_HELP', 5, 'shop/help/modifySort', 0, 100, '', 0, '', '', 1), (39, 'shop', '', '帮助分类', 'WEBSITE_HELP_CLASS', 'WEBSITE_HELP_MANAGE', 4, 'shop/help/classlist', 1, 2, '', 0, '', '', 1), (40, 'shop', '', '添加分类', 'WEBSITE_HELP_CLASS_ADD', 'WEBSITE_HELP_CLASS', 5, 'shop/help/addclass', 0, 100, '', 0, '', '', 1), (41, 'shop', '', '编辑分类', 'WEBSITE_HELP_CLASS_EDIT', 'WEBSITE_HELP_CLASS', 5, 'shop/help/editclass', 0, 100, '', 0, '', '', 1), (42, 'shop', '', '删除分类', 'WEBSITE_HELP_CLASS_DELETE', 'WEBSITE_HELP_CLASS', 5, 'shop/help/deleteclass', 0, 100, '', 0, '', '', 1), (43, 'shop', '', '分类排序', 'WEBSITE_HELP_CLASS_MODIFY_SORT', 'WEBSITE_HELP_CLASS', 5, 'shop/help/modifyClassSort', 0, 100, '', 0, '', '', 1), (44, 'shop', '', '公告管理', 'WEBSITE_NOTICE', 'CONFIG_BASE', 3, 'shop/notice/index', 1, 10, '', 0, '', '', 1), (45, 'shop', '', '添加公告', 'WEBSITE_NOTICE_ADD', 'WEBSITE_NOTICE', 4, 'shop/notice/addnotice', 0, 100, '', 0, '', '', 1), (46, 'shop', '', '编辑公告', 'WEBSITE_NOTICE_EDIT', 'WEBSITE_NOTICE', 4, 'shop/notice/editnotice', 0, 100, '', 0, '', '', 1), (47, 'shop', '', '删除公告', 'WEBSITE_NOTICE_DELETE', 'WEBSITE_NOTICE', 4, 'shop/notice/deletenotice', 0, 100, '', 0, '', '', 1), (48, 'shop', '', '公告置顶', 'WEBSITE_NOTICE_TOP', 'WEBSITE_NOTICE', 4, 'shop/notice/modifynoticetop', 0, 100, '', 0, '', '', 1), (49, 'shop', '', '公告详情', 'WEBSITE_NOTICE_DETAIL', 'WEBSITE_NOTICE', 4, 'shop/notice/detail', 0, 100, '', 0, '', '', 1), (50, 'shop', '', '图片管理', 'ALBUM_MANAGE', 'CONFIG_BASE', 3, 'shop/album/lists', 1, 100, '', 0, 'app/shop/view/public/img/icon_new/picture_new.png', 'app/shop/view/public/img/icon_new/picture_select.png', 1), (51, 'shop', '', '添加图片分组', 'ALBUM_ADD', 'ALBUM_MANAGE', 4, 'shop/album/addalbum', 0, 1, '', 0, '', '', 1), (52, 'shop', '', '编辑图片分组', 'ALBUM_EDIT', 'ALBUM_MANAGE', 4, 'shop/album/editalbum', 0, 2, '', 0, '', '', 1), (53, 'shop', '', '删除图片分组', 'ALBUM_DELETE', 'ALBUM_MANAGE', 4, 'shop/album/deletealbum', 0, 3, '', 0, '', '', 1), (54, 'shop', '', '编辑文件名称', 'ALBUM_PIC_MODIFY_PICNAME', 'ALBUM_MANAGE', 4, 'shop/album/modifypicname', 0, 4, '', 0, '', '', 1), (55, 'shop', '', '修改文件分组', 'ALBUM_PIC_MODIFY_ALBUM', 'ALBUM_MANAGE', 4, 'shop/album/modifyfilealbum', 0, 5, '', 0, '', '', 1), (56, 'shop', '', '删除文件', 'ALBUM_PIC_DELETE', 'ALBUM_MANAGE', 4, 'shop/album/deletefile', 0, 6, '', 0, '', '', 1), (57, 'shop', '', '素材', 'ALBUM_BOX', 'ALBUM_MANAGE', 4, 'shop/album/album', 0, 7, '', 0, '', '', 1), (58, 'shop', '', '文章管理', 'ARTICLE_MANAGE', 'SHOP_ROOT', 2, 'shop/article/lists', 1, 3, '', 0, '', '', 1), (59, 'shop', '', '文章列表', 'ARTICLE_LIST', 'ARTICLE_MANAGE', 3, 'shop/article/lists', 1, 1, '', 0, '', '', 1), (60, 'shop', '', '添加文章', 'ARTICLE_ADD', 'ARTICLE_LIST', 5, 'shop/article/add', 0, 1, '', 0, '', '', 1), (61, 'shop', '', '编辑文章', 'ARTICLE_EDIT', 'ARTICLE_LIST', 5, 'shop/article/edit', 0, 2, '', 0, '', '', 1), (62, 'shop', '', '删除文章', 'ARTICLE_DELETE', 'ARTICLE_LIST', 5, 'shop/article/delete', 0, 3, '', 0, '', '', 1), (63, 'shop', '', '文章排序', 'ARTICLE_SORT', 'ARTICLE_LIST', 5, 'shop/article/modifysort', 0, 4, '', 0, '', '', 1), (64, 'shop', '', '草稿箱', 'ARTICLE_DRAFTS_LIST', 'ARTICLE_MANAGE', 3, 'shop/article/drafts', 0, 2, '', 0, '', '', 1), (65, 'shop', '', '文章分类', 'ARTICLE_CATEGORY_LIST', 'ARTICLE_MANAGE', 3, 'shop/articlecategory/lists', 1, 3, '', 0, '', '', 1), (66, 'shop', '', '商品', 'GOODS_ROOT', '', 1, 'shop/goods/insale', 1, 4, '', 0, 'icon-zuocedaohang-shangpin', '', 1), (67, 'shop', '', '商品管理', 'GOODS_MANAGE', 'GOODS_ROOT', 2, 'shop/goods/insale', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/goods_list_new.png', 'app/shop/view/public/img/icon_new/goods_list_select.png', 1), (69, 'shop', '', '添加商品', 'PHYSICAL_GOODS_ADD', 'GOODS_MANAGE', 4, 'shop/goods/addgoods', 0, 1, '', 0, '', '', 1), (70, 'shop', '', '编辑商品', 'PHYSICAL_GOODS_EDIT', 'GOODS_MANAGE', 4, 'shop/goods/editgoods', 0, 2, '', 0, '', '', 1), (73, 'shop', '', '商品下架', 'GOODS_OFF', 'GOODS_LIST', 4, 'shop/goods/offgoods', 0, 5, '', 0, '', '', 1), (74, 'shop', '', '商品上架', 'GOODS_ON', 'GOODS_LIST', 4, 'shop/goods/ongoods', 0, 6, '', 0, '', '', 1), (75, 'shop', '', '商品删除', 'GOODS_DELETE', 'GOODS_LIST', 4, 'shop/goods/deletegoods', 0, 7, '', 0, '', '', 1), (76, 'shop', '', '编辑商品库存', 'GOODS_EDIT_STOCK', 'GOODS_LIST', 4, 'shop/goods/editGoodsStock', 0, 8, '', 0, '', '', 1), (77, 'shop', '', '复制商品', 'GOODS_COPY', 'GOODS_LIST', 4, 'shop/goods/copyGoods', 0, 9, '', 0, '', '', 1), (78, 'shop', '', '商品排序', 'GOODS_MODIFY_SORT', 'GOODS_LIST', 4, 'shop/goods/modifySort', 0, 10, '', 0, '', '', 1), (79, 'shop', '', '浏览记录', 'GOODS_BROWSE', 'GOODS_LIST', 4, 'shop/goods/goodsbrowse', 0, 11, '', 0, '', '', 1), (80, 'shop', '', '批量设置', 'GOODS_MODIFY_BATCHSET', 'GOODS_LIST', 4, 'shop/goods/batchset', 0, 12, '', 0, '', '', 1), (81, 'shop', '', '商品核销', 'GOODS_VERIFY_LIST', 'GOODS_LIST', 4, 'shop/goods/verify', 0, 15, '', 0, '', '', 1), (82, 'shop', '', '商品导出记录', 'GOODS_EXPORT_LIST', 'GOODS_LIST', 4, 'shop/goods/export', 0, 16, '', 0, '', '', 1), (83, 'shop', '', '商品分类', 'GOODS_CATEGORY', 'GOODS_MANAGE', 3, 'shop/goodscategory/lists', 1, 2, '', 0, 'app/shop/view/public/img/icon_new/category_new.png', 'app/shop/view/public/img/icon_new/category_select.png', 1), (84, 'shop', '', '商品分类添加', 'GOODS_CATEGORY_ADD', 'GOODS_CATEGORY', 4, 'shop/goodscategory/addcategory', 0, 100, '', 0, '', '', 1), (85, 'shop', '', '商品分类编辑', 'GOODS_CATEGORY_EDIT', 'GOODS_CATEGORY', 4, 'shop/goodscategory/editcategory', 0, 100, '', 0, '', '', 1), (86, 'shop', '', '商品分类删除', 'GOODS_CATEGORY_DELETE', 'GOODS_CATEGORY', 4, 'shop/goodscategory/deletecategory', 0, 100, '', 0, '', '', 1), (87, 'shop', '', '商品分类排序', 'GOODS_CATEGORY_MODIFY_SORT', 'GOODS_CATEGORY', 4, 'shop/goodscategory/modifySort', 0, 100, '', 0, '', '', 1), (92, 'shop', '', '标签管理', 'GOODS_LABEL', 'GOODS_MANAGE', 3, 'shop/goodslabel/lists', 1, 4, '', 0, 'app/shop/view/public/img/icon_new/goods_label_new.png', 'app/shop/view/public/img/icon_new/goods_label_select.png', 1), (93, 'shop', '', '添加标签', 'GOODS_LABEL_ADD', 'GOODS_LABEL', 4, 'shop/goodslabel/add', 0, 100, '', 0, '', '', 1), (94, 'shop', '', '编辑标签', 'GOODS_LABEL_EDIT', 'GOODS_LABEL', 4, 'shop/goodslabel/edit', 0, 100, '', 0, '', '', 1), (95, 'shop', '', '标签删除', 'GOODS_LABEL_DEL', 'GOODS_LABEL', 4, 'shop/goodslabel/delete', 0, 100, '', 0, '', '', 1), (96, 'shop', '', '标签排序', 'GOODS_LABEL_MODIFY_SORT', 'GOODS_LABEL', 4, 'shop/goodslabel/modifySort', 0, 100, '', 0, '', '', 1), (97, 'shop', '', '商品参数', 'GOODS_ATTR', 'GOODS_MANAGE', 3, 'shop/goodsattr/lists', 1, 5, '', 0, 'app/shop/view/public/img/icon_new/goods_property_new.png', 'app/shop/view/public/img/icon_new/goods_property_select.png', 1), (98, 'shop', '', '添加参数类型', 'GOODS_ATTR_ADD', 'GOODS_ATTR', 4, 'shop/goodsattr/addAttr', 0, 100, '', 0, '', '', 1), (99, 'shop', '', '编辑参数类型', 'GOODS_ATTR_EDIT', 'GOODS_ATTR', 4, 'shop/goodsattr/editattr', 0, 100, '', 0, '', '', 1), (100, 'shop', '', '删除参数类型', 'GOODS_ATTR_DEL', 'GOODS_ATTR', 4, 'shop/goodsattr/deleteattr', 0, 100, '', 0, '', '', 1), (101, 'shop', '', '参数类型排序', 'GOODS_ATTR_MODIFY_SORT', 'GOODS_ATTR', 4, 'shop/goodsattr/modifySort', 0, 100, '', 0, '', '', 1), (102, 'shop', '', '添加参数', 'GOODS_ATTR_ATTRIBUTE_ADD', 'GOODS_ATTR', 4, 'shop/goodsattr/addattribute', 0, 100, '', 0, '', '', 1), (103, 'shop', '', '编辑参数', 'GOODS_ATTR_ATTRIBUTE_EDIT', 'GOODS_ATTR', 4, 'shop/goodsattr/editAttribute', 0, 100, '', 0, '', '', 1), (104, 'shop', '', '删除参数', 'GOODS_ATTR_ATTRIBUTE_DELETE', 'GOODS_ATTR', 4, 'shop/goodsattr/deleteAttribute', 0, 100, '', 0, '', '', 1), (105, 'shop', '', '添加参数值', 'GOODS_ATTR_ATTRIBUTE_VALUE_ADD', 'GOODS_ATTR', 4, 'shop/goodsattr/addAttributeValue', 0, 100, '', 0, '', '', 1), (106, 'shop', '', '编辑参数值', 'GOODS_ATTR_ATTRIBUTE_VALUE_EDIT', 'GOODS_ATTR', 4, 'shop/goodsattr/editAttributeValue', 0, 100, '', 0, '', '', 1), (107, 'shop', '', '删除参数值', 'GOODS_ATTR_ATTRIBUTE_VALUE_DELETE', 'GOODS_ATTR', 4, 'shop/goodsattr/deleteAttributeValue', 0, 100, '', 0, '', '', 1), (108, 'shop', '', '参数排序', 'GOODS_ATTR_ATTRIBUTE_VALUE_MODIFY_SORT', 'GOODS_ATTR', 4, 'shop/goodsattr/modifyAttributeSort', 0, 100, '', 0, '', '', 1), (109, 'shop', '', '商品服务', 'GOODS_SERVICE', 'GOODS_MANAGE', 3, 'shop/goodsservice/lists', 1, 6, '', 0, 'app/shop/view/public/img/icon_new/goods_serve_new.png', 'app/shop/view/public/img/icon_new/goods_serve_select.png', 1), (110, 'shop', '', '添加商品服务', 'GOODS_SERVICE_ADD', 'GOODS_SERVICE', 4, 'shop/goodsservice/add', 0, 100, '', 0, '', '', 1), (111, 'shop', '', '编辑商品服务', 'GOODS_SERVICE_EDIT', 'GOODS_SERVICE', 4, 'shop/goodsservice/edit', 0, 100, '', 0, '', '', 1), (112, 'shop', '', '商品服务删除', 'GOODS_SERVICE_DEL', 'GOODS_SERVICE', 4, 'shop/goodsservice/delete', 0, 100, '', 0, '', '', 1), (113, 'shop', '', '回收站', 'PHYSICAL_GOODS_RECYCLE', 'GOODS_MANAGE', 3, 'shop/goods/recycle', 1, 11, '', 0, 'app/shop/view/public/img/icon_new/recycle_new.png', 'app/shop/view/public/img/icon_new/recycle_select.png', 1), (114, 'shop', '', '回收站删除', 'PHYSICAL_GOODS_RECYCLE_DELETE', 'PHYSICAL_GOODS_RECYCLE', 4, 'shop/goods/deleteRecycleGoods', 0, 1, '', 0, '', '', 1), (115, 'shop', '', '回收站恢复', 'PHYSICAL_GOODS_RECYCLE_RECOVERY', 'PHYSICAL_GOODS_RECYCLE', 4, 'shop/goods/recoveryrecycle', 0, 2, '', 0, '', '', 1), (116, 'shop', '', '商品工具', 'GOODS_TOOL', 'GOODS_ROOT', 2, 'shop/goods/import', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/goods_list_new.png', 'app/shop/view/public/img/icon_new/goods_list_select.png', 1), (117, 'shop', '', '商品导入', 'PHYSICAL_GOODS_IMPORT', 'GOODS_TOOL', 3, 'shop/goods/import', 1, 1, '', 0, '', '', 1), (118, 'shop', '', '商品导入历史', 'PHYSICAL_GOODS_IMPORT_RECORD_LIST', 'PHYSICAL_GOODS_IMPORT', 4, 'shop/goods/importRecordList', 0, 14, '', 0, '', '', 1), (119, 'shop', '', '订单', 'ORDER_ROOT', '', 1, 'shop/order/send', 1, 5, '', 0, 'icon-zuocedaohang-dingdan', '', 1), (120, 'shop', '', '订单管理', 'ORDER_MANAGE', 'ORDER_ROOT', 2, 'shop/order/send', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/order_management_new.png', 'app/shop/view/public/img/icon_new/order_management_select.png', 1), (122, 'shop', '', '订单详情', 'EXPRESS_ORDER_DETAIL', 'ORDER_MANAGE', 4, 'shop/order/detail', 0, 1, '', 0, '', '', 1), (123, 'shop', '', '订单导出记录', 'ORDER_EXPORT_LIST', 'ORDER_MANAGE', 4, 'shop/order/export', 0, 1, '', 0, '', '', 1), (124, 'shop', '', '订单关闭', 'EXPRESS_ORDER_CLOSE', 'ORDER_MANAGE', 4, 'shop/order/close', 0, 1, '', 0, '', '', 1), (125, 'shop', '', '订单调价', 'EXPRESS_ORDER_ADJUST_PRICE', 'ORDER_MANAGE', 4, 'shop/order/adjustprice', 0, 1, '', 0, '', '', 1), (126, 'shop', '', '订单备注', 'ORDER_REMARK', 'ORDER_MANAGE', 4, 'shop/order/orderRemark', 0, 1, '', 0, '', '', 1), (127, 'shop', '', '订单删除', 'ORDER_DELETE', 'ORDER_MANAGE', 4, 'shop/order/delete', 0, 1, '', 0, '', '', 1), (128, 'shop', '', '订单修改收货地址', 'EXPRESS_ORDER_EDIT_ADDRESS', 'ORDER_MANAGE', 4, 'shop/order/editaddress', 0, 1, '', 0, '', '', 1), (129, 'shop', '', '外卖订单详情', 'LOCAL_ORDER_DETAIL', 'ORDER_MANAGE', 4, 'shop/localorder/detail', 0, 1, '', 0, '', '', 1), (130, 'shop', '', '外卖订单发货', 'LOCAL_ORDER_DELIVER', 'ORDER_MANAGE', 4, 'shop/localorder/delivery', 0, 1, '', 0, '', '', 1), (131, 'shop', '', '自提订单详情', 'STORE_ORDER_DETAIL', 'ORDER_MANAGE', 4, 'shop/storeorder/detail', 0, 1, '', 0, '', '', 1), (132, 'shop', '', '虚拟订单详情', 'VIRTUAL_ORDER_DETAIL', 'ORDER_MANAGE', 4, 'shop/virtualorder/detail', 0, 1, '', 0, '', '', 1), (133, 'shop', '', '确认收货', 'ORDER_TAKE_DELIVERY', 'ORDER_MANAGE', 4, 'shop/order/takeDelivery', 0, 1, '', 0, '', '', 1), (134, 'shop', '', '发货', 'ORDER_DELIVERY', 'ORDER_MANAGE', 4, 'shop/order/delivery', 0, 1, '', 0, '', '', 1), (135, 'shop', '', '批量发货', 'ORDER_BATCH_DELIVERY', 'ORDER_MANAGE', 4, 'shop/delivery/batchdelivery', 0, 1, '', 0, '', '', 1), (136, 'shop', '', '退款维权', 'ORDER_REFUND_LIST', 'ORDER_ACTION', 3, 'shop/orderrefund/lists', 1, 20, '', 0, 'app/shop/view/public/img/icon_new/refund_new.png', 'app/shop/view/public/img/icon_new/refund_select.png', 1), (137, 'shop', '', '维权详情', 'ORDER_REFUND_DETAIL', 'ORDER_REFUND_LIST', 4, 'shop/orderrefund/detail', 0, 1, '', 0, '', '', 1), (138, 'shop', '', '维权拒绝', 'ORDER_REFUND_REFUSE', 'ORDER_REFUND_LIST', 4, 'shop/orderrefund/refuse', 0, 1, '', 0, '', '', 1), (139, 'shop', '', '维权同意', 'ORDER_REFUND_AGREE', 'ORDER_REFUND_LIST', 4, 'shop/orderrefund/agree', 0, 1, '', 0, '', '', 1), (140, 'shop', '', '维权收货', 'ORDER_REFUND_AGREE', 'ORDER_REFUND_LIST', 4, 'shop/orderrefund/receive', 0, 1, '', 0, '', '', 1), (141, 'shop', '', '维权通过', 'ORDER_REFUND_COMPLETE', 'ORDER_REFUND_LIST', 4, 'shop/orderrefund/complete', 0, 1, '', 0, '', '', 1), (142, 'shop', '', '订单维权导出记录', 'ORDER_REFUND_EXPORT_LIST', 'ORDER_REFUND_LIST', 4, 'shop/orderrefund/export', 0, 1, '', 0, '', '', 1), (143, 'shop', '', '关闭维权', 'ORDER_REFUND_CLOSE', 'ORDER_REFUND_LIST', 4, 'shop/orderrefund/close', 0, 1, '', 0, '', '', 1), (144, 'shop', '', '订单处理', 'ORDER_ACTION', 'ORDER_ROOT', 2, 'shop/order/pickuporder', 1, 2, '', 0, 'app/shop/view/public/img/icon/pickuporder.png', 'app/shop/view/public/img/icon/selectedpickuporder.png', 1), (146, 'shop', '', '订单发货', 'ORDER_DELIVERY_LIST', 'ORDER_ACTION', 3, 'shop/delivery/lists', 1, 2, '', 0, 'app/shop/view/public/img/icon_new/deliver_new.png', 'app/shop/view/public/img/icon_new/deliver_select.png', 1), (147, 'shop', '', '获取电子面单模板列表', 'ORDER_DELIVERY_EXPRESS_ELECTRONICSHEETLIST', 'ORDER_DELIVERY_LIST', 4, 'shop/delivery/getexpresselectronicsheetlist', 0, 1, '', 0, '', '', 1), (148, 'shop', '', '打印电子面单', 'ORDER_DELIVERY_EXPRESS_PRINT_ELECTRONICSHEET', 'ORDER_DELIVERY_LIST', 4, 'shop/delivery/printElectronicsheet', 0, 1, '', 0, '', '', 1), (149, 'shop', '', '修改订单物流信息', 'ORDER_DELIVERY_EDIT_ORDER_DELIVERY', 'ORDER_DELIVERY_LIST', 4, 'shop/delivery/editOrderDelivery', 0, 1, '', 0, '', '', 1), (150, 'shop', '', '批量发货', 'ORDER_IMPORT_FILE', 'ORDER_ACTION', 3, 'shop/orderimportfile/lists', 1, 3, '', 0, 'app/shop/view/public/img/icon_new/batch_deliver_new.png', 'app/shop/view/public/img/icon_new/batch_deliver_select.png', 1), (151, 'shop', '', '详情', 'ORDER_IMPORT_FILE_DETAIL', 'ORDER_IMPORT_FILE', 4, 'shop/orderimportfile/detail', 0, 1, '', 0, '', '', 1), (160, 'shop', '', '订单评价', 'GOODS_EVALUATE', 'ORDER_ACTION', 3, 'shop/goods/evaluate', 1, 7, '', 0, '', '', 1), (161, 'shop', '', '删除评价', 'GOODS_EVALUATE_DELETE', 'GOODS_EVALUATE', 4, 'shop/goods/deleteevaluate', 0, 1, '', 0, '', '', 1), (162, 'shop', '', '评价回复', 'GOODS_EVALUATE_APPLY', 'GOODS_EVALUATE', 4, 'shop/goods/evaluateapply', 0, 1, '', 0, '', '', 1), (163, 'shop', '', '删除评价回复', 'GOODS_EVALUATE_DELETE_CONTENT', 'GOODS_EVALUATE', 4, 'shop/goods/deleteContent', 0, 1, '', 0, '', '', 1), (164, 'shop', '', '评价审核', 'GOODS_EVALUATE_MODIFY_AUDIT', 'GOODS_EVALUATE', 4, 'shop/goods/modifyAuditEvaluate', 0, 1, '', 0, '', '', 1), (165, 'shop', '', '会员', 'MEMBER_ROOT', '', 1, 'shop/member/memberlist', 1, 4, '', 0, 'icon-zuocedaohang-huiyuan', '', 1), (168, 'shop', '', '会员列表', 'MEMBER_LIST', 'MEMBER_ROOT', 3, 'shop/member/memberlist', 1, 1, '', 0, '', '', 1), (169, 'shop', '', '会员添加', 'MEMBER_ADD', 'MEMBER_LIST', 4, 'shop/member/addmember', 0, 100, '', 0, '', '', 1), (170, 'shop', '', '基础信息', 'MEMBER_EDIT', 'MEMBER_LIST', 4, 'shop/member/editmember', 0, 1, '', 0, '', '', 1), (171, 'shop', '', '会员删除', 'MEMBER_DELETE', 'MEMBER_LIST', 4, 'shop/member/deletemember', 0, 100, '', 0, '', '', 1), (172, 'shop', '', '账户明细', 'MEMBER_ACCOUNT_DETAIL', 'MEMBER_LIST', 4, 'shop/member/accountdetail', 0, 2, '', 0, '', '', 1), (173, 'shop', '', '订单管理', 'MEMBER_ORDER', 'MEMBER_LIST', 4, 'shop/member/order', 0, 3, '', 0, '', '', 1), (174, 'shop', '', '会员地址', 'MEMBER_ADDRESS', 'MEMBER_LIST', 4, 'shop/member/addressdetail', 0, 4, '', 0, '', '', 1), (175, 'shop', '', '会员详情', 'MEMBER_DETAIL', 'MEMBER_LIST', 4, 'shop/member/memberdetail', 0, 100, '', 0, '', '', 1), (176, 'shop', '', '修改会员标签', 'MEMBER_LABEL_MODIFY', 'MEMBER_LIST', 4, 'shop/member/modifylabel', 0, 100, '', 0, '', '', 1), (177, 'shop', '', '修改会员状态', 'MEMBER_STATUS_MODIFY', 'MEMBER_LIST', 4, 'shop/member/modifystatus', 0, 100, '', 0, '', '', 1), (178, 'shop', '', '修改会员密码', 'MEMBER_PASSWORD_MODIFY', 'MEMBER_LIST', 4, 'shop/member/modifypassword', 0, 100, '', 0, '', '', 1), (179, 'shop', '', '余额调整(不可提现)', 'MEMBER_BALANCE_ADJUST', 'MEMBER_LIST', 4, 'shop/member/adjustbalance', 0, 100, '', 0, '', '', 1), (180, 'shop', '', '余额调整(可提现)', 'MEMBER_BALANCE_ADJUST_BALANCE_MONEY', 'MEMBER_LIST', 4, 'shop/member/adjustbalancemoney', 0, 100, '', 0, '', '', 1), (181, 'shop', '', '积分调整', 'MEMBER_POINT_ADJUST', 'MEMBER_LIST', 4, 'shop/member/adjustpoint', 0, 100, '', 0, '', '', 1), (183, 'shop', '', '收藏记录', 'MEMBER_COLLECT', 'MEMBER_LIST', 4, 'shop/goods/membergoodscollect', 0, 5, '', 0, '', '', 1), (184, 'shop', '', '浏览记录', 'MEMBER_BROWSE', 'MEMBER_LIST', 4, 'shop/goods/membergoodsbrowse', 0, 6, '', 0, '', '', 1), (187, 'shop', '', '标签组', 'MEMBER_LABEL', 'MEMBER_ROOT', 3, 'shop/memberlabel/labellist', 1, 10, '', 0, 'app/shop/view/public/img/icon_new/member_label_new.png', 'app/shop/view/public/img/icon_new/member_label_select.png', 1), (188, 'shop', '', '标签添加', 'MEMBER_LABEL_ADD', 'MEMBER_LABEL', 4, 'shop/memberlabel/addlabel', 0, 100, '', 0, '', '', 1), (189, 'shop', '', '标签修改', 'MEMBER_LABEL_EDIT', 'MEMBER_LABEL', 4, 'shop/memberlabel/editlabel', 0, 100, '', 0, '', '', 1), (190, 'shop', '', '标签删除', 'MEMBER_LABEL_DELETE', 'MEMBER_LABEL', 4, 'shop/memberlabel/deletelabel', 0, 100, '', 0, '', '', 1), (191, 'shop', '', '修改排序', 'MEMBER_LABEL_SORT_MODIFY', 'MEMBER_LABEL', 4, 'shop/memberlabel/modifysort', 0, 100, '', 0, '', '', 1), (197, 'shop', '', '发放红包', 'MEMBER_CLUSTER_BALANCE_ADJUST', 'MEMBER_CLUSTER_LIST', 5, 'shop/membercluster/sendbalance', 0, 100, '', 0, '', '', 1), (198, 'shop', '', '发放积分', 'MEMBER_CLUSTER_POINT_ADJUST', 'MEMBER_CLUSTER_LIST', 5, 'shop/membercluster/sendpoint', 0, 100, '', 0, '', '', 1), (199, 'shop', '', '发放优惠券', 'MEMBER_CLUSTER_COUPON_ADJUST', 'MEMBER_CLUSTER_LIST', 5, 'shop/membercluster/sendcoupon', 0, 100, '', 0, '', '', 1), (201, 'shop', '', '导出会员', 'MEMBER_CLUSTER_EXPORT_MEMBER', 'MEMBER_CLUSTER_LIST', 5, 'shop/membercluster/exportclustermember', 0, 100, '', 0, '', '', 1), (202, 'shop', '', '刷新信息', 'MEMBER_CLUSTER_REFRESH', 'MEMBER_CLUSTER_LIST', 5, 'shop/membercluster/refreshcluster', 0, 100, '', 0, '', '', 1), (204, 'shop', '', '会员等级', 'MEMBER_LEVEL', 'MEMBER_ROOT', 3, 'shop/memberlevel/levellist', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/member_class_new.png', 'app/shop/view/public/img/icon_new/member_class_select.png', 1), (205, 'shop', '', '会员等级添加', 'MEMBER_LEVEL_ADD', 'MEMBER_LEVEL', 4, 'shop/memberlevel/addlevel', 0, 100, '', 0, '', '', 1), (206, 'shop', '', '会员等级修改', 'MEMBER_LEVEL_EDIT', 'MEMBER_LEVEL', 4, 'shop/memberlevel/editlevel', 0, 100, '', 0, '', '', 1), (207, 'shop', '', '会员等级删除', 'MEMBER_LEVEL_DELETE', 'MEMBER_LEVEL', 4, 'shop/memberlevel/deletelevel', 0, 100, '', 0, '', '', 1), (210, 'shop', '', '余额明细', 'MEMBER_ACCOUNT_BALANCE_LIST', 'ACCOUNT_MANAGE', 3, 'shop/memberaccount/balance', 1, 2, '', 0, '', '', 1), (213, 'shop', '', '积分明细', 'MEMBER_ACCOUNT_POINT_LIST', 'ACCOUNT_MANAGE', 3, 'shop/memberaccount/point', 1, 2, '', 0, '', '', 1), (214, 'shop', '', '应用', 'PROMOTION_ROOT', '', 1, 'shop/promotion/tool', 1, 10, '', 0, 'icon-zuocedaohang-yingyong', '', 1), (218, 'shop', '', '应用中心', 'PROMOTION_TOOL', 'PROMOTION_ROOT', 2, 'shop/promotion/tool', 1, 4, '', 0, 'app/shop/view/public/img/icon_new/promotion_tool_new.png', 'app/shop/view/public/img/icon_new/promotion_tool_select.png', 1), (219, 'shop', '', '应用列表', 'TOOL_LIST', 'PROMOTION_TOOL', 3, 'shop/promotion/tool', 1, 0, '', 0, '', '', 0), (220, 'shop', '', '财务', 'ACCOUNT_ROOT', '', 1, 'memberrecharge://shop/memberrecharge/orderlists', 1, 8, '', 0, 'icon-zuocedaohang-caiwu', '', 1), (221, 'shop', '', '财务管理', 'ACCOUNT_MANAGE', 'ACCOUNT_ROOT', 2, 'memberrecharge://shop/memberrecharge/orderlists', 1, 8, '', 0, 'app/shop/view/public/img/menu_icon/icon9.png', '', 1), (224, 'shop', '', '发票编辑', 'INVOICE_EDIT', 'INVOICE_LIST', 4, 'shop/order/invoiceedit', 0, 1, '', 0, '', '', 1), (225, 'shop', '', '余额提现', 'MEMBER_WITHDRAW_LIST', 'ACCOUNT_MANAGE', 3, 'shop/memberwithdraw/lists', 1, 3, '', 0, 'app/shop/view/public/img/icon_new/member_withdraw_new.png', 'app/shop/view/public/img/icon_new/member_withdraw_select.png', 1), (226, 'shop', '', '提现详情', 'MEMBER_WITHDRAW_DETAIL', 'MEMBER_WITHDRAW_LIST', 4, 'shop/memberwithdraw/detail', 0, 100, '', 0, '', '', 1), (227, 'shop', '', '手动转账', 'MEMBER_WITHDRAW_TRANSFERFINISH', 'MEMBER_WITHDRAW_LIST', 4, 'shop/memberwithdraw/transferfinish', 0, 100, '', 0, '', '', 1), (228, 'shop', '', '同意转账', 'MEMBER_WITHDRAW_agree', 'MEMBER_WITHDRAW_LIST', 4, 'shop/memberwithdraw/agree', 0, 100, '', 0, '', '', 1), (229, 'shop', '', '拒绝转账', 'MEMBER_WITHDRAW_refuse', 'MEMBER_WITHDRAW_LIST', 4, 'shop/memberwithdraw/refuse', 0, 100, '', 0, '', '', 1), (230, 'shop', '', '在线转账', 'ONLINE_TRANSFER', 'MEMBER_WITHDRAW_LIST', 4, 'memberwithdraw://shop/withdraw/transfer', 0, 100, '', 0, '', '', 1), (231, 'shop', '', '数据', 'STAT_ROOT', '', 1, 'shop/stat/shop', 1, 9, '', 0, 'icon-zuocedaohang-shuju', '', 1), (232, 'shop', '', '营业数据', 'STAT_SHOP', 'STAT_ROOT', 2, 'shop/stat/shop', 1, 2, '', 0, 'app/shop/view/public/img/icon_new/stat_new.png', 'app/shop/view/public/img/icon_new/stat_select.png', 1), (233, 'shop', '', '交易分析', 'STAT_SHOP_INDEX', 'STAT_SHOP', 3, 'shop/stat/shop', 1, 2, '', 0, 'app/shop/view/public/img/icon_new/stat_new.png', 'app/shop/view/public/img/icon_new/stat_select.png', 1), (234, 'shop', '', '交易统计', 'STAT_ORDER', 'STAT_SHOP', 3, 'shop/stat/order', 0, 4, '', 0, 'app/shop/view/public/img/icon_new/stat_order_new.png', 'app/shop/view/public/img/icon_new/stat_order_select.png', 1), (235, 'shop', '', '会员统计', 'STAT_MEMBER', 'STAT_SHOP', 3, 'shop/stat/member', 1, 3, '', 0, '', '', 1), (236, 'shop', '', '流量数据', 'STAT_VISIT', 'STAT_SHOP', 3, 'shop/stat/visit', 0, 5, '', 0, 'app/shop/view/public/img/icon_new/stat_icon_new.png', 'app/shop/view/public/img/icon_new/stat_icon_select.png', 1), (237, 'shop', '', '商品统计', 'STAT_GOODS', 'STAT_SHOP', 3, 'shop/stat/goods', 1, 6, '', 0, '', '', 1), (238, 'shop', '', '设置', 'CONFIG_ROOT', '', 1, 'shop/shop/config', 1, 11, '', 0, 'icon-zuocedaohang-yingxiao', '', 1), (239, 'shop', '', '商城设置', 'CONFIG_BASE', 'CONFIG_ROOT', 2, 'shop/shop/config', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/shop_config_new.png', 'app/shop/view/public/img/icon_new/shop_config_select.png', 1), (240, 'shop', '', '基础设置', 'SHOP_CONFIG', 'CONFIG_BASE', 3, 'shop/shop/config', 1, 1, '', 0, '', '', 1), (242, 'shop', '', '联系我们', 'SHOP_CONTACT', 'CONFIG_BASE', 3, 'shop/shop/contact', 1, 10, '', 0, '', '', 1), (243, 'shop', '', '退货地址', 'SITE_ADDRESS', 'ADDRESS_ROOT', 3, 'shop/siteaddress/siteaddress', 1, 4, '', 0, '', '', 1), (244, 'shop', '', '添加地址', 'SITE_ADDRESS_ADD', 'SITE_ADDRESS', 4, 'shop/siteaddress/addsiteaddress', 0, 100, '', 0, '', '', 1), (245, 'shop', '', '编辑地址', 'SITE_ADDRESS_EDIT', 'SITE_ADDRESS', 4, 'shop/siteaddress/editsiteaddress', 0, 100, '', 0, '', '', 1), (246, 'shop', '', '删除地址', 'SITE_ADDRESS_DELETE', 'SITE_ADDRESS', 5, 'shop/siteaddress/deletesiteaddress', 0, 100, '', 0, '', '', 1), (247, 'shop', '', '地区管理', 'ADDRESS_MANAGE', 'SHOP_CONFIG', 4, 'shop/address/manage', 0, 5, '', 0, '', '', 1), (248, 'shop', '', '操作员管理', 'USER_AUTH', 'AUTH_ROOT', 3, 'shop/user/user', 1, 3, '', 0, 'app/shop/view/public/img/icon/account.png', 'app/shop/view/public/img/icon/account.png', 1), (250, 'shop', '', '添加操作员', 'USER_ADD', 'USER_LIST', 5, 'shop/user/adduser', 0, 1, '', 0, '', '', 1), (251, 'shop', '', '操作员编辑', 'USER_EDIT', 'USER_LIST', 5, 'shop/user/edituser', 0, 1, '', 0, '', '', 1), (252, 'shop', '', '操作员删除', 'USER_DELETE', 'USER_LIST', 5, 'shop/user/deleteuser', 0, 1, '', 0, '', '', 1), (253, 'shop', '', '调整操作员状态', 'USER_MODIFY_STATUS', 'USER_LIST', 5, 'shop/user/modifyuserstatus', 0, 1, '', 0, '', '', 1), (254, 'shop', '', '角色管理', 'USER_GROUP', 'AUTH_ROOT', 3, 'shop/user/group', 1, 2, '', 0, '', '', 1), (255, 'shop', '', '添加角色', 'USER_GROUP_ADD', 'USER_GROUP', 5, 'shop/user/addgroup', 0, 1, '', 0, '', '', 1), (256, 'shop', '', '角色编辑', 'USER_GROUP_EDIT', 'USER_GROUP', 5, 'shop/user/editgroup', 0, 1, '', 0, '', '', 1), (257, 'shop', '', '角色删除', 'USER_GROUP_DELETE', 'USER_GROUP', 5, 'shop/user/deletegroup', 0, 1, '', 0, '', '', 1), (258, 'shop', '', '调整角色状态', 'USER_GROUP_MODIFY_STATUS', 'USER_GROUP', 5, 'shop/user/modifygroupstatus', 0, 1, '', 0, '', '', 1), (259, 'shop', '', '操作日志', 'USER_LOG', 'AUTH_ROOT', 3, 'shop/user/userlog', 1, 5, '', 0, '', '', 1), (260, 'shop', '', '删除日志', 'USER_LOG_DELETE', 'USER_AUTH', 4, 'shop/user/deleteUserLog', 0, 1, '', 0, '', '', 1), (261, 'shop', '', '注册登录', 'CONFIG_BASE_MEMBER', 'CONFIG_BASE', 3, 'shop/member/regconfig', 0, 4, '', 0, 'app/shop/view/public/img/icon_new/member_config_new.png', 'app/shop/view/public/img/icon_new/member_config_select.png', 1), (262, 'shop', '', '注册设置', 'LOGIN_REG_CONFIG', 'CONFIG_BASE_MEMBER', 4, 'shop/member/regconfig', 1, 1, '', 0, '', '', 1), (263, 'shop', '', '登录秘钥', 'CONFIG_API', 'CONFIG_BASE_MEMBER', 4, 'shop/config/api', 1, 2, '', 0, '', '', 1), (266, 'shop', '', '编辑短信模板', 'MESSAGE_SMS_EDIT', 'MESSAGE_LISTS', 4, 'shop/message/editSmsMessage', 0, 2, '', 0, '', '', 1), (267, 'shop', '', '商家会员管理', 'MESSAGE_SHOP_USER', 'MESSAGE_LISTS', 4, 'shop/shopacceptmessage/lists', 0, 3, '', 0, '', '', 1), (268, 'shop', '', '添加商家消息接收会员', 'MESSAGE_SHOP_USER_ADD', 'MESSAGE_LISTS', 4, 'shop/Shopacceptmessage/add', 0, 4, '', 0, '', '', 1), (269, 'shop', '', '删除商家消息接收会员', 'MESSAGE_SHOP_USER_DELETE', 'MESSAGE_LISTS', 4, 'shop/Shopacceptmessage/delete', 0, 5, '', 0, '', '', 1), (270, 'shop', '', '短信中心', 'SMS_MANAGE', 'CONFIG_BASE', 3, 'shop/message/sms', 0, 6, '', 0, '', '', 1), (271, 'shop', '', '短信配置', 'SMS_LIST', 'SMS_MANAGE', 4, 'shop/message/sms', 1, 1, '', 0, '', '', 1), (272, 'shop', '', '发送记录', 'SMS_RECORDS', 'SMS_MANAGE', 4, 'shop/message/smsrecords', 1, 1, '', 0, '', '', 1), (273, 'shop', '', '交易设置', 'CONFIG_BASE_ORDER', 'CONFIG_BASE', 3, 'shop/order/config', 1, 7, '', 0, 'app/shop/view/public/img/icon_new/deal_config_new.png', 'app/shop/view/public/img/icon_new/deal_config_select.png', 1), (274, 'shop', '', '订单设置', 'ORDER_CONFIG_SETTING', 'CONFIG_BASE_ORDER', 4, 'shop/order/config', 1, 1, '', 0, '', '', 1), (275, 'shop', '', '提现设置', 'MEMBER_WITHDRAW_CONFIG', 'CONFIG_BASE_ORDER', 4, 'shop/memberwithdraw/config', 1, 3, '', 0, '', '', 1), (276, 'shop', '', '支付设置', 'CONFIG_PAY', 'CONFIG_BASE', 3, 'wechatpay://shop/pay/config', 1, 8, '', 0, '', '', 1), (278, 'shop', '', '发货设置', 'CONFIG_EXPRESS_ROOT', 'ADDRESS_ROOT', 3, 'shop/delivery/express', 1, 10, '', 0, 'app/shop/view/public/img/icon_new/distribution_config_new.png', 'app/shop/view/public/img/icon_new/distribution_config_select.png', 1), (279, 'shop', '', '配送管理', 'EXPRESS_CONFIG', 'CONFIG_EXPRESS_ROOT', 4, 'shop/delivery/express', 0, 1, '', 0, '', '', 1), (281, 'shop', '', '物流开关', 'EXPRESS_EXPRESS_STATUS', 'EXPRESS_CONFIG', 5, 'shop/delivery/modifyexpressstatus', 0, 1, '', 0, '', '', 1), (282, 'shop', '', '同城配送开关', 'EXPRESS_LOCAL_STATUS', 'EXPRESS_CONFIG', 5, 'shop/delivery/modifylocalstatus', 0, 1, '', 0, '', '', 1), (283, 'shop', '', '同城配送', 'EXPRESS_LOCALDELIVERY_CONFIG', 'EXPRESS_CONFIG', 5, 'shop/local/local', 0, 1, '', 0, '', '', 1), (284, 'shop', '', '配送员列表', 'EXPRESS_LOCALDELIVERY_DELIVER_LISTS', 'EXPRESS_CONFIG', 5, 'shop/local/deliverlists', 0, 1, '', 0, '', '', 1), (285, 'shop', '', '添加配送员', 'EXPRESS_LOCALDELIVERY_ADD_DELIVER', 'EXPRESS_CONFIG', 5, 'shop/local/adddeliver', 0, 1, '', 0, '', '', 1), (286, 'shop', '', '编辑配送员', 'EXPRESS_LOCALDELIVERY_EDIT_DELIVER', 'EXPRESS_CONFIG', 5, 'shop/local/editdeliver', 0, 1, '', 0, '', '', 1), (287, 'shop', '', '删除配送员', 'EXPRESS_LOCALDELIVERY_DELETE_DELIVER', 'EXPRESS_CONFIG', 5, 'shop/local/deletedeliver', 0, 1, '', 0, '', '', 1), (288, 'shop', '', '运单模板', 'EXPRESS_EDIT_PRINT_TEMPLATE', 'EXPRESS_CONFIG', 5, 'shop/express/editprinttemplate', 0, 1, '', 0, '', '', 1), (289, 'shop', '', '运费模板', 'EXPRESS_TEMPLATE', 'ADDRESS_ROOT', 3, 'shop/express/template', 1, 1, '', 0, '', '', 1), (290, 'shop', '', '添加运费模板', 'EXPRESS_TEMPLATE_ADD', 'EXPRESS_TEMPLATE', 4, 'shop/express/addtemplate', 0, 1, '', 0, '', '', 1), (291, 'shop', '', '编辑运费模板', 'EXPRESS_TEMPLATE_EDIT', 'EXPRESS_TEMPLATE', 4, 'shop/express/edittemplate', 0, 1, '', 0, '', '', 1), (292, 'shop', '', '删除运费模板', 'EXPRESS_TEMPLATE_DELETE', 'EXPRESS_TEMPLATE', 4, 'shop/express/deletetemplate', 0, 1, '', 0, '', '', 1), (293, 'shop', '', '设置默认运费模板', 'EXPRESS_DEFAULT_TEMPLATE', 'EXPRESS_TEMPLATE', 4, 'shop/express/defaultTemplate', 0, 1, '', 0, '', '', 1), (294, 'shop', '', '物流公司', 'EXPRESS_COMPANY', 'ADDRESS_ROOT', 3, 'shop/express/expresscompany', 1, 1, '', 0, '', '', 1), (295, 'shop', '', '添加物流公司', 'DELIVERY_EXPRESS_ADD', 'EXPRESS_COMPANY', 5, 'shop/express/addcompany', 0, 100, '', 0, '', '', 1), (296, 'shop', '', '编辑物流公司', 'DELIVERY_EXPRESS_EDIT', 'EXPRESS_COMPANY', 5, 'shop/express/editcompany', 0, 100, '', 0, '', '', 1), (297, 'shop', '', '删除物流公司', 'DELIVERY_EXPRESS_DELETE', 'EXPRESS_COMPANY', 5, 'shop/express/deletecompany', 0, 100, '', 0, '', '', 1), (298, 'shop', '', '物流跟踪', 'EXPRESS_EXPRESS_CONFIG', 'ADDRESS_ROOT', 3, 'shop/express/trace', 1, 2, '', 0, '', '', 1), (308, 'shop', '', '其他设置', 'CONFIG_BASE_OTHER', 'CONFIG_BASE', 3, 'shop/config/defaultpicture', 1, 13, '', 0, 'app/shop/view/public/img/icon_new/goods_config_new.png', 'app/shop/view/public/img/icon_new/goods_config_select.png', 1), (309, 'shop', '', '默认图片', 'CONFIG_DEFAULT_PICTURE', 'CONFIG_BASE_OTHER', 4, 'shop/config/defaultpicture', 1, 1, '', 0, '', '', 1), (310, 'shop', '', '地图配置', 'MAP_CONFIG', 'CONFIG_BASE_OTHER', 4, 'shop/config/map', 0, 2, '', 0, '', '', 1), (311, 'shop', '', '验证码设置', 'CONFIG_CAPTCHA', 'CONFIG_BASE_OTHER', 4, 'shop/config/captcha', 0, 3, '', 0, '', '', 1), (314, 'shop', '', '注册协议', 'LOGIN_REG_AGREEMENT', 'CONFIG_BASE_OTHER', 4, 'shop/member/regagreement', 1, 8, '', 0, 'app/shop/view/public/img/icon/member.png', 'app/shop/view/public/img/icon/member.png', 1), (315, 'shop', '', '上传设置', 'CONFIG_UPLOAD_SET', 'CONFIG_BASE_OTHER', 4, 'shop/upload/config', 0, 9, '', 0, '', '', 1), (316, 'shop', '', '云上传', 'UPLOAD_OSS', 'CONFIG_BASE_OTHER', 4, 'shop/upload/oss', 0, 10, '', 0, '', '', 1), (317, 'shop', '', '上传素材图片', 'UPLOAD_ALBUM', 'CONFIG_BASE_OTHER', 4, 'shop/upload/album', 0, 11, '', 0, '', '', 1), (318, 'shop', '', '下载图片', 'UPLOAD_DOWNLOAD_IMAGE', 'CONFIG_BASE_OTHER', 4, 'shop/upload/download', 0, 12, '', 0, '', '', 1), (319, 'shop', '', '上传图片', 'UPLOAD_IMAGE', 'CONFIG_BASE_OTHER', 4, 'shop/upload/upload', 0, 13, '', 0, '', '', 1), (320, 'shop', '', '上传视频', 'UPLOAD_VIDEO', 'CONFIG_BASE_OTHER', 4, 'shop/upload/video', 0, 14, '', 0, '', '', 1), (321, 'shop', '', '上传视频到素材', 'UPLOAD_VIDEO_TO_ALBUM', 'CONFIG_BASE_OTHER', 4, 'shop/upload/videoToAlbum', 0, 15, '', 0, '', '', 1), (322, 'shop', '', '上传文件', 'UPLOAD_FILE', 'CONFIG_BASE_OTHER', 4, 'shop/upload/file', 0, 16, '', 0, '', '', 1), (323, 'shop', '', '域名校验文件', 'UPLOAD_CHECK_FILE', 'CONFIG_BASE_OTHER', 4, 'shop/upload/checkfile', 0, 17, '', 0, '', '', 1), (324, 'shop', '', '替换图片文件', 'UPLOAD_MODIFY_IMAGE_FILE', 'CONFIG_BASE_OTHER', 4, 'shop/upload/modifyFile', 0, 18, '', 0, '', '', 1), (325, 'shop', '', '替换视频文件', 'UPLOAD_MODIFY_VIDEO_FILE', 'CONFIG_BASE_OTHER', 4, 'shop/upload/modifyVideoFile', 0, 19, '', 0, '', '', 1), (327, 'shop', '', '系统维护', 'UPGRADE_ROOT', 'CONFIG_ROOT', 2, 'shop/config/sitedeploy', 0, 12, '', 0, 'app/shop/view/public/img/icon_new/system_authorization_new.png', 'app/shop/view/public/img/icon_new/system_authorization_select.png', 1), (329, 'shop', '', '插件管理', 'SYSTEM_ADDON_ROOT', 'UPGRADE_ROOT', 3, 'shop/system/addon', 1, 2, '', 0, 'app/shop/view/public/img/icon_new/plug_management_new.png', 'app/shop/view/public/img/icon_new/plug_management_select.png', 1), (331, 'shop', '', '缓存管理', 'CONFIG_SYSTEM_CACHE', 'UPGRADE_ROOT', 3, 'shop/system/cache', 1, 3, '', 0, '', '', 1), (336, 'shop', '', '数据库管理', 'CONFIG_SYSTEM_DATABASE', 'UPGRADE_ROOT', 3, 'shop/system/database', 1, 7, '', 0, '', '', 1), (337, 'shop', '', '数据备份', 'CONFIG_SYSTEM_DATABASE_LIST', 'CONFIG_SYSTEM_DATABASE', 4, 'shop/system/database', 1, 1, '', 0, '', '', 1), (338, 'shop', '', '数据还原', 'CONFIG_SYSTEM_IMPORTLIST', 'CONFIG_SYSTEM_DATABASE', 4, 'shop/system/importlist', 1, 2, '', 0, '', '', 1), (339, 'shop', '', '数据备份', 'CONFIG_SYSTEM_BACKUP', 'CONFIG_SYSTEM_DATABASE', 4, 'shop/system/backup', 0, 100, '', 0, '', '', 1), (340, 'shop', '', '删除备份文件', 'CONFIG_SYSTEM_DELETEBACKUP', 'CONFIG_SYSTEM_DATABASE', 4, 'shop/system/deletebackup', 0, 100, '', 0, '', '', 1), (341, 'shop', '', '数据表修复', 'CONFIG_SYSTEM_TABLEREPAIR', 'CONFIG_SYSTEM_DATABASE', 4, 'shop/system/tablerepair', 0, 100, '', 0, '', '', 1), (621, 'shop', 'alioss', '阿里云OSS上传配置', 'ALIOSS_CONFIG', 'UPLOAD_OSS', 5, 'alioss://shop/config/config', 0, 1, '', 0, '', '', 1), (713, 'shop', 'electronicsheet', '电子面单', 'PROMOTION_ELECTRONICSHEET', 'PROMOTION_TOOL', 3, 'electronicsheet://shop/config/config', 1, 1, '', 0, 'addon/electronicsheet/shop/view/public/img/distribution_new.png', 'addon/electronicsheet/shop/view/public/img/distribution_select.png', 1), (714, 'shop', 'electronicsheet', '设置', 'PROMOTION_ELECTRONICSHEET_CONFIG', 'PROMOTION_ELECTRONICSHEET', 4, 'electronicsheet://shop/config/config', 1, 1, '', 0, '', '', 1), (715, 'shop', 'electronicsheet', '电子面单模板', 'PROMOTION_ELECTRONICSHEET_GOODS_LIST', 'PROMOTION_ELECTRONICSHEET', 4, 'electronicsheet://shop/electronicsheet/lists', 1, 2, '', 0, '', '', 1), (716, 'shop', 'electronicsheet', '添加模板', 'PROMOTION_ELECTRONICSHEET_ADD', 'PROMOTION_ELECTRONICSHEET_GOODS_LIST', 5, 'electronicsheet://shop/electronicsheet/add', 0, 100, '', 0, '', '', 1), (717, 'shop', 'electronicsheet', '编辑模板', 'PROMOTION_ELECTRONICSHEET_EDIT', 'PROMOTION_ELECTRONICSHEET_GOODS_LIST', 5, 'electronicsheet://shop/electronicsheet/edit', 0, 1, '', 0, '', '', 1), (718, 'shop', 'electronicsheet', '删除模板', 'PROMOTION_ELECTRONICSHEET_DELETE', 'PROMOTION_ELECTRONICSHEET_GOODS_LIST', 5, 'electronicsheet://shop/electronicsheet/delete', 0, 1, '', 0, '', '', 1), (719, 'shop', 'electronicsheet', '设置默认状态', 'PROMOTION_ELECTRONICSHEET_SET_DEFAULT_STATUS', 'PROMOTION_ELECTRONICSHEET_GOODS_LIST', 5, 'electronicsheet://shop/electronicsheet/setdefaultstatus', 0, 1, '', 0, '', '', 1), (760, 'shop', 'form', '系统表单', 'SYSTEM_FORM', 'PROMOTION_TOOL', 3, 'form://shop/form/lists', 1, 1, '', 0, '', '', 1), (761, 'shop', 'form', '添加表单', 'FORM_ADD', 'SYSTEM_FORM', 4, 'form://shop/form/addform', 0, 100, '', 0, '', '', 1), (762, 'shop', 'form', '编辑表单', 'FORM_EDIT', 'SYSTEM_FORM', 4, 'form://shop/form/editform', 0, 100, '', 0, '', '', 1), (763, 'shop', 'form', '删除表单', 'FORM_DELETE', 'SYSTEM_FORM', 4, 'form://shop/form/deleteform', 0, 100, '', 0, '', '', 1), (764, 'shop', 'form', '表单是否启用', 'FORM_IS_USE', 'SYSTEM_FORM', 4, 'form://shop/form/editisuse', 0, 100, '', 0, '', '', 1), (765, 'shop', 'form', '表单数据', 'FORM_DATA', 'SYSTEM_FORM', 4, 'form://shop/form/formdata', 0, 100, '', 0, '', '', 1), (766, 'shop', 'form', '表单数据详情', 'FORM_DATA_EXPORT', 'SYSTEM_FORM', 4, 'form://shop/form/exportform', 0, 100, '', 0, '', '', 1), (835, 'shop', 'memberprice', '会员价', 'MEMBER_PRICE', 'PROMOTION_CENTER', 3, 'memberprice://shop/goods/config', 0, 100, '', 0, '', '', 1), (856, 'shop', 'memberwithdraw', '会员提现', 'MEMBERWITHDRAW', 'PROMOTION_CENTER', 3, 'memberwithdraw://shop/withdraw/transfer', 0, 100, '', 0, '', '', 1), (944, 'shop', 'qiniu', '七牛云上传配置', 'QINIU_CONFIG', 'UPLOAD_OSS', 5, 'qiniu://shop/config/config', 0, 1, '', 0, '', '', 1), (1063, 'shop', 'weapp', '微信小程序', 'WEAPP_ROOT', 'QUDAO_ROOT', 3, 'weapp://shop/weapp/config', 1, 4, '', 0, 'addon/weapp/shop/view/public/img/menu_icon/wechat_app_new.png', 'addon/weapp/shop/view/public/img/menu_icon/wechat_app_select.png', 1), (1064, 'shop', 'weapp', '概况', 'WEAPP_ROOT_CONFIG', 'WEAPP_ROOT', 4, 'weapp://shop/weapp/setting', 0, 1, '', 0, '', '', 1), (1065, 'shop', 'weapp', '基础配置', 'WEAPP_CONFIG', 'WEAPP_ROOT', 4, 'weapp://shop/weapp/config', 0, 2, '', 0, '', '', 1), (1066, 'shop', 'weapp', '小程序发布', 'WEAPP_PACKAGE', 'WEAPP_ROOT', 4, 'weapp://shop/weapp/package', 0, 3, '', 0, '', '', 1), (1067, 'shop', 'weapp', '订阅消息', 'WEAPP_PACKAGE', 'WEAPP_ROOT', 4, 'weapp://shop/message/config', 0, 4, '', 0, '', '', 1), (1068, 'shop', 'weapp', '编辑订阅消息', 'WEAPP_PACKAGE_EDIT', 'WEAPP_ROOT', 4, 'weapp://shop/message/edit', 0, 1, '', 0, '', '', 1), (1069, 'shop', 'weapp', '小程序分享', 'WEAPP_SHARE', 'WEAPP_ROOT', 4, 'weapp://shop/weapp/share', 0, 6, '', 0, '', '', 1), (1097, 'shop', 'wechatpay', '微信支付编辑', 'WECHAT_PAY_CONFIG', 'CONFIG_PAY', 4, 'wechatpay://shop/pay/config', 0, 1, '', 0, '', '', 1), (1098, 'platform', '', '管理', 'PLATFORM_ROOT', '', 1, 'platform/shop/lists', 1, 2, '', 0, 'icondianpu', '', 1), (1105, 'shop', '', '渠道', 'QUDAO_ROOT', '', 1, 'weapp://shop/weapp/config', 1, 10, '', 0, 'icon-zuocedaohang-qudao', '', 1), (1106, 'shop', '', '营销', 'SALE_ROOT', '', 1, 'coupon://shop/coupon/lists', 1, 7, '', 0, 'icon-zuocedaohang-yingxiao-', '', 1), (1135, 'shop', '', '积分设置', 'JIFENYOUHUI', 'SALE_ROOT', 2, 'coupon://shop/coupon/lists', 1, 3, '', 0, '', '', 1), (1139, 'shop', 'pointcash', '积分抵现', 'PROMOTION_POINGCASH', 'JIFENYOUHUI', 2, 'pointcash://shop/config/index', 1, 100, '', 0, 'addon/pointcash/shop/view/public/img/point_site.png', '', 1), (1140, 'shop', 'pointcash', '抵扣设置', 'PROMOTION_POINGCASH_LIST', 'PROMOTION_POINGCASH', 2, 'pointcash://shop/config/index', 1, 1, '', 0, '', '', 1), (1149, 'shop', '', 'VR展示', 'VR_SHOW', 'SHOP_DIY', 3, 'shop/diy/vr', 1, 11, '', 0, '', '', 1), (1150, 'shop', '', '出售中', 'GOODS_INSALE', 'GOODS_MANAGE', 3, 'shop/goods/insale', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/goods_list_new.png', 'app/shop/view/public/img/icon_new/goods_list_select.png', 1), (1151, 'shop', '', '已售罄', 'GOODS_SOLDOUT', 'GOODS_MANAGE', 3, 'shop/goods/soldout', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/goods_list_new.png', 'app/shop/view/public/img/icon_new/goods_list_select.png', 1), (1152, 'shop', '', '仓库中', 'GOODS_INSTOCK', 'GOODS_MANAGE', 3, 'shop/goods/instock', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/goods_list_new.png', 'app/shop/view/public/img/icon_new/goods_list_select.png', 1), (1153, 'shop', '', '待发货', 'EXPRESS_ORDER_SEND', 'ORDER_MANAGE', 3, 'shop/order/send', 1, 1, '', 0, '', '', 1), (1154, 'shop', '', '待付款', 'EXPRESS_ORDER_PAYMENT', 'ORDER_MANAGE', 3, 'shop/order/payment', 1, 1, '', 0, '', '', 1), (1155, 'shop', '', '待收货', 'EXPRESS_ORDER_RECEIVE', 'ORDER_MANAGE', 3, 'shop/order/receive', 1, 1, '', 0, '', '', 1), (1156, 'shop', '', '已完成', 'EXPRESS_ORDER_ACHIEVE', 'ORDER_MANAGE', 3, 'shop/order/achieve', 1, 1, '', 0, '', '', 1), (1157, 'shop', '', '已关闭', 'EXPRESS_ORDER_CLOSEORDER', 'ORDER_MANAGE', 3, 'shop/order/closeorder', 1, 1, '', 0, '', '', 1), (1158, 'shop', '', '积分兑换', 'ORDER_POINT_MANAGE', 'ORDER_ROOT', 2, 'pointexchange://shop/pointexchange/lists', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/order_management_new.png', 'app/shop/view/public/img/icon_new/order_management_select.png', 1), (1175, 'shop', 'pointexchange', '积分商城', 'PROMOTION_POINGEXCHANGE_ROOT', 'PROMOTION_TOOL', 3, 'pointexchange://shop/exchange/lists', 1, 100, '', 0, 'addon/pointexchange/shop/view/public/img/point_site.png', '', 1), (1176, 'shop', 'pointexchange', '积分商品', 'PROMOTION_POINGEXCHANGE', 'PROMOTION_POINGEXCHANGE_ROOT', 4, 'pointexchange://shop/exchange/lists', 0, 1, '', 0, '', '', 1), (1177, 'shop', 'pointexchange', '添加商品', 'PROMOTION_POINGEXCHANGE_ADD', 'PROMOTION_POINGEXCHANGE', 5, 'pointexchange://shop/exchange/add', 0, 1, '', 0, '', '', 1), (1178, 'shop', 'pointexchange', '编辑商品', 'PROMOTION_POINGEXCHANGE_EDIT', 'PROMOTION_POINGEXCHANGE', 5, 'pointexchange://shop/exchange/edit', 0, 1, '', 0, '', '', 1), (1179, 'shop', 'pointexchange', '下架商品', 'PROMOTION_POINGEXCHANGE_CLOSE', 'PROMOTION_POINGEXCHANGE', 5, 'pointexchange://shop/exchange/close', 0, 1, '', 0, '', '', 1), (1180, 'shop', 'pointexchange', '删除商品', 'PROMOTION_POINGEXCHANGE_DELETE', 'PROMOTION_POINGEXCHANGE', 5, 'pointexchange://shop/exchange/delete', 0, 1, '', 0, '', '', 1), (1181, 'shop', 'pointexchange', '兑换订单', 'PROMOTION_POINGEXCHANGE_ORDER_LISTS', 'ORDER_POINT_MANAGE', 3, 'pointexchange://shop/pointexchange/lists', 1, 6, '', 0, '', '', 1), (1182, 'shop', 'pointexchange', '订单详情', 'PROMOTION_POINGEXCHANGE_DETAIL', 'PROMOTION_POINGEXCHANGE_ORDER_LISTS', 4, 'pointexchange://shop/pointexchange/detail', 0, 1, '', 0, '', '', 1), (1232, 'shop', '', '全部订单', 'EXPRESS_ORDER_LIST', 'ORDER_MANAGE', 3, 'shop/order/lists', 1, 1, '', 0, '', '', 1), (1262, 'shop', '', '系统权限', 'AUTH_ROOT', 'CONFIG_ROOT', 2, 'shop/config/sitedeploy', 1, 12, '', 0, 'app/shop/view/public/img/icon_new/system_authorization_new.png', 'app/shop/view/public/img/icon_new/system_authorization_select.png', 1), (1263, 'shop', '', '地址物流', 'ADDRESS_ROOT', 'CONFIG_ROOT', 2, 'shop/config/sitedeploy', 1, 10, '', 0, 'app/shop/view/public/img/icon_new/system_authorization_new.png', 'app/shop/view/public/img/icon_new/system_authorization_select.png', 1), (1815, 'shop', 'weapp', '华为快应用', 'HUAWEI_ROOT', 'QUDAO_ROOT', 3, 'shop/huawei/config', 0, 5, '', 0, 'addon/weapp/shop/view/public/img/menu_icon/wechat_app_new.png', 'addon/weapp/shop/view/public/img/menu_icon/wechat_app_select.png', 1), (1827, 'shop', 'memberrecharge', '充值套餐', 'PROMOTION_MEMBERRECHARGE_LIST', 'PROMOTION_TOOL', 3, 'memberrecharge://shop/memberrecharge/lists', 0, 1, '', 0, '', '', 1), (1828, 'shop', 'memberrecharge', '添加充值套餐', 'PROMOTION_MEMBERRECHARGE_ADD', 'PROMOTION_MEMBERRECHARGE_LIST', 4, 'memberrecharge://shop/memberrecharge/add', 0, 1, '', 0, '', '', 1), (1829, 'shop', 'memberrecharge', '编辑充值套餐', 'PROMOTION_MEMBERRECHARGE_EDIT', 'PROMOTION_MEMBERRECHARGE_LIST', 4, 'memberrecharge://shop/memberrecharge/edit', 0, 1, '', 0, '', '', 1), (1830, 'shop', 'memberrecharge', '充值套餐详情', 'PROMOTION_MEMBERRECHARGE_DETAIL', 'PROMOTION_MEMBERRECHARGE_LIST', 4, 'memberrecharge://shop/memberrecharge/detail', 0, 1, '', 0, '', '', 1), (1831, 'shop', 'memberrecharge', '停用充值套餐', 'PROMOTION_MEMBERRECHARGE_INVALID', 'PROMOTION_MEMBERRECHARGE_LIST', 4, 'memberrecharge://shop/memberrecharge/invalid', 0, 1, '', 0, '', '', 1), (1832, 'shop', 'memberrecharge', '删除充值套餐', 'PROMOTION_MEMBERRECHARGE_DELETE', 'PROMOTION_MEMBERRECHARGE_LIST', 4, 'memberrecharge://shop/memberrecharge/delete', 0, 1, '', 0, '', '', 1), (1833, 'shop', 'memberrecharge', '开卡列表', 'PROMOTION_MEMBERRECHARGE_CARD_LISTS', 'PROMOTION_MEMBERRECHARGE_LIST', 4, 'memberrecharge://shop/memberrecharge/cardlists', 0, 1, '', 0, '', '', 1), (1834, 'shop', 'memberrecharge', '开卡详情', 'PROMOTION_MEMBERRECHARGE_CARD_DETAIL', 'PROMOTION_MEMBERRECHARGE_LIST', 4, 'memberrecharge://shop/memberrecharge/carddetail', 0, 1, '', 0, '', '', 1), (1835, 'shop', 'memberrecharge', '充值开关', 'PROMOTION_MEMBERRECHARGE_SET_CONFIG', 'PROMOTION_MEMBERRECHARGE_LIST', 4, 'memberrecharge://shop/memberrecharge/setConfig', 0, 1, '', 0, '', '', 1), (1836, 'shop', 'memberrecharge', '充值订单', 'PROMOTION_MEMBERRECHARGE_ORDER_LISTS', 'ACCOUNT_MANAGE', 3, 'memberrecharge://shop/memberrecharge/orderlists', 1, 2, '', 0, 'app/shop/view/public/img/menu_icon/icon13.png', 'app/shop/view/public/img/icon/refill_order.png', 1), (1837, 'shop', 'memberrecharge', '订单详情', 'PROMOTION_MEMBERRECHARGE_ORDER_DETAIL', 'PROMOTION_MEMBERRECHARGE_ORDER_LISTS', 4, 'memberrecharge://shop/memberrecharge/orderdetail', 0, 1, '', 0, '', '', 1), (2120, 'merch', '', '首页', 'MERCH_INDEX_ROOT', '', 1, 'merchant/index/index', 1, 2, '', 0, 'icon-zuocedaohang-shouye1', '', 1), (2121, 'merch', '', '商品', 'MERCH_GOODS_ROOT', '', 1, 'merchant/goods/insale', 1, 2, '', 0, 'icondianpu', '', 1), (2122, 'merch', '', '出售中', 'MERCH_GOODS_INSALE', 'MERCH_GOODS_ROOT', 2, 'merchant/goods/insale', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/goods_list_new.png', 'app/shop/view/public/img/icon_new/goods_list_select.png', 1), (2123, 'merch', '', '已售罄', 'MERCH_GOODS_SOLDOUT', 'MERCH_GOODS_ROOT', 2, 'merchant/goods/soldout', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/goods_list_new.png', 'app/shop/view/public/img/icon_new/goods_list_select.png', 1), (2124, 'merch', '', '仓库中', 'MERCH_GOODS_INSTOCK', 'MERCH_GOODS_ROOT', 2, 'merchant/goods/instock', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/goods_list_new.png', 'app/shop/view/public/img/icon_new/goods_list_select.png', 1), (2125, 'merch', '', '待审核', 'MERCH_GOODS_CHECK', 'MERCH_GOODS_ROOT', 2, 'merchant/goods/check', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/goods_list_new.png', 'app/shop/view/public/img/icon_new/goods_list_select.png', 1), (2126, 'merch', '', '订单', 'MERCH_ORDER_ROOT', '', 1, 'merchant/order/send', 1, 5, '', 0, 'icon-zuocedaohang-dingdan', '', 1), (2127, 'merch', '', '订单管理', 'MERCH_ORDER_MANAGE', 'MERCH_ORDER_ROOT', 2, 'merchant/order/send', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/order_management_new.png', 'app/shop/view/public/img/icon_new/order_management_select.png', 1), (2128, 'merch', '', '订单详情', 'MERCH_EXPRESS_ORDER_DETAIL', 'MERCH_ORDER_MANAGE', 3, 'merchant/order/detail', 0, 1, '', 0, '', '', 1), (2129, 'merch', '', '待发货', 'MERCH_EXPRESS_ORDER_SEND', 'MERCH_ORDER_MANAGE', 3, 'merchant/order/send', 1, 1, '', 0, '', '', 1), (2130, 'merch', '', '待付款', 'MERCH_EXPRESS_ORDER_PAYMENT', 'MERCH_ORDER_MANAGE', 3, 'merchant/order/payment', 1, 1, '', 0, '', '', 1), (2131, 'merch', '', '待收货', 'MERCH_EXPRESS_ORDER_RECEIVE', 'MERCH_ORDER_MANAGE', 3, 'merchant/order/receive', 1, 1, '', 0, '', '', 1), (2132, 'merch', '', '已完成', 'MERCH_EXPRESS_ORDER_ACHIEVE', 'MERCH_ORDER_MANAGE', 3, 'merchant/order/achieve', 1, 1, '', 0, '', '', 1), (2133, 'merch', '', '已关闭', 'MERCH_EXPRESS_ORDER_CLOSEORDER', 'MERCH_ORDER_MANAGE', 3, 'merchant/order/closeorder', 1, 1, '', 0, '', '', 1), (2134, 'merch', '', '订单处理', 'MERCH_ORDER_ACTION', 'MERCH_ORDER_ROOT', 2, 'merchant/order/pickuporder', 1, 2, '', 0, 'app/shop/view/public/img/icon/pickuporder.png', 'app/shop/view/public/img/icon/selectedpickuporder.png', 1), (2135, 'merch', '', '退款维权', 'MERCH_ORDER_REFUND_LIST', 'MERCH_ORDER_ACTION', 3, 'merchant/orderrefund/lists', 1, 20, '', 0, 'app/shop/view/public/img/icon_new/refund_new.png', 'app/shop/view/public/img/icon_new/refund_select.png', 1), (2136, 'merch', '', '维权详情', 'MERCH_ORDER_REFUND_DETAIL', 'MERCH_ORDER_REFUND_LIST', 4, 'merchant/orderrefund/detail', 0, 1, '', 0, '', '', 1), (2137, 'merch', '', '维权拒绝', 'MERCH_ORDER_REFUND_REFUSE', 'MERCH_ORDER_REFUND_LIST', 4, 'merchant/orderrefund/refuse', 0, 1, '', 0, '', '', 1), (2138, 'merch', '', '维权同意', 'MERCH_ORDER_REFUND_AGREE', 'MERCH_ORDER_REFUND_LIST', 4, 'merchant/orderrefund/agree', 0, 1, '', 0, '', '', 1), (2139, 'merch', '', '维权收货', 'MERCH_ORDER_REFUND_AGREE', 'MERCH_ORDER_REFUND_LIST', 4, 'merchant/orderrefund/receive', 0, 1, '', 0, '', '', 1), (2140, 'merch', '', '维权通过', 'MERCH_ORDER_REFUND_COMPLETE', 'MERCH_ORDER_REFUND_LIST', 4, 'merchant/orderrefund/complete', 0, 1, '', 0, '', '', 1), (2141, 'merch', '', '关闭维权', 'MERCH_ORDER_REFUND_CLOSE', 'MERCH_ORDER_REFUND_LIST', 4, 'merchant/orderrefund/close', 0, 1, '', 0, '', '', 1), (2142, 'merch', '', '积分兑换', 'MERCH_ORDER_POINT_MANAGE', 'MERCH_ORDER_ROOT', 2, 'pointexchange://shop/pointexchange/lists', 0, 1, '', 0, 'app/shop/view/public/img/icon_new/order_management_new.png', 'app/shop/view/public/img/icon_new/order_management_select.png', 1), (2143, 'merch', 'pointexchange', '兑换订单', 'MERCH_PROMOTION_POINGEXCHANGE_ORDER_LISTS', 'MERCH_ORDER_POINT_MANAGE', 3, 'pointexchange://shop/pointexchange/lists', 1, 6, '', 0, '', '', 1), (2144, 'merch', 'pointexchange', '订单详情', 'MERCH_PROMOTION_POINGEXCHANGE_DETAIL', 'MERCH_PROMOTION_POINGEXCHANGE_ORDER_LISTS', 4, 'pointexchange://shop/pointexchange/detail', 0, 1, '', 0, '', '', 1), (2145, 'merch', '', '营销', 'MERCH_SALE_ROOT', '', 1, 'coupon://merchant/coupon/lists', 1, 7, '', 0, 'icon-zuocedaohang-yingxiao-', '', 1), (2297, 'merch', '', '结算', 'MERCH_APPLY_ROOT', '', 1, 'merchant/apply/overview', 1, 7, '', 0, 'icon-zuocedaohang-shuju', '', 1), (2298, 'merch', '', '设置', 'MERCH_SET_ROOT', '', 1, 'merchant/system/config', 1, 7, '', 0, 'icon-zuocedaohang-shuju', '', 1), (2299, 'merch', '', '添加商品', 'MERCH_PHYSICAL_GOODS_ADD', 'MERCH_GOODS_ROOT', 4, 'merchant/goods/addgoods', 0, 1, '', 0, '', '', 1), (2300, 'merch', '', '编辑商品', 'MERCH_PHYSICAL_GOODS_EDIT', 'MERCH_GOODS_ROOT', 4, 'merchant/goods/editgoods', 0, 2, '', 0, '', '', 1), (2301, 'shop', '', '待审核', 'GOODS_CHECK', 'GOODS_MANAGE', 3, 'shop/goods/check', 1, 1, '', 0, 'app/shop/view/public/img/icon_new/goods_list_new.png', 'app/shop/view/public/img/icon_new/goods_list_select.png', 1), (2302, 'merch', 'coupon', '优惠券', 'PROMOTION_MERCH_MERCH_COUPON', 'MERCH_SALE_ROOT', 2, 'coupon://merchant/coupon/lists', 1, 1, '', 0, '', '', 1), (2303, 'merch', 'coupon', '优惠券列表', 'PROMOTION_MERCH_COUPON_LIST', 'PROMOTION_MERCH_MERCH_COUPON', 3, 'coupon://merchant/coupon/lists', 1, 1, '', 0, '', '', 1), (2304, 'merch', 'coupon', '优惠券详情', 'PROMOTION_MERCH_COUPON_DETAIL', 'PROMOTION_MERCH_MERCH_COUPON', 3, 'coupon://merchant/coupon/detail', 0, 1, '', 0, '', '', 1), (2305, 'merch', 'coupon', '添加优惠券', 'PROMOTION_MERCH_COUPON_ADD', 'PROMOTION_MERCH_MERCH_COUPON', 3, 'coupon://merchant/coupon/add', 0, 1, '', 0, '', '', 1), (2306, 'merch', 'coupon', '编辑优惠券', 'PROMOTION_MERCH_COUPON_EDIT', 'PROMOTION_MERCH_MERCH_COUPON', 3, 'coupon://merchant/coupon/edit', 0, 1, '', 0, '', '', 1), (2307, 'merch', 'coupon', '关闭优惠券', 'PROMOTION_MERCH_COUPON_CLOSE', 'PROMOTION_MERCH_MERCH_COUPON', 3, 'coupon://merchant/coupon/close', 0, 1, '', 0, '', '', 1), (2308, 'merch', 'coupon', '删除优惠券', 'PROMOTION_MERCH_COUPON_DELETE', 'PROMOTION_MERCH_MERCH_COUPON', 3, 'coupon://merchant/coupon/delete', 0, 1, '', 0, '', '', 1), (2309, 'merch', 'coupon', '优惠券领取记录', 'PROMOTION_MERCH_COUPON_RECEIVE', 'PROMOTION_MERCH_MERCH_COUPON', 3, 'coupon://merchant/coupon/receive', 0, 1, '', 0, '', '', 1), (2310, 'shop', 'coupon', '优惠券', 'PROMOTION_COUPON', 'SALE_ROOT', 2, 'coupon://shop/coupon/lists', 1, 1, '', 0, '', '', 1), (2311, 'shop', 'coupon', '优惠券列表', 'PROMOTION_COUPON_LIST', 'PROMOTION_COUPON', 3, 'coupon://shop/coupon/lists', 1, 1, '', 0, '', '', 1), (2312, 'shop', 'coupon', '会员优惠券', 'MEMBER_ACCOUNT_MEMBER_COUPON', 'PROMOTION_COUPON', 3, 'shop/memberaccount/coupon', 1, 2, '', 0, '', '', 1), (2313, 'shop', 'coupon', '优惠券详情', 'PROMOTION_COUPON_DETAIL', 'PROMOTION_COUPON', 3, 'coupon://shop/coupon/detail', 0, 1, '', 0, '', '', 1), (2314, 'shop', 'coupon', '添加优惠券', 'PROMOTION_COUPON_ADD', 'PROMOTION_COUPON', 3, 'coupon://shop/coupon/add', 0, 1, '', 0, '', '', 1), (2315, 'shop', 'coupon', '编辑优惠券', 'PROMOTION_COUPON_EDIT', 'PROMOTION_COUPON', 3, 'coupon://shop/coupon/edit', 0, 1, '', 0, '', '', 1), (2316, 'shop', 'coupon', '关闭优惠券', 'PROMOTION_COUPON_CLOSE', 'PROMOTION_COUPON', 3, 'coupon://shop/coupon/close', 0, 1, '', 0, '', '', 1), (2317, 'shop', 'coupon', '删除优惠券', 'PROMOTION_COUPON_DELETE', 'PROMOTION_COUPON', 3, 'coupon://shop/coupon/delete', 0, 1, '', 0, '', '', 1), (2318, 'shop', 'coupon', '优惠券领取记录', 'PROMOTION_COUPON_RECEIVE', 'PROMOTION_COUPON', 3, 'coupon://shop/coupon/receive', 0, 1, '', 0, '', '', 1), (2319, 'merch', 'freeshipping', '满额包邮', 'MERCH_FREESHIPPING', 'MERCH_SALE_ROOT', 2, 'freeshipping://merchant/freeshipping/lists', 1, 2, '', 0, '', '', 1), (2320, 'merch', 'freeshipping', '满额设置', 'MERCH_FREESHIPPING_LIST', 'MERCH_FREESHIPPING', 3, 'freeshipping://merchant/freeshipping/lists', 1, 1, '', 0, '', '', 1), (2321, 'merch', 'freeshipping', '添加活动', 'MERCH_FREESHIPPING_ADD', 'MERCH_FREESHIPPING', 3, 'freeshipping://merchant/freeshipping/add', 0, 1, '', 0, '', '', 1), (2322, 'merch', 'freeshipping', '编辑活动', 'MERCH_FREESHIPPING_EDIT', 'MERCH_FREESHIPPING', 3, 'freeshipping://merchant/freeshipping/edit', 0, 1, '', 0, '', '', 1), (2323, 'merch', 'freeshipping', '删除活动', 'MERCH_FREESHIPPING_DELETE', 'MERCH_FREESHIPPING', 3, 'freeshipping://merchant/freeshipping/delete', 0, 1, '', 0, '', '', 1), (2324, 'shop', 'freeshipping', '满额包邮', 'PROMOTION_FREESHIPPING', 'SALE_ROOT', 2, 'freeshipping://shop/freeshipping/lists', 1, 2, '', 0, '', '', 1), (2325, 'shop', 'freeshipping', '满额设置', 'PROMOTION_FREESHIPPING_LIST', 'PROMOTION_FREESHIPPING', 3, 'freeshipping://shop/freeshipping/lists', 1, 1, '', 0, '', '', 1), (2326, 'shop', 'freeshipping', '添加活动', 'PROMOTION_FREESHIPPING_ADD', 'PROMOTION_FREESHIPPING', 3, 'freeshipping://shop/freeshipping/add', 0, 1, '', 0, '', '', 1), (2327, 'shop', 'freeshipping', '编辑活动', 'PROMOTION_FREESHIPPING_EDIT', 'PROMOTION_FREESHIPPING', 3, 'freeshipping://shop/freeshipping/edit', 0, 1, '', 0, '', '', 1), (2328, 'shop', 'freeshipping', '删除活动', 'PROMOTION_FREESHIPPING_DELETE', 'PROMOTION_FREESHIPPING', 3, 'freeshipping://shop/freeshipping/delete', 0, 1, '', 0, '', '', 1), (2329, 'merch', 'manjian', '满额立减', 'MERCH_MANJIAN', 'MERCH_SALE_ROOT', 2, 'manjian://merchant/manjian/lists', 1, 3, '', 0, '', '', 1), (2330, 'merch', 'manjian', '满减设置', 'MERCH_MANJIAN_LIST', 'MERCH_MANJIAN', 3, 'manjian://merchant/manjian/lists', 1, 1, '', 0, '', '', 1), (2331, 'merch', 'manjian', '活动详情', 'MERCH_MANJIAN_DETAIL', 'MERCH_MANJIAN', 3, 'manjian://merchant/manjian/detail', 0, 1, '', 0, '', '', 1), (2332, 'merch', 'manjian', '添加活动', 'MERCH_MANJIAN_ADD', 'MERCH_MANJIAN', 3, 'manjian://merchant/manjian/add', 0, 1, '', 0, '', '', 1), (2333, 'merch', 'manjian', '编辑活动', 'MERCH_MANJIAN_EDIT', 'MERCH_MANJIAN', 3, 'manjian://merchant/manjian/edit', 0, 1, '', 0, '', '', 1), (2334, 'merch', 'manjian', '关闭活动', 'MERCH_MANJIAN_CLOSE', 'MERCH_MANJIAN', 3, 'manjian://merchant/manjian/close', 0, 1, '', 0, '', '', 1), (2335, 'merch', 'manjian', '删除活动', 'MERCH_MANJIAN_DELETE', 'MERCH_MANJIAN', 3, 'manjian://merchant/manjian/delete', 0, 1, '', 0, '', '', 1), (2336, 'shop', 'manjian', '满额立减', 'PROMOTION_MANJIAN', 'SALE_ROOT', 2, 'manjian://shop/manjian/lists', 1, 2, '', 0, '', '', 1), (2337, 'shop', 'manjian', '满减设置', 'PROMOTION_MANJIAN_LIST', 'PROMOTION_MANJIAN', 3, 'manjian://shop/manjian/lists', 1, 1, '', 0, '', '', 1), (2338, 'shop', 'manjian', '活动详情', 'PROMOTION_MANJIAN_DETAIL', 'PROMOTION_MANJIAN', 3, 'manjian://shop/manjian/detail', 0, 1, '', 0, '', '', 1), (2339, 'shop', 'manjian', '添加活动', 'PROMOTION_MANJIAN_ADD', 'PROMOTION_MANJIAN', 3, 'manjian://shop/manjian/add', 0, 1, '', 0, '', '', 1), (2340, 'shop', 'manjian', '编辑活动', 'PROMOTION_MANJIAN_EDIT', 'PROMOTION_MANJIAN', 3, 'manjian://shop/manjian/edit', 0, 1, '', 0, '', '', 1), (2341, 'shop', 'manjian', '关闭活动', 'PROMOTION_MANJIAN_CLOSE', 'PROMOTION_MANJIAN', 3, 'manjian://shop/manjian/close', 0, 1, '', 0, '', '', 1), (2342, 'shop', 'manjian', '删除活动', 'PROMOTION_MANJIAN_DELETE', 'PROMOTION_MANJIAN', 3, 'manjian://shop/manjian/delete', 0, 1, '', 0, '', '', 1), (2343, 'shop', '', '信息列表', 'MEMBER_INFORMATION', 'MEMBER_ROOT', 3, 'shop/member/information', 1, 10, '', 0, 'app/shop/view/public/img/icon_new/member_label_new.png', 'app/shop/view/public/img/icon_new/member_label_select.png', 1), (2345, 'shop', '', '商品留言', 'GOODS_MEMBER_FORM', 'GOODS_MANAGE', 3, 'shop/goods/goodsform', 1, 10, '', 0, 'app/shop/view/public/img/icon_new/goods_label_new.png', 'app/shop/view/public/img/icon_new/goods_label_select.png', 1), (2359, 'shop', '', '隐私协议', 'LOGIN_REG_YINSI', 'CONFIG_BASE_OTHER', 4, 'shop/member/privacy', 1, 8, '', 0, 'app/shop/view/public/img/icon/member.png', 'app/shop/view/public/img/icon/member.png', 1), (2360, 'merch', '', '提现记录', 'MERCH_APPLY_LOG', 'MERCH_APPLY_ROOT', 2, 'merchant/apply/withdrawal', 1, 2, '', 0, 'icon-zuocedaohang-shuju', '', 1), (2361, 'merch', '', '资产概览', 'MERCH_APPLY_OVERVIEW', 'MERCH_APPLY_ROOT', 2, 'merchant/apply/overview', 1, 1, '', 0, 'icon-zuocedaohang-shuju', '', 1), (2368, 'shop', 'alisms', '短信配置', 'ALI_SMS_CONFIG', 'CONFIG_BASE', 3, 'alisms://shop/sms/config', 1, 98, '', 0, '', '', 1), (2369, 'shop', 'alisms', '编辑短信模板', 'MESSAGE_SMS_EDIT', '', 1, 'alisms://shop/message/edit', 0, 1, '', 0, '', '', 1), (2414, 'shop', '', '启动广告', 'STARTADV_SHOW', 'SHOP_DIY', 3, 'shop/diy/startadv', 1, 12, '', 0, '', '', 1), (2422, 'shop', 'fenxiao', '分销', 'PROMOTIONFENXIAO', '', 1, 'fenxiao://shop/fenxiao/index', 1, 8, '', 0, 'icon-zuocedaohang-qudao', 'icon-zuocedaohang-qudao', 1), (2423, 'shop', 'fenxiao', '分销概况', 'PROMOTION_FENXIAO_INDEX', 'PROMOTIONFENXIAO', 2, 'fenxiao://shop/fenxiao/index', 1, 1, '', 0, '', '', 1), (2424, 'shop', 'fenxiao', '分销商管理', 'FENXIAO_ROOT', 'PROMOTIONFENXIAO', 2, 'fenxiao://shop/fenxiao/lists', 1, 2, '', 0, '', '', 1), (2425, 'shop', 'fenxiao', '待审核', 'PROMOTION_FENXIAO_APPLY', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/apply', 1, 1, '', 0, '', '', 1), (2426, 'shop', 'fenxiao', '全部分销商', 'FENXIAO_LISTS', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/lists', 1, 2, '', 0, '', '', 1), (2427, 'shop', 'fenxiao', '审核通过', 'PROMOTION_FENXIAO_PASS', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/pass', 0, 100, '', 0, '', '', 1), (2428, 'shop', 'fenxiao', '审核拒绝', 'PROMOTION_FENXIAO_REFUSE', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/refuse', 0, 100, '', 0, '', '', 1), (2429, 'shop', 'fenxiao', '分销商信息', 'PROMOTION_FENXIAO_DETAIL', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/detail', 0, 100, '', 0, '', '', 1), (2430, 'shop', 'fenxiao', '分销商团队', 'PROMOTION_FENXIAO_TEAM', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/team', 0, 100, '', 0, '', '', 1), (2431, 'shop', 'fenxiao', '账户明细', 'PROMOTION_FENXIAO_ACCOUNT', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/account', 0, 100, '', 0, '', '', 1), (2432, 'shop', 'fenxiao', '订单管理', 'PROMOTION_FENXIAO_ORDERMANAGE', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/order', 0, 100, '', 0, '', '', 1), (2433, 'shop', 'fenxiao', '订单详情', 'PROMOTION_FENXIAO_ORDERMANAGEDETAIL', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/orderdetail', 0, 100, '', 0, '', '', 1), (2434, 'shop', 'fenxiao', '添加分销商', 'PROMOTION_FENXIAO_ADD', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/add', 0, 100, '', 0, '', '', 1), (2435, 'shop', 'fenxiao', '冻结', 'PROMOTION_FENXIAO_FROZEN', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/frozen', 0, 100, '', 0, '', '', 1), (2436, 'shop', 'fenxiao', '恢复正常', 'PROMOTION_FENXIAO_UNFROZEN', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/unfrozen', 0, 100, '', 0, '', '', 1), (2437, 'shop', 'fenxiao', '变更上级分销商', 'PROMOTION_FENXIAO_CHANGE_LEVEL', 'FENXIAO_ROOT', 3, 'fenxiao://shop/fenxiao/confirmChange', 0, 100, '', 0, '', '', 1), (2438, 'shop', 'fenxiao', '分销等级', 'PROMOTION_FENXIAO_LEVEL', 'PROMOTIONFENXIAO', 2, 'fenxiao://shop/level/lists', 1, 3, '', 0, '', '', 1), (2439, 'shop', 'fenxiao', '添加等级', 'PROMOTION_FENXIAO_LEVEL_ADD', 'PROMOTION_FENXIAO_LEVEL', 3, 'fenxiao://shop/level/add', 0, 100, '', 0, '', '', 1), (2440, 'shop', 'fenxiao', '编辑等级', 'PROMOTION_FENXIAO_LEVEL_EDIT', 'PROMOTION_FENXIAO_LEVEL', 3, 'fenxiao://shop/level/edit', 0, 100, '', 0, '', '', 1), (2441, 'shop', 'fenxiao', '等级状态设置', 'PROMOTION_FENXIAO_LEVEL_STATUS', 'PROMOTION_FENXIAO_LEVEL', 3, 'fenxiao://shop/level/status', 0, 100, '', 0, '', '', 1), (2442, 'shop', 'fenxiao', '删除等级', 'PROMOTION_FENXIAO_LEVEL_DELETE', 'PROMOTION_FENXIAO_LEVEL', 3, 'fenxiao://shop/level/delete', 0, 100, '', 0, '', '', 1), (2443, 'shop', 'fenxiao', '分销商品', 'PROMOTION_FENXIAO_GOODS_LIST', 'PROMOTIONFENXIAO', 2, 'fenxiao://shop/goods/lists', 1, 4, '', 0, '', '', 1), (2444, 'shop', 'fenxiao', '商品详情', 'PROMOTION_FENXIAO_GOODS_DETAIL', 'PROMOTION_FENXIAO_GOODS_LIST', 3, 'fenxiao://shop/goods/detail', 0, 100, '', 0, '', '', 1), (2445, 'shop', 'fenxiao', '商品设置', 'PROMOTION_FENXIAO_GOODS_CONFIG', 'PROMOTION_FENXIAO_GOODS_LIST', 3, 'fenxiao://shop/goods/config', 0, 1, '', 0, '', '', 1), (2446, 'shop', 'fenxiao', '状态设置', 'PROMOTION_FENXIAO_GOODS_MODIFY', 'PROMOTION_FENXIAO_GOODS_LIST', 3, 'fenxiao://shop/goods/modify', 0, 1, '', 0, '', '', 1), (2447, 'shop', 'fenxiao', '是否参与分销', 'PROMOTION_FENXIAO_SET_GOODS_IS_FENXIAO', 'PROMOTION_FENXIAO_GOODS_LIST', 3, 'fenxiao://shop/goods/setGoodsIsFenxiao', 0, 1, '', 0, '', '', 1), (2448, 'shop', 'fenxiao', '分销订单', 'PROMOTION_FENXIAO_ORDER', 'PROMOTIONFENXIAO', 2, 'fenxiao://shop/order/lists', 1, 5, '', 0, '', '', 1), (2449, 'shop', 'fenxiao', '订单详情', 'PROMOTION_FENXIAO_ORDER_DETAIL', 'PROMOTION_FENXIAO_ORDER', 3, 'fenxiao://shop/order/detail', 0, 1, '', 0, '', '', 1), (2450, 'shop', 'fenxiao', '分销提现', 'PROMOTION_FENXIAO_WITHDRAW', 'PROMOTIONFENXIAO', 2, 'fenxiao://shop/withdraw/lists', 1, 6, '', 0, '', '', 1), (2451, 'shop', 'fenxiao', '佣金提现详情', 'PROMOTION_FENXIAO_WITHDRAW_DETAIL', 'PROMOTION_FENXIAO_WITHDRAW', 3, 'fenxiao://shop/withdraw/detail', 0, 100, '', 0, '', '', 1), (2452, 'shop', 'fenxiao', '审核通过', 'PROMOTION_FENXIAO_WITHDRAW_PASS', 'PROMOTION_FENXIAO_WITHDRAW', 3, 'fenxiao://shop/withdraw/withdrawpass', 0, 100, '', 0, '', '', 1), (2453, 'shop', 'fenxiao', '审核拒绝', 'PROMOTION_FENXIAO_WITHDRAW_REFUSE', 'PROMOTION_FENXIAO_WITHDRAW', 3, 'fenxiao://shop/withdraw/withdrawrefuse', 0, 100, '', 0, '', '', 1), (2454, 'shop', 'fenxiao', '分销设置', 'PROMOTION_FENXIAO_CONFIG', 'PROMOTIONFENXIAO', 2, 'fenxiao://shop/config/basics', 1, 7, '', 0, '', '', 1), (2455, 'shop', 'fenxiao', '基础设置', 'PROMOTION_FENXIAO_BASICS', 'PROMOTION_FENXIAO_CONFIG', 3, 'fenxiao://shop/config/basics', 1, 100, '', 0, '', '', 1), (2456, 'shop', 'fenxiao', '申请协议', 'PROMOTION_FENXIAO_AGREEMENT', 'PROMOTION_FENXIAO_CONFIG', 3, 'fenxiao://shop/config/agreement', 1, 100, '', 0, '', '', 1), (2457, 'shop', 'fenxiao', '提现设置', 'PROMOTION_FENXIAO_SETTLEMENT', 'PROMOTION_FENXIAO_CONFIG', 3, 'fenxiao://shop/config/settlement', 1, 100, '', 0, '', '', 1), (2458, 'shop', 'fenxiao', '文字设置', 'PROMOTION_FENXIAO_WORDS', 'PROMOTION_FENXIAO_CONFIG', 3, 'fenxiao://shop/config/words', 1, 100, '', 0, '', '', 1), (2459, 'shop', '', '注册设置', 'SMS_REG', 'CONFIG_BASE', 3, 'alisms://shop/message/edit', 1, 99, '', 0, '', '', 1), (2460, 'shop', '', '文件管理', 'FLLES_MANAGE', 'SHOP_ROOT', 2, 'shop/files/lists', 1, 3, '', 0, '', '', 1), (2461, 'shop', '', '文件列表', 'FLLES_LIST', 'FLLES_MANAGE', 3, 'shop/files/lists', 1, 1, '', 0, '', '', 1), (2462, 'shop', '', '添加文件', 'FLLES_ADD', 'FLLES_LIST', 5, 'shop/files/add', 0, 1, '', 0, '', '', 1), (2463, 'shop', '', '编辑文件', 'FLLES_EDIT', 'FLLES_LIST', 5, 'shop/files/edit', 0, 2, '', 0, '', '', 1), (2464, 'shop', '', '删除文件', 'FLLES_DELETE', 'FLLES_LIST', 5, 'shop/files/delete', 0, 3, '', 0, '', '', 1), (2465, 'shop', 'memberconsume', '消费奖励', 'MEMBER_CONSUME', 'SALE_ROOT', 2, 'memberconsume://shop/config/index', 1, 100, '', 0, '', '', 1), (2466, 'shop', 'memberconsume', '奖励设置', 'MEMBER_CONSUME_CONFIG', 'MEMBER_CONSUME', 3, 'memberconsume://shop/config/index', 1, 1, '', 0, '', '', 1), (2467, 'shop', 'memberconsume', '奖励记录', 'MEMBER_CONSUME_LIST', 'MEMBER_CONSUME', 3, 'memberconsume://shop/config/lists', 1, 1, '', 0, '', '', 1), (2468, 'shop', 'merch', '商户', 'MERCH_ROOT', '', 1, 'merch://shop/merch/lists', 1, 9, '', 0, 'icon-zuocedaohang-huiyuan', 'icon-zuocedaohang-huiyuan', 1), (2469, 'shop', 'merch', '商户管理', 'MERCH_MANAGE', 'MERCH_ROOT', 2, 'merch://shop/merch/lists', 1, 1, '', 0, '', '', 1), (2470, 'shop', 'merch', '商户列表', 'MERCH_LIST', 'MERCH_MANAGE', 3, 'merch://shop/merch/lists', 1, 1, '', 0, '', '', 1), (2471, 'shop', 'merch', '添加商户', 'MERCH_ADD', 'MERCH_MANAGE', 3, 'merch://shop/merch/add', 0, 1, '', 0, '', '', 1), (2472, 'shop', 'merch', '编辑商户', 'MERCH_EDIT', 'MERCH_MANAGE', 3, 'merch://shop/merch/edit', 0, 2, '', 0, '', '', 1), (2473, 'shop', 'merch', '删除商户', 'MERCH_DELETE', 'MERCH_MANAGE', 3, 'merch://shop/merch/delete', 0, 3, '', 0, '', '', 1), (2474, 'shop', 'merch', '商户分类', 'MERCH_CATEGORY_LIST', 'MERCH_MANAGE', 3, 'merch://shop/category/lists', 1, 2, '', 0, '', '', 1), (2475, 'shop', 'merch', '添加分类', 'MERCH_CATEGORY_ADD', 'MERCH_MANAGE', 3, 'merch://shop/category/add', 0, 1, '', 0, '', '', 1), (2476, 'shop', 'merch', '编辑分类', 'MERCH_CATEGORY_EDIT', 'MERCH_MANAGE', 3, 'merch://shop/category/edit', 0, 2, '', 0, '', '', 1), (2477, 'shop', 'merch', '删除分类', 'MERCH_CATEGORY_DELETE', 'MERCH_MANAGE', 3, 'merch://shop/category/delete', 0, 3, '', 0, '', '', 1), (2478, 'shop', 'merch', '提现管理', 'MERCH_APPLY', 'MERCH_ROOT', 2, 'merch://shop/apply/lists', 1, 3, '', 0, '', '', 1), (2479, 'shop', 'merch', '提现记录', 'MERCH_CHECK', 'MERCH_APPLY', 3, 'merch://shop/apply/lists', 1, 1, '', 0, '', '', 1), (2496, 'shop', 'membercancel', '会员注销', 'PROMOTION_MEMBERCANCEL', 'MEMBER_ROOT', 2, 'membercancel://shop/membercancel/lists', 0, 6, '', 0, '', '', 1), (2497, 'shop', '', '会员卡列表', 'MEMBERCARD_LIST', 'MEMBERCARD_ROOT', 3, 'shop/card/lists', 1, 1, '', 0, '', '', 1), (2498, 'shop', '', '会员卡', 'MEMBERCARD_ROOT', '', 1, 'shop/card/lists', 1, 4, '', 0, 'icon-zuocedaohang-dingdan1', '', 1), (2499, 'shop', '', '导入会员卡', 'MEMBERCARD_IMPORT', 'MEMBERCARD_ROOT', 3, 'shop/card/import', 1, 1, '', 0, '', '', 1), (2500, 'shop', '', '会员卡导入历史', 'MEMBERCARD_IMPORT_LOG', 'MEMBERCARD_IMPORT', 4, 'shop/card/cardimportlist', 0, 14, '', 0, '', '', 1), (2501, 'shop', '', '设置', 'MEMBERCARD_SET', 'MEMBERCARD_ROOT', 3, 'shop/card/set', 1, 1, '', 0, '', '', 1), (2502, 'shop', '', '文件分类', 'FLLES_CATEGORY', 'FLLES_MANAGE', 3, 'shop/files/category', 1, 2, '', 0, '', '', 1), (2519, 'shop', 'cases', '案例展示', 'CASES_ROOT', 'PROMOTION_TOOL', 3, 'cases://shop/cases/lists', 1, 100, '', 0, 'addon/cases/shop/view/public/img/live_new.png', 'addon/cases/shop/view/public/img/live_select.png', 1), (2520, 'shop', 'cases', '人员列表', 'CASES_LIST', 'CASES_ROOT', 4, 'cases://shop/cases/lists', 1, 1, '', 0, '', '', 1), (2521, 'shop', 'cases', '添加人员', 'CASES_ADD', 'CASES_LIST', 5, 'cases://shop/cases/add', 0, 1, '', 0, '', '', 1), (2522, 'shop', 'cases', '编辑人员', 'CASES_EDIT', 'CASES_LIST', 5, 'cases://shop/cases/edit', 0, 1, '', 0, '', '', 1), (2523, 'shop', 'cases', '删除人员', 'CASES_DELETE', 'CASES_LIST', 5, 'cases://shop/cases/delete', 0, 1, '', 0, '', '', 1), (2524, 'shop', 'cases', '企业文件', 'CASES_ENTERPRISE_LIST', 'CASES_ROOT', 4, 'cases://shop/enterprise/lists', 1, 2, '', 0, '', '', 1), (2525, 'shop', 'cases', '添加企业文件', 'CASES_ENTERPRISE_ADD', 'CASES_ENTERPRISE_LIST', 5, 'cases://shop/enterprise/add', 0, 1, '', 0, '', '', 1), (2526, 'shop', 'cases', '编辑企业文件', 'CASES_ENTERPRISE_EDIT', 'CASES_ENTERPRISE_LIST', 5, 'cases://shop/enterprise/edit', 0, 1, '', 0, '', '', 1), (2527, 'shop', 'cases', '删除企业文件', 'CASES_ENTERPRISE_DELETE', 'CASES_ENTERPRISE_LIST', 5, 'cases://shop/enterprise/delete', 0, 2, '', 0, '', '', 1), (2528, 'shop', 'cases', '视频文件', 'CASES_VIDEO_LIST', 'CASES_ROOT', 4, 'cases://shop/enterprise/videolists', 1, 3, '', 0, '', '', 1), (2529, 'shop', 'cases', '添加视频文件', 'CASES_VIDEO_ADD', 'CASES_VIDEO_LIST', 5, 'cases://shop/enterprise/videoadd', 0, 1, '', 0, '', '', 1), (2530, 'shop', 'cases', '编辑视频文件', 'CASES_VIDEO_EDIT', 'CASES_VIDEO_LIST', 5, 'cases://shop/enterprise/videoedit', 0, 1, '', 0, '', '', 1), (2531, 'shop', 'cases', '删除视频文件', 'CASES_VIDEO_DELETE', 'CASES_VIDEO_LIST', 5, 'cases://shop/enterprise/videodelete', 0, 2, '', 0, '', '', 1), (2532, 'shop', 'cases', '设置', 'CASES_SET', 'CASES_ROOT', 4, 'cases://shop/cases/set', 1, 6, '', 0, '', '', 1), (2533, 'shop', 'personnel', '电子名片', 'PERSONNEL_ROOT', 'PROMOTION_TOOL', 3, 'personnel://shop/personnel/lists', 1, 100, '', 0, 'addon/personnel/shop/view/public/img/live_new.png', 'addon/personnel/shop/view/public/img/live_select.png', 1), (2534, 'shop', 'personnel', '人员列表', 'PERSONNEL_LIST', 'PERSONNEL_ROOT', 4, 'personnel://shop/personnel/lists', 1, 1, '', 0, '', '', 1), (2535, 'shop', 'personnel', '添加人员', 'PROMOTION_ADD', 'PERSONNEL_LIST', 5, 'personnel://shop/personnel/add', 0, 1, '', 0, '', '', 1), (2536, 'shop', 'personnel', '编辑人员', 'PROMOTION_EDIT', 'PERSONNEL_LIST', 5, 'personnel://shop/personnel/edit', 0, 1, '', 0, '', '', 1), (2537, 'shop', 'personnel', '删除人员', 'PERSONNEL_DELETE', 'PERSONNEL_LIST', 5, 'personnel://shop/personnel/delete', 0, 1, '', 0, '', '', 1), (2538, 'shop', 'personnel', '企业文件', 'PERSONNEL_ENTERPRISE_LIST', 'PERSONNEL_ROOT', 4, 'personnel://shop/enterprise/lists', 1, 2, '', 0, '', '', 1), (2539, 'shop', 'personnel', '添加企业文件', 'PROMOTION_ENTERPRISE_ADD', 'PERSONNEL_ENTERPRISE_LIST', 5, 'personnel://shop/enterprise/add', 0, 1, '', 0, '', '', 1), (2540, 'shop', 'personnel', '编辑企业文件', 'PROMOTION_ENTERPRISE_EDIT', 'PERSONNEL_ENTERPRISE_LIST', 5, 'personnel://shop/enterprise/edit', 0, 1, '', 0, '', '', 1), (2541, 'shop', 'personnel', '删除企业文件', 'PERSONNEL_ENTERPRISE_DELETE', 'PERSONNEL_ENTERPRISE_LIST', 5, 'personnel://shop/enterprise/delete', 0, 2, '', 0, '', '', 1), (2542, 'shop', 'personnel', '视频文件', 'PERSONNEL_VIDEO_LIST', 'PERSONNEL_ROOT', 4, 'personnel://shop/enterprise/videolists', 1, 3, '', 0, '', '', 1), (2543, 'shop', 'personnel', '添加视频文件', 'PROMOTION_VIDEO_ADD', 'PERSONNEL_VIDEO_LIST', 5, 'personnel://shop/enterprise/videoadd', 0, 1, '', 0, '', '', 1), (2544, 'shop', 'personnel', '编辑视频文件', 'PROMOTION_VIDEO_EDIT', 'PERSONNEL_VIDEO_LIST', 5, 'personnel://shop/enterprise/videoedit', 0, 1, '', 0, '', '', 1), (2545, 'shop', 'personnel', '删除视频文件', 'PERSONNEL_VIDEO_DELETE', 'PERSONNEL_VIDEO_LIST', 5, 'personnel://shop/enterprise/videodelete', 0, 2, '', 0, '', '', 1), (2546, 'shop', 'personnel', '留言列表', 'MESSAGE_ROOT', 'PERSONNEL_ROOT', 4, 'personnel://shop/personnel/message', 1, 4, '', 0, '', '', 1), (2547, 'shop', 'personnel', '电子名片', 'CONTACT_SHOW', 'PERSONNEL_ROOT', 4, 'personnel://shop/personnel/diy', 1, 5, '', 0, '', '', 1), (2548, 'shop', 'personnel', '设置', 'MESSAGE_SET', 'PERSONNEL_ROOT', 4, 'personnel://shop/personnel/set', 1, 6, '', 0, '', '', 1), (2651, 'shop', '', '密封件', 'MIFENGJIAN_ROOT', '', 1, 'shop/seal/medium', 1, 4, '', 0, 'icon-zuocedaohang-dingdan1', '', 1), (2652, 'shop', '', '介质材料', 'JIEZHI_ROOT', 'MIFENGJIAN_ROOT', 2, 'shop/seal/medium', 1, 4, '', 0, 'icon-zuocedaohang-dingdan1', '', 1), (2653, 'shop', '', '结构选型', 'JIEGOU_ROOT', 'MIFENGJIAN_ROOT', 2, 'shop/seal/structure', 1, 4, '', 0, 'icon-zuocedaohang-dingdan1', '', 1), (2654, 'shop', '', '材料列表', 'JIEZHI_LIST', 'JIEZHI_ROOT', 3, 'shop/seal/medium', 1, 4, '', 0, 'icon-zuocedaohang-dingdan1', '', 1), (2655, 'shop', '', '导入材料', 'JIEZHI_DAORU', 'JIEZHI_ROOT', 3, 'shop/seal/mediumimport', 1, 4, '', 0, 'icon-zuocedaohang-dingdan1', '', 1), (2656, 'shop', '', '添加', 'JIEZHI_ADD', 'JIEGOU_ROOT', 2, 'shop/seal/poststructure', 0, 4, '', 0, 'icon-zuocedaohang-dingdan1', '', 1), (2657, 'shop', '', '业务员', 'MEMBER_YEWU', 'MEMBER_ROOT', 3, 'shop/member/business', 1, 11, '', 0, 'app/shop/view/public/img/icon_new/member_label_new.png', 'app/shop/view/public/img/icon_new/member_label_select.png', 1); create table if not exists lucky_merch ( merch_id int auto_increment primary key, status int default 1 not null comment '店铺经营状态(0.关闭,1正常)', merch_name varchar(255) null, close_info varchar(255) default '' not null comment '店铺关闭原因', sort int default 0 not null comment '排序号', end_time int default 0 not null comment '关闭时间', banner varchar(255) default '' null comment '店铺条幅', realname varchar(255) default '' null comment '联系人姓名', telphone varchar(255) default '' null comment '联系电话', mobile varchar(255) default '' null comment '联系手机号', workingtime int default 0 null comment '工作时间', province_id int default 0 null comment '省id', province_name varchar(50) default '' null comment '省名称', city_id int default 0 null comment '城市id', city_name varchar(50) default '' null comment '城市名称', district_id int default 0 null comment '区县id', district_name varchar(50) default '' null comment '区县地址', community_id int default 0 null comment '乡镇地址id', community_name varchar(50) default '' null comment '乡镇地址名称', address varchar(255) default '' null comment '详细地址', full_address varchar(255) default '' null comment '完整地址', longitude varchar(20) default '' null comment '经度', latitude varchar(20) default '' null comment '纬度', email varchar(50) default '' null, create_time int default 0 not null comment '创建时间', store_settlement_time int default 0 null comment '门店最后结算时间', work_week varchar(50) default '' null comment '工作日', site_id int not null, merch_image varchar(255) null comment '商户logo', uid int null comment '对应用户组id', settlement_rate decimal(10, 2) default 0.00 not null comment '抽成比例', order_money decimal(10, 2) default 0.00 null comment '累计订单金额', `desc` varchar(255) null comment '简介', balance decimal(10, 2) default 0.00 not null comment '余额', balance_withdraw decimal(10, 2) default 0.00 not null comment '已提现金额', balance_withdraw_apply decimal(10, 2) default 0.00 not null comment '提现中余额', category_id int default 0 not null comment '商户分类id' ) comment '店铺表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_merch_category ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', category_name varchar(50) default '' not null comment '分类名称', `desc` varchar(255) default '' not null comment '描述', create_time int default 0 not null, update_time int default 0 not null, sort int default 0 not null ) comment '商户分类' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_merch_log ( id int auto_increment primary key, site_id int default 0 not null, merch_id int not null, money decimal(10, 2) default 0.00 not null comment '金额', remark varchar(255) null comment '备注', createtime int null ) engine = MyISAM collate = utf8_unicode_ci row_format = DYNAMIC; create table if not exists lucky_merch_settlement ( id int auto_increment primary key, site_id int not null, merch_id int not null, order_no varchar(255) null comment '订单编号', order_money decimal(10, 2) default 0.00 not null comment '订单金额', proportion decimal(10, 2) default 0.00 not null comment '抽成比例', withdrawal decimal(10, 2) default 0.00 not null comment '分佣后金额=订单金额/抽成比例', finish_time int null comment '订单完成时间', status int default 0 not null comment '0不入账1入账', createtime int null, proportion_money decimal(10, 2) default 0.00 not null comment '平台获得佣金' ) engine = MyISAM collate = utf8_unicode_ci row_format = DYNAMIC; create table if not exists lucky_merch_withdraw ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', withdraw_no varchar(50) default '' not null comment '提现交易号', merch_name varchar(50) default '' not null comment '商户名称', merch_id int default 0 not null comment '商户id', transfer_type varchar(20) default '' not null comment '转账提现类型', realname varchar(50) default '' not null comment '真实姓名', apply_money decimal(10, 2) default 0.00 not null comment '提现申请金额', rate decimal(10, 2) default 0.00 not null comment '提现手续费比率', service_money decimal(10, 2) default 0.00 not null comment '提现手续费', money decimal(10, 2) default 0.00 not null comment '提现到账金额', apply_time int default 0 not null comment '申请时间', audit_time int default 0 not null comment '审核时间', payment_time int default 0 not null comment '转账时间', status int default 0 not null comment '状态0待审核1.待转账2已转账 -1拒绝 -2转账失败', memo varchar(100) default '' null comment '备注', refuse_reason varchar(100) default '' null comment '拒绝理由', merch_logo varchar(255) default '' not null, status_name varchar(20) default '' not null comment '提现状态名称', transfer_type_name varchar(20) default '' not null comment '转账方式名称', bank_name varchar(255) default '' not null comment '银行名称', account_number varchar(255) default '' not null comment '收款账号', mobile varchar(255) default '' null comment '手机号', certificate varchar(255) default '' null comment '凭证', certificate_remark varchar(255) default '' null comment '凭证说明', account_name varchar(50) default '' null comment '账号', fail_reason varchar(255) default '' not null comment '失败原因' ) comment '商户提现表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_message ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', keywords varchar(50) default '' not null comment '关键字', sms_is_open tinyint default 0 not null comment '短信消息是否启动', wechat_is_open int default 0 not null comment '微信公众号消息', wechat_template_id varchar(255) default '' not null comment '微信公众号ID', weapp_is_open int default 0 not null comment '微信小程序是否启动', weapp_template_id varchar(1000) default '' not null comment '微信小程序配置参数', aliapp_is_open int default 0 not null comment '支付宝小程序是否启动', aliapp_template_id varchar(1000) default '' not null comment '支付宝小程序配置参数' ) comment '消息管理' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_message_email_records ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', account varchar(255) default '' not null comment '接收者账号', status int default 0 not null comment '发送状态', title varchar(255) default '' not null comment '标题', content varchar(255) default '' not null comment '内容', keywords varchar(255) default '' not null comment '消息类型关键字', create_time int default 0 not null comment '创建时间', send_time int default 0 not null comment '发送时间', result varchar(255) default '' not null comment '发送结果', keywords_name varchar(50) default '' not null comment '关键字名称' ) comment '邮箱信息发送记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_message_send_log ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', keywords varchar(255) default '' not null comment '关键字', message_type varchar(255) default '' not null comment '消息类型', addon varchar(255) default '' not null comment '执行插件', title varchar(255) default '' not null comment '主题', message_json varchar(1000) default '' not null comment '消息内容json', create_time int default 0 not null comment '创建时间', send_time int default 0 not null comment '发送时间', send_log text null comment '发送结果', is_success int default 0 not null comment '是否发送成功' ) comment '消息发送日志' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_message_sms_records ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', account varchar(255) default '' not null comment '接收人账号', keywords varchar(255) default '' not null comment '消息类型关键字', status int default 0 not null comment '发送状态', result varchar(255) default '' not null comment '结果', content varchar(255) default '' not null comment '短信内容', var_parse varchar(255) default '' not null comment '短信内容变量解析 json', create_time int default 0 not null comment '创建时间', send_time int default 0 not null comment '发送时间', code varchar(255) default '' not null comment '模板编号', addon varchar(50) default '' not null comment '发送插件', addon_name varchar(50) default '' not null comment '发送方式名称', keywords_name varchar(50) default '' not null comment '关键字名称', site_name varchar(255) default '' not null comment '站点名称', sys_uid int default 0 not null comment '用户id' ) comment '短信消息发送记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_message_template ( id int(11) unsigned auto_increment comment '主键' primary key, addon varchar(255) default '' not null comment '插件', keywords varchar(50) default '' not null comment '关键字', title varchar(255) default '' not null comment '主题', message_type int default 1 not null comment '消息类型 1 买家消息 2 卖家消息', message_json varchar(1000) default '' not null comment '配置参数', sms_addon varchar(255) default '' not null comment '发送短信插件', sms_json varchar(1000) default '' not null comment '短信配置参数', sms_content varchar(1000) default '' not null comment '短信内容', wechat_json varchar(1000) default '' not null comment '配置参数', weapp_json varchar(1000) default '' not null comment '微信小程序配置参数', aliapp_json varchar(1000) default '' not null comment '支付宝小程序配置参数', support_type varchar(255) default '' not null comment '支持场景 如小程序 wep端', remark varchar(255) default '' not null comment '说明' ) comment '消息管理' charset = utf8 avg_row_length = 862 row_format = DYNAMIC; create table if not exists lucky_message_variable ( id int auto_increment primary key, title varchar(50) default '' not null comment '变量名', name varchar(50) default '' not null comment '变量', support_message_array varchar(255) default '' not null comment '支持消息' ) comment '消息模板变量' charset = utf8 avg_row_length = 5461 row_format = DYNAMIC; create table if not exists lucky_message_wechat_records ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', open_id varchar(255) default '' not null comment '接收者账号', status int default 0 not null comment '发送状态', keyword_json varchar(255) default '' not null comment '模板消息字段', keywords varchar(255) default '' not null comment '消息类型关键字', create_time int default 0 not null comment '创建时间', send_time int default 0 not null comment '发送时间', result varchar(255) default '' not null comment '发送结果', url varchar(255) default '' not null comment '发送模板消息携带链接', keywords_name varchar(50) default '' not null comment '关键字名称' ) comment '微信公众号消息发送记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_notes ( note_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', note_type varchar(255) default '' not null comment '笔记类型', note_title varchar(255) default '' not null comment '标题', note_abstract varchar(255) default '' not null comment '摘要', group_id int default 0 not null comment '分组id', cover_type tinyint default 0 not null comment '封面图片类型(0单图 1多图)', cover_img varchar(2000) default '' not null comment '封面图片', goods_ids varchar(255) default '' not null comment '商品id(根据类型判断商品是单个还是多个)', goods_highlights varchar(255) default '' not null comment '商品亮点(单品有效)', note_content longtext null comment '内容', status tinyint default 0 not null comment '状态(0草稿箱 1发布)', is_show_release_time tinyint default 0 not null comment '发布时间是否显示', is_show_read_num tinyint default 0 not null comment '阅读数是否显示', is_show_dianzan_num tinyint default 0 not null comment '点赞数是否显示', read_num int default 0 not null comment '阅读数', dianzan_num int default 0 not null comment '点赞数', create_time int default 0 null, update_time int default 0 not null, initial_read_num int default 0 not null comment '初始阅读数', initial_dianzan_num int default 0 not null comment '初始点赞数', sort int default 0 not null comment '排序', release_time int default 0 not null comment '发布时间', note_link varchar(255) default '' not null comment '公众号文章链接', video_path varchar(255) default '' not null comment '视频地址' ) comment '店铺笔记' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_notes_group_id on lucky_notes (group_id); create index IDX_ns_promotion_notes_site_id on lucky_notes (site_id); create table if not exists lucky_notes_dianzan_record ( record_id int(11) unsigned auto_increment primary key, note_id int default 0 not null comment '站点id', member_id int default 0 not null comment '分组名称' ) comment '笔记点赞记录' charset = utf8 row_format = DYNAMIC; create index IDX_ns_notes_dianzan_record_member_id on lucky_notes_dianzan_record (member_id); create index IDX_ns_notes_dianzan_record_note_id on lucky_notes_dianzan_record (note_id); create table if not exists lucky_notes_group ( group_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', group_name varchar(255) default '' not null comment '分组名称', sort int default 0 not null comment '排序', notes_num int default 0 not null comment '笔记数', release_num int default 0 not null comment '发布数', create_time int default 0 not null, update_time int default 0 not null ) comment '笔记分组' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_notice ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', title varchar(255) default '' not null comment '主题', content text null comment '内容', is_top int default 0 not null comment '是否置顶', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', receiving_type varchar(50) default '' not null comment '接受对象', receiving_name varchar(50) default '' not null comment '接受对象名称', sort int default 0 not null comment '公告排序' ) comment '公告' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_order ( order_id int auto_increment primary key, order_no varchar(50) default '' not null comment '订单编号', site_id int default 0 not null comment '商家id', site_name varchar(50) default '' not null comment '店铺名称', website_id int default 0 not null comment '分站id', order_name varchar(1000) default '' not null comment '订单内容', order_from varchar(55) default '' not null comment '订单来源', order_from_name varchar(50) default '' not null comment '订单来源名称', order_type int default 0 not null comment '订单类型 1. 普通订单 2. 门店订单 3. 本地配送订单4. 虚拟订单', order_type_name varchar(50) default '' not null comment '订单类型名称', order_promotion_type int default 0 not null comment '订单营销类型', order_promotion_name varchar(50) default '' not null comment '营销活动类型名称', promotion_id int default 0 not null comment '营销活动id', out_trade_no varchar(50) default '' not null comment '支付流水号', out_trade_no_2 varchar(50) default '' not null comment '支付流水号(多次支付)', delivery_code varchar(50) default '' not null comment '整体提货编码', order_status int default 0 not null comment '订单状态', order_status_name varchar(50) default '' not null comment '订单状态名称', order_status_action varchar(1000) default '' not null comment '订单操作', pay_status int default 0 not null comment '支付状态', delivery_status int default 0 not null comment '配送状态', refund_status int default 0 not null comment '退款状态', pay_type varchar(55) default '' not null comment '支付方式', pay_type_name varchar(50) default '' not null comment '支付类型名称', delivery_type varchar(50) default '' not null comment '配送方式', delivery_type_name varchar(50) default '' not null comment '配送方式名称', member_id int default 0 not null comment '购买人uid', name varchar(50) default '' not null comment '购买人姓名', mobile varchar(255) default '' not null comment '购买人手机', telephone varchar(255) default '' not null comment '购买人固定电话', province_id int default 0 not null comment '购买人省id', city_id int default 0 not null comment '购买人市id', district_id int default 0 not null comment '购买人区县id', community_id int default 0 not null comment '购买人社区id', address varchar(255) default '' not null comment '购买人地址', full_address varchar(255) default '' not null comment '购买人详细地址', longitude varchar(50) default '' not null comment '购买人地址经度', latitude varchar(50) default '' not null comment '购买人地址纬度', buyer_ip varchar(20) default '' not null comment '购买人ip', buyer_ask_delivery_time varchar(50) default '' not null comment '购买人要求配送时间', buyer_message varchar(50) default '' not null comment '购买人留言信息', goods_money decimal(10, 2) default 0.00 not null comment '商品总金额', delivery_money decimal(10, 2) default 0.00 not null comment '配送费用', promotion_money decimal(10, 2) default 0.00 not null comment '订单优惠金额(满减)', coupon_id int default 0 not null comment '优惠券id', coupon_money decimal(10, 2) default 0.00 not null comment '优惠券金额', invoice_money decimal(10, 2) default 0.00 not null comment '发票金额', order_money decimal(10, 2) default 0.00 not null comment '订单合计金额', adjust_money decimal(10, 2) default 0.00 not null comment '订单调整金额', balance_money decimal(10, 2) default 0.00 not null comment '余额支付金额', pay_money decimal(10, 2) default 0.00 not null comment '抵扣之后应付金额', create_time int default 0 not null comment '创建时间', pay_time int default 0 not null comment '订单支付时间', delivery_time int default 0 not null comment '订单配送时间', sign_time int default 0 not null comment '订单签收时间', finish_time int default 0 not null comment '订单完成时间', close_time int default 0 not null comment '订单关闭时间', is_lock int default 0 not null comment '是否锁定订单(针对维权,锁定不可操作)', is_evaluate int default 0 not null comment '是否允许订单评价', is_delete int default 0 not null comment '是否删除(针对后台)', is_enable_refund int default 0 not null comment '是否允许退款', remark varchar(255) default '' not null comment '卖家留言', goods_num decimal(12, 3) default 0.000 not null comment '商品件数', delivery_store_id int default 0 not null comment '门店id', delivery_status_name varchar(50) default '' not null comment '发货状态', is_settlement tinyint default 0 not null comment '是否进行结算', store_settlement_id int default 0 not null comment '门店结算id', delivery_store_name varchar(255) default '' not null comment '门店名称', promotion_type varchar(255) default '' not null comment '营销类型', promotion_type_name varchar(255) default '' not null comment '营销类型名称', promotion_status_name varchar(255) default '' not null comment '营销状态名称', delivery_store_info text null comment '门店信息(json)', virtual_code varchar(255) default '' not null comment '虚拟商品码', evaluate_status int default 0 not null comment '评价状态,0:未评价,1:已评价,2:已追评', evaluate_status_name varchar(20) default '' not null comment '评价状态名称,未评价,已评价,已追评', refund_money decimal(10, 2) default 0.00 not null comment '订单退款金额', commission decimal(10, 2) default 0.00 not null comment '总支出佣金', is_invoice int default 0 not null comment '是否需要发票 0 无发票 1 有发票', invoice_type int default 1 not null comment '发票类型 1 纸质发票 2 电子发票', invoice_title varchar(255) default '' not null comment '发票抬头', taxpayer_number varchar(255) default '' not null comment '纳税人识别号', invoice_rate decimal(10, 2) default 0.00 not null comment '发票税率', invoice_content varchar(255) default '' not null comment '发票内容', invoice_delivery_money decimal(10, 2) default 0.00 not null comment '发票邮寄费用', invoice_full_address varchar(255) default '' not null comment '发票邮寄地址', is_tax_invoice int default 0 not null comment '是否需要增值税专用发票', invoice_email varchar(255) default '' not null comment '发票发送邮件', invoice_title_type int default 0 not null comment '发票抬头类型 1 个人 2 企业', is_fenxiao int default 1 not null comment '是否参与分销 0不参与 1参与', point_money decimal(10, 2) default 0.00 not null comment '积分抵现金额', member_card_money decimal(10, 2) default 0.00 not null comment '会员卡订单金额', member_card_order int default 0 not null comment '会员卡订单id', invoice_status tinyint default 0 not null comment '发票状态(0待开票 1已开票)', invoice_remark text null comment '发票备注', invoice_code varchar(255) default '' not null comment '发票编码', invoice_image varchar(255) default '' not null comment '发票凭证', invoice_time int default 0 not null comment '开票时间', predict_delivery_time int default 0 not null comment '预计发货时间', is_video_number int default 0 not null comment '订单是否同步到视频号', close_cause varchar(255) default '' not null comment '关闭原因', cashier_order_type varchar(50) default '' not null comment '收银台订单类型 goods 商品相关 card 卡项 recharge 充值', cashier_sell_time int default 0 not null comment '销售时间', cashier_operator_id int(11) unsigned default 0 not null comment '收银台操作人', cashier_operator_name varchar(255) default '' not null comment '收银台操作人', balance decimal(10, 2) default 0.00 not null comment '为收银台新创建的字段,切勿随意使用', total_balance decimal(10, 2) default 0.00 not null comment '为收银台新创建的字段,切勿随意使用', store_id int default 0 not null comment '所属门店', reduction decimal(10, 2) default 0.00 not null comment '收银订单减免金额', round_money decimal default 0 not null comment '抹零金额', order_scene varchar(50) default 'online' not null comment '订单场景 online 线上 cashier 收银台', store_commission_rate decimal(10, 2) default 0.00 not null comment '门店比率1', store_commission decimal(10, 2) default 0.00 not null comment '门店佣金', merch_id int default 0 not null comment '商户id', host_order_id int default 0 not null comment '多商户订单主订单id', is_merch_settlement int default 0 not null comment '是否已经给商户结算0未结算1已结算', business varchar(255) null comment '业务员' ) comment '订单表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_order_create_time on lucky_order (create_time); create index IDX_ns_order_finish_time on lucky_order (finish_time); create index IDX_ns_order_is_tax_invoice on lucky_order (is_tax_invoice); create index IDX_ns_order_member_id on lucky_order (member_id); create index IDX_ns_order_order_from on lucky_order (order_from); create index IDX_ns_order_order_status on lucky_order (order_status); create index IDX_ns_order_order_type on lucky_order (order_type); create index IDX_ns_order_pay_status on lucky_order (pay_status); create index IDX_ns_order_promotion_id on lucky_order (promotion_id); create table if not exists lucky_order_export ( export_id int auto_increment primary key, `condition` varchar(2000) default '' not null comment '条件 json', status int default 0 not null comment '导出状态 0 正在导出 1 已导出 2 已删除', create_time int default 0 not null comment '导出时间', type int default 0 not null comment '导出类型', path varchar(255) default '' not null comment '导出文件的物理路径', site_id int default 0 not null comment '站点id' ) comment '订单导出记录表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_order_goods ( order_goods_id int auto_increment primary key, order_id int default 0 not null comment '订单id', order_no varchar(20) default '' not null comment '订单编号', site_id int default 0 not null comment '商家id', member_id int default 0 not null comment '购买会员id', goods_id int default 0 not null comment '商品id', sku_id int default 0 not null comment '商品skuid', sku_name varchar(255) default '' not null comment '商品名称', sku_image varchar(2000) default '' not null comment '商品图片', sku_no varchar(255) default '' not null comment '商品编码', is_virtual int default 0 not null comment '是否是虚拟商品', goods_class varchar(50) default '0' not null comment '商品种类(1.实物 2.虚拟3.卡券)', goods_class_name varchar(50) default '' not null comment '商品类型名称', price decimal(10, 2) default 0.00 not null comment '商品卖价', cost_price decimal(10, 2) default 0.00 not null comment '成本价', num decimal(12, 3) default 0.000 not null comment '购买数量', goods_money decimal(10, 2) default 0.00 not null comment '商品总价', cost_money decimal(10, 2) default 0.00 not null comment '成本总价', delivery_status int default 0 not null comment '配送状态', delivery_status_name varchar(50) default '' not null comment '配送状态名称', delivery_no varchar(50) default '' not null comment '配送单号', gift_flag int default 0 not null comment '赠品标识', refund_no varchar(50) default '' not null comment '退款编号(申请产生)', refund_status int default 0 not null comment '退款状态', refund_status_name varchar(50) default '' not null comment '退款状态名称', refund_status_action varchar(1000) default '' not null comment '退款操作', refund_type int default 0 not null comment '退款方式', refund_apply_money decimal(10, 2) default 0.00 not null comment '退款申请金额', refund_reason varchar(255) default '' not null comment '退款原因', refund_real_money decimal(10, 2) default 0.00 not null comment '实际退款金额', refund_delivery_name varchar(50) default '' not null comment '退款公司名称', refund_delivery_no varchar(20) default '' not null comment '退款单号', refund_time int default 0 not null comment '实际退款时间', refund_refuse_reason varchar(255) default '' not null comment '退款拒绝原因', refund_action_time int default 0 not null comment '退款时间', real_goods_money decimal(10, 2) default 0.00 not null comment '实际商品购买价', refund_remark varchar(255) default '' not null comment '退款说明', refund_delivery_remark varchar(255) default '' not null comment '买家退货说明', refund_address varchar(255) default '' not null comment '退货地址', is_refund_stock int default 0 not null comment '是否返还库存', refund_money_type int default 1 not null comment '退款方式 1 原路退款 2线下退款3退款到余额', shop_active_refund tinyint default 0 not null comment '商家主动退款(0否 1是)', shop_refund_remark varchar(255) default '' not null comment '商家退款说明', refund_mode int default 1 not null comment '退款类型 1退款 2售后', promotion_money decimal(10, 2) default 0.00 not null comment '优惠金额', coupon_money decimal(10, 2) default 0.00 not null comment '优惠券金额', adjust_money decimal(10, 2) default 0.00 not null comment '调整金额', goods_name varchar(400) default '' not null comment '商品名称', sku_spec_format varchar(1000) default '' not null comment 'sku规格格式', is_fenxiao int default 1 not null, use_point int default 0 not null comment '积分抵扣所用积分数', point_money decimal(10, 2) default 0.00 not null comment '积分抵扣金额', refund_delivery_money decimal(10, 2) default 0.00 not null, create_time int default 0 not null, out_aftersale_id varchar(255) default '' not null comment '关联视频号订单', refund_address_id int default 0 not null comment '退货地址id', refund_pay_money decimal(10, 2) default 0.00 not null comment '真实退款金额', store_id int default 0 not null comment '所属门店', card_item_id int default 0 not null comment '卡项id', card_promotion_money decimal(10, 2) default 0.00 not null comment '次卡抵扣金额', supplier_id int default 0 not null comment '供应商id', is_adjust_price int default 0 not null comment '是否自定义价格' ) comment '订单商品表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_order_goods_goods_id on lucky_order_goods (goods_id); create index IDX_ns_order_goods_is_fenxiao on lucky_order_goods (is_fenxiao); create index IDX_ns_order_goods_is_virtual on lucky_order_goods (is_virtual); create index IDX_ns_order_goods_member_id on lucky_order_goods (member_id); create index IDX_ns_order_goods_order_id on lucky_order_goods (order_id); create index IDX_ns_order_goods_refund_status on lucky_order_goods (refund_status); create index IDX_ns_order_goods_sku_id on lucky_order_goods (sku_id); create table if not exists lucky_order_import_file ( id int auto_increment primary key, site_id int default 0 not null, filename varchar(255) default '' not null comment '文件名称', path varchar(255) default '' not null comment '地址', order_num int default 0 not null comment '导入的订单数', success_num int default 0 not null comment '成功数', error_num int default 0 not null comment '失败数', create_time int default 0 not null, delivery_time int default 0 not null comment '发货时间', uid int not null, username varchar(255) not null ) comment '订单批量导入发货' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_order_import_file_log ( id int auto_increment primary key, site_id int default 0 not null, file_id int default 0 not null comment '上传文件id', order_no varchar(255) default '' not null comment '订单编号', order_name varchar(255) default '' not null comment '订单内容', status tinyint default 0 not null comment '状态', reason varchar(255) default '' not null comment '原因' ) comment '订单导入明细' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_order_log ( id int auto_increment primary key, order_id int default 0 not null comment '订单id', action varchar(255) default '' not null comment '操作内容', uid int default 0 not null comment '操作人id', nick_name varchar(50) default '' not null comment '操作人名称', order_status int default 0 not null comment '订单状态,操作后', action_way bigint default 2 not null comment '操作类型1买家2卖家 3 系统任务', order_status_name varchar(255) default '' not null comment '订单状态名称,操作后', action_time int default 0 not null comment '操作时间' ) comment '订单操作表(传统表,不用设计)' charset = utf8 row_format = DYNAMIC; create index IDX_ns_order_log_order_id on lucky_order_log (order_id); create table if not exists lucky_order_promotion_detail ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', order_id int default 0 not null comment '订单id', promotion_text varchar(255) default '' not null comment '订单优惠说明', sku_list varchar(255) default '' not null comment '参与的商品项', type int default 0 not null comment '类型 1优惠,2赠送', num int default 0 not null comment '相关数量', money decimal(10, 2) default 0.00 not null comment '相关金额', type_event varchar(255) default '' not null comment '相关执行事件', create_time int default 0 not null comment '创建时间' ) comment '订单满减优惠表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_order_refund_export ( export_id int auto_increment primary key, `condition` varchar(2000) default '' not null comment '条件 json', status int default 0 not null comment '导出状态 0 正在导出 1 已导出 2 已删除', create_time int default 0 not null comment '导出时间', path varchar(255) default '' not null comment '导出文件的物理路径', site_id int default 0 not null comment '站点id' ) comment '订单维权导出记录表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_order_refund_log ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', order_goods_id int default 0 not null comment '订单项id', refund_status int default 0 not null comment '退款状态', refund_status_name varchar(255) default '' not null comment '退款状态名称', action varchar(255) default '' not null comment '操作内容', action_way int default 2 not null comment '操作类型1买家2卖家', action_userid int default 0 not null comment '操作人id', username varchar(255) default '' not null comment '操作人名称', action_time int default 0 not null comment '操作时间', `desc` text null ) comment '订单退款操作表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_order_refund_log_order_goods_id on lucky_order_refund_log (order_goods_id, site_id); create table if not exists lucky_pay ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', out_trade_no varchar(255) default '' not null comment '支付流水号', pay_type varchar(255) default '' not null comment '支付方式', trade_no varchar(255) default '' not null comment '交易单号', pay_no varchar(255) default '' not null comment '支付账号', pay_body varchar(1000) default '' not null comment '支付主体', pay_detail varchar(1000) default '' not null comment '支付详情', pay_money decimal(10, 2) default 0.00 not null comment '支付金额', pay_addon varchar(255) default '' not null comment '支付插件', pay_voucher varchar(255) default '' not null comment '支付票据', pay_status int default 0 not null comment '支付状态(0.待支付 1. 支付中 2. 已支付 -1已取消)', return_url varchar(255) default '' not null comment '同步回调网址', event varchar(255) default '' not null comment '支付成功后事件(事件,网址)', mch_info varchar(1000) default '' not null comment '商户信息', create_time int default 0 not null comment '创建时间', pay_time int default 0 not null comment '支付时间', balance decimal(10, 2) default 0.00 not null comment '不可提现余额', balance_money decimal(10, 2) default 0.00 not null comment '可提现余额', member_id int default 0 not null comment '支付会员id', pay_json varchar(255) default '' not null comment '支付扩展用支付信息', constraint UK_ns_pay_out_trade_no unique (out_trade_no) ) comment '支付记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_pay_balance ( id int auto_increment primary key, auth_code varchar(18) default '' not null, site_id int default 0 not null, member_id int default 0 not null, create_time int default 0 not null comment '创建时间', expire_time int default 0 not null comment '过期时间', dynamic_code varchar(4) default '' not null comment '动态码', constraint UK_ns_authcode_pay_auth_code unique (auth_code) ) comment '会员付款码' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_pay_refund ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', refund_no varchar(255) default '' not null comment '退款编号', out_trade_no varchar(255) default '' not null comment '对应支付流水号', refund_detail varchar(255) default '' not null comment '退款详情', refund_type varchar(255) default '' not null comment '退款类型', refund_fee decimal(10, 2) default 0.00 not null comment '退款金额', total_money decimal(10, 2) default 0.00 not null comment '实际支付金额', create_time int default 0 not null comment '创建时间' ) comment '退款记录' charset = utf8 row_format = DYNAMIC; create index UK_ns_pay_refund_out_trade_no on lucky_pay_refund (out_trade_no); create table if not exists lucky_pc_floor ( id int auto_increment comment '数据ID' primary key, site_id int default 0 not null comment '所属店铺id', block_id int default 0 not null comment '模板ID', title varchar(100) default '' not null comment '楼层标题', value text null comment '配置', state tinyint default 1 not null comment '状态(0:禁用,1:启用)', create_time int default 0 not null comment '创建时间', sort int default 0 not null comment '排序号' ) comment 'PC端首页楼层' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_pc_floor_block ( id int auto_increment comment '数据ID' primary key, name varchar(50) default '' not null comment '标识', title varchar(50) default '' not null comment '组件名称', value text null comment '配置:json格式', sort int default 0 not null comment '排序号' ) comment 'PC端首页楼层模板' charset = utf8 avg_row_length = 5461 row_format = DYNAMIC; create table if not exists lucky_pc_friendly_link ( id int(11) unsigned auto_increment comment '索引id' primary key, site_id int default 0 not null comment '所属店铺id', link_title varchar(100) default '' not null comment '标题', link_url varchar(100) default '' not null comment '链接', link_pic varchar(100) default '' not null comment '图片', link_sort int null, is_blank int default 1 not null comment '是否新窗口打开 1.是 2.否', is_show int default 1 not null comment '是否显示 1.是 2.否' ) comment 'PC友情链接表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_pc_nav ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '所属店铺id', nav_title varchar(255) default '' not null comment '导航名称', nav_url varchar(255) default '' not null comment '链接地址', sort int default 0 not null comment '排序号', is_blank int default 0 null, create_time int default 0 null comment '创建时间', modify_time int default 0 null comment '修改时间', nav_icon varchar(255) default '' not null comment '导航图标', is_show smallint default 1 not null comment '是否显示 1显示 0不显示' ) comment 'PC导航管理' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_personnel ( id int auto_increment primary key, site_id int default 0 null, realname varchar(50) default '' null, displayorder int default 0 null, mobile varchar(255) null, address varchar(255) null, landline varchar(255) null comment '座机', position varchar(255) null comment '职位', title_text varchar(255) null, position_text varchar(255) null, mobile_text varchar(255) null, address_text varchar(255) null, email varchar(255) null comment '电子邮箱' ) engine = MyISAM charset = utf8 row_format = DYNAMIC; create index idx_displayorder on lucky_personnel (displayorder); create index idx_uniacid on lucky_personnel (site_id); create table if not exists lucky_personnel_files ( files_id int auto_increment primary key, site_id int null, files_title varchar(255) null, files_url varchar(255) null, createtime int null, imgs longtext null, size decimal(10, 2) default 0.00 null comment '大小' ) engine = MyISAM collate = utf8_unicode_ci; create table if not exists lucky_personnel_message ( id int auto_increment primary key, site_id int not null, member_id int null, username varchar(255) null, mobile varchar(255) null, message varchar(255) null, createtime int null ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_personnel_video ( video_id int auto_increment primary key, site_id int null, video_title varchar(255) null, video_url varchar(255) null, images longtext null, createtime int null ) engine = MyISAM collate = utf8_unicode_ci; create table if not exists lucky_platform ( platformid int(10) default 0 not null primary key, title varchar(255) default '' not null comment '网站主题', logo varchar(255) default '' not null comment '网站logo', `desc` varchar(255) default '' not null comment '网站简介', keywords varchar(255) default '' not null comment '网站关键字', web_address varchar(255) default '' not null comment '网站地址', web_qrcode varchar(255) default '' not null comment '网站二维码', web_email varchar(50) default '' not null comment '网站邮箱', web_phone varchar(255) default '' not null comment '联系电话', web_qq varchar(255) default '' not null comment '网站qq', web_weixin varchar(255) default '' not null comment '联系人微信号', web_status tinyint default 1 not null comment '网站状态', close_reason varchar(255) default '' not null comment '关闭原因', wap_status tinyint default 1 not null comment '手机端状态', account decimal(10, 2) default 0.00 not null comment '账户金额', account_withdraw decimal(10, 2) default 0.00 not null comment '已提现金额', account_shop decimal(10, 2) default 0.00 not null comment '店铺入驻费用', account_order decimal(10, 2) default 0.00 not null comment '订单结算费用', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', wap_domain varchar(255) default '' not null comment 'wap端域名', site_area_id int default 0 not null comment '分站城市id', site_area_name varchar(255) default '全国' not null comment '分站城市名称', username varchar(255) default 'admin' not null comment '分站管理员', shop_rate decimal(10, 2) default 0.00 not null comment '开店分佣比率', order_rate decimal(10, 2) default 0.00 not null comment '订单分佣比率', settlement_bank_account_name varchar(50) default '' not null comment '结算银行开户名', settlement_bank_account_number varchar(50) default '' not null comment '结算公司银行账号', settlement_bank_name varchar(50) default '' not null comment '结算开户银行支行名称', settlement_bank_address varchar(50) default '' not null comment '结算开户银行所在地', status tinyint(1) default 1 not null comment '分站状态(1正常 -1冻结)', web_domain varchar(255) default '' not null comment '电脑端域名' ) comment '系统站点设置(城市分站)' charset = utf8 row_format = DYNAMIC; insert into lucky_platform (platformid, title, logo, `desc`, keywords, web_address, web_qrcode, web_email, web_phone, web_qq, web_weixin, web_status, close_reason, wap_status, account, account_withdraw, account_shop, account_order, create_time, modify_time, wap_domain, site_area_id, site_area_name, username, shop_rate, order_rate, settlement_bank_account_name, settlement_bank_account_number, settlement_bank_name, settlement_bank_address, status, web_domain) values (0, 'Saas平台', '', '', '', '', '', '', '13333333333', '', '', 1, '', 1, 0.00, 0.00, 0.00, 0.00, 1717867249, 0, '', 0, '全国', 'admin', 0.00, 0.00, '', '', '', '', 1, ''); create table if not exists lucky_platform_shop ( uniacid int auto_increment comment '站点id' primary key, platform_name varchar(50) default '' not null comment '站点名称', telphone varchar(255) default '' null comment '联系电话', store_image varchar(255) default '' null comment '站点LOGO', site_name varchar(255) default '' not null comment '站点名称', status int default 0 not null comment '状态', username varchar(255) default '' not null comment '门店管理员', create_time int default 0 not null comment '创建时间' ) comment '线下门店表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_poster ( poster_id int auto_increment primary key, site_id int default 0 not null, template_id int default 0 not null comment '海报模版id', relation_id int default 0 not null comment '关联id', headimg_is_show int default 0 not null comment '头像是否显示', headimg_shape varchar(255) default '' not null comment '头像形式 circle 圆 square 方形', nickname_is_show int default 0 not null comment '昵称是否显示', nickname_font_size decimal(10, 2) default 0.00 not null comment '昵称字体大小', nickname_color varchar(255) default '' not null comment '昵称文字颜色', background varchar(255) default '' not null comment '海报背景', qrcode_type varchar(255) default '' not null comment '带参二维码,常规二维码', headimg_width decimal(10, 2) default 0.00 not null comment '头像图片长度', headimg_height decimal(10, 2) default 0.00 not null comment '头像图片高度', headimg_top decimal(10, 2) default 0.00 not null comment '头像图片距离顶部高度', headimg_left decimal(10, 2) default 0.00 not null comment '头像图片距离左侧长度', nickname_width decimal(10, 2) default 0.00 not null comment '昵称长度', nickname_height decimal(10, 2) default 0.00 not null comment '昵称高度', nickname_top decimal(10, 2) default 0.00 not null comment '昵称距离顶部高度', nickname_left decimal(10, 2) default 0.00 not null comment '昵称距离左侧长度', qrcode_width decimal(10, 2) default 0.00 not null comment '二维码长度', qrcode_height decimal(10, 2) default 0.00 not null comment '二维码高度', qrcode_top decimal(10, 2) default 0.00 not null comment '二维码距离顶部高度', qrcode_left decimal(10, 2) default 0.00 not null comment '二维码距离左侧长度', visit_num int default 0 not null comment '访客数量', order_num int default 0 not null comment '订单数量', fission_level int default 0 not null comment '裂变等级', pv_num int default 0 not null comment '访问数量', type varchar(255) default 'goods' not null comment '类型,goods:商品,friend_fission:好友裂变', create_time int default 0 not null ) comment '海报表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_poster on lucky_poster (site_id, type); create table if not exists lucky_poster_muban ( muban_id int(11) unsigned auto_increment primary key, qrcode_width decimal default 0 not null, qrcode_height decimal default 0 not null, qrcode_top decimal default 0 not null, qrcode_left decimal default 0 not null, template_json text null, background varchar(255) default '' not null, template_type varchar(255) default '' not null comment '模板类型', qrcode_type varchar(255) default '' not null comment '二维码类型' ) charset = utf8 avg_row_length = 5461 row_format = DYNAMIC; create table if not exists lucky_poster_record ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', member_id int default 0 not null comment '会员id', poster_id int default 0 not null comment '海报id', relation_id int default 0 not null comment '关联id', from_type varchar(255) default '' not null comment '来源类型,visit:访客,order:订单', year int default 0 not null comment '年', month int default 0 not null comment '月', day int default 0 not null comment '日', create_time int default 0 not null comment '创建时间' ) comment '海报访问记录表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_poster_template ( template_id int auto_increment primary key, site_id int default 0 not null comment '站点id', poster_name varchar(50) default '' not null comment '海报名称', background varchar(255) default '' not null comment '海报背景', qrcode_type varchar(255) default 'qrcode' not null comment '带参二维码,常规二维码', qrcode_width decimal(10, 2) default 0.00 not null comment '二维码长度', qrcode_height decimal(10, 2) default 0.00 not null comment '二维码高度', qrcode_top decimal(10, 2) default 0.00 not null comment '二维码距离顶部高度', qrcode_left decimal(10, 2) default 0.00 not null comment '二维码距离左侧长度', template_status int default 1 not null comment '模板状态 0-关闭 1-开启', template_type varchar(25) default '' not null comment '模板类型 goods:商品海报', template_json text null comment '拓展json', create_time int default 0 not null ) comment '海报模板表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_printer ( printer_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', brand varchar(255) default '' not null comment '小票打印机品牌(365 飞鹤 易联云)', printer_name varchar(255) default '' not null comment '打印机名称', printer_code varchar(255) default '' not null comment '打印机编号', printer_key varchar(255) default '' not null comment '打印机秘钥', open_id varchar(255) default '' not null comment '开发者id', apikey varchar(255) default '' not null comment '开发者密钥', print_num tinyint default 1 not null comment '打印张数', template_id int default 0 not null comment '模板id', store_id int default 0 not null comment '门店id', create_time int default 0 not null, update_time int default 0 not null, manual_open int default 1 not null comment '手动打印开启', order_pay_open int default 1 not null comment '订单支付打印开启', order_pay_template_id int default 0 not null comment '订单支付打印模板', order_pay_print_num int default 1 not null comment '订单支付打印张数', order_pay_order_type varchar(255) default '' not null comment '订单支付打印订单类型', take_delivery_open int default 1 not null comment '订单收货打印开启', take_delivery_template_id int default 0 not null comment '订单收货打印模板', take_delivery_print_num int default 1 not null comment '订单收货打印张数', take_delivery_order_type varchar(255) default '' not null comment '订单收货打印订单类型', recharge_open int default 1 not null comment '充值打印开启', recharge_template_id int default 0 not null comment '充值打印模板', recharge_print_num int default 1 not null comment '充值打印张数', change_shifts_open int default 1 not null comment '收银开单打印开启', change_shifts_template_id int default 0 not null comment '收银开单打印模板', change_shifts_print_num int default 1 not null comment '收银开单打印张数', printer_type varchar(10) default 'cloud' not null comment '打印机类型 cloud 云打印机 local 本地打印机 network 网络打印机', host varchar(255) default '' not null, ip varchar(255) default '' not null, port varchar(255) default '' not null, print_width varchar(20) default '58mm' not null comment '打印宽度' ) comment '小票打印机' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_printer_template ( template_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', site_name varchar(255) default '' not null comment '站点名', template_type varchar(255) default '' not null comment '模板类型(预留字段)', template_name varchar(255) default '' not null comment '模板名称', title varchar(255) default '' not null comment '小票名称', head tinyint default 0 not null comment '头部内容', buy_notes tinyint default 0 not null comment '买家留言(0否 1是)', seller_notes tinyint default 0 not null comment '卖家留言(0否 1是)', buy_name tinyint default 0 not null comment '买家姓名', buy_mobile tinyint default 0 not null comment '买家联系电话', buy_address tinyint default 0 not null comment '买家地址', shop_mobile tinyint default 0 not null comment '商家联系电话', shop_address tinyint default 0 not null comment '商家地址', shop_qrcode tinyint default 0 not null comment '商家二维码', qrcode_url varchar(255) default '' not null comment '二维码链接', bottom varchar(255) default '' not null comment '底部内容', create_time int default 0 not null, update_time int default 0 not null, type varchar(50) default '' not null comment '模板类型', type_name varchar(50) default '' not null comment '模板类型名称', goods_price_show int default 0 not null comment '商品金额是否展示', goods_code_show int default 1 not null comment '商品编码是否展示', goods_price_type varchar(50) default 'price' not null comment '商品金额 price-售价,order_price-实付价', form_show int default 1 not null comment '是否显示表单' ) comment '打印机模板' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_bale ( bale_id int auto_increment primary key, site_id int default 0 not null comment '站点id', name varchar(50) default '' not null comment '活动名称', num int default 0 not null comment '数量', price decimal(19, 2) default 0.00 not null comment '一口价', goods_ids varchar(2500) default '' not null, sku_ids varchar(2500) default '' not null comment '参与活动的sku', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '结束时间', shipping_fee_type tinyint default 0 not null comment '是否包邮(0卖家承担运费 1买家承担运费)', status int default 0 not null comment '状态 0未开始 1进行中 2已关闭', create_time int default 0 not null comment '创建时间' ) comment '打包一口价' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_bargain ( bargain_id int(11) unsigned auto_increment comment '砍价id' primary key, site_id int default 0 not null comment '店铺id', goods_id int default 0 not null comment '商品id', sku_id int default 0 not null comment 'sku_id', bargain_name varchar(50) default '' not null comment '砍价活动名称', is_fenxiao tinyint default 0 not null comment '是否参与分销(0不参与 1参与)', buy_type tinyint default 0 not null comment '购买方式(0任意金额可购买 1砍到指定价格)', bargain_type tinyint default 0 not null comment '砍价金额类型(0固定金额 1随机金额)', bargain_num int default 0 not null comment '帮砍价人数', bargain_time int default 1 not null comment '砍价有效期(小时)', remark text null comment '活动规则说明', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', start_time int default 0 not null comment '活动开始时间', end_time int default 0 not null comment '活动结束时间', status tinyint default 0 not null comment '状态(0未开始 1活动进行中 2活动已结束 3失效 4删除)', status_name varchar(20) default '' not null comment '状态名称', is_own tinyint default 0 not null comment '是否自己砍价(0不支持 1支持)', sale_num int default 0 not null comment '销量', join_num int default 0 not null comment '参与人数', bargain_stock int default 0 not null comment '砍价总库存', floor_price decimal(10, 2) default 0.00 not null comment '底价', is_differ_new_user tinyint default 0 not null comment '是否区分新老用户', distinguish tinyint default 1 not null comment '新用户区分标准', new_low decimal(10, 2) default 0.00 not null comment '新用户最低随机金额', aged_tall decimal(10, 2) default 0.00 not null comment '老用户最高随机金额', aged_fixation decimal(10, 2) default 0.00 not null comment '老用户固定砍价金额', bargain_max_num int default 0 not null comment '最大砍价人数', help_bargain_num int default 0 not null comment '帮助砍价人数', browse_num int default 0 not null comment '浏览人数', share_num int default 0 not null comment '分享人数' ) comment '砍价活动表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_bargain_end_time on lucky_promotion_bargain (end_time); create index IDX_ns_promotion_bargain_start_time on lucky_promotion_bargain (start_time); create table if not exists lucky_promotion_bargain_goods ( id int(11) unsigned auto_increment comment 'id' primary key, site_id int default 0 not null comment '店铺id', bargain_id int default 0 not null comment '砍价id', goods_id int default 0 not null comment '商品id', sku_id int default 0 not null comment 'sku商品id', first_bargain_price decimal(10, 2) default 0.00 not null comment '首刀金额', bargain_stock int default 0 not null comment '砍价库存', floor_price decimal(10, 2) default 0.00 not null comment '底价', bargain_name varchar(50) default '' not null comment '砍价活动名称', is_fenxiao tinyint default 0 not null comment '是否参与分销(0不参与 1参与)', buy_type tinyint default 0 not null comment '购买方式(0任意金额可购买 1砍到指定价格)', bargain_type tinyint default 0 not null comment '砍价金额类型(0固定金额 1随机金额)', bargain_num int default 0 not null comment '帮砍价人数', bargain_time int default 1 not null comment '砍价有效期', remark text null comment '活动规则说明', start_time int default 0 not null comment '活动开始时间', end_time int default 0 not null comment '活动结束时间', status tinyint default 0 not null comment '状态(0未开始 1活动进行中 2活动已结束 3已关闭)', status_name varchar(20) default '' not null comment '状态名称', is_own tinyint default 0 not null comment '是否自己砍价(0不支持 1支持)', sale_num int default 0 not null comment '销量', join_num int default 0 not null comment '参与人数', is_differ_new_user tinyint default 0 not null comment '是否区分新老用户', distinguish tinyint default 1 not null comment '新用户区分标准', new_low decimal(10, 2) default 0.00 not null comment '新用户最低随机金额', aged_tall decimal(10, 2) default 0.00 not null comment '老用户最高随机金额', aged_fixation decimal(10, 2) default 0.00 not null comment '老用户固定砍价金额', bargain_max_num int default 0 not null comment '最大砍价人数', help_bargain_num int default 0 not null comment '帮助砍价人数' ) comment '砍价活动表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_bargain_goods_bargain_id on lucky_promotion_bargain_goods (bargain_id); create index IDX_ns_promotion_bargain_goods_goods_id on lucky_promotion_bargain_goods (goods_id); create index IDX_ns_promotion_bargain_goods_is_own on lucky_promotion_bargain_goods (is_own); create index IDX_ns_promotion_bargain_goods_sku_id on lucky_promotion_bargain_goods (sku_id); create index IDX_ns_promotion_bargain_goods_status on lucky_promotion_bargain_goods (status); create table if not exists lucky_promotion_bargain_launch ( launch_id int auto_increment primary key, bargain_id int default 0 not null comment '砍价活动id', sku_id int default 0 not null comment '商品sku_id', goods_id int default 0 not null comment '商品id', site_id int default 0 not null comment '站点id', sku_name varchar(255) default '' not null comment '商品名称', sku_image varchar(255) default '' not null comment '商品图', price decimal(10, 2) default 0.00 not null comment '商品原价', floor_price decimal(10, 2) default 0.00 not null comment '底价', buy_type int default 0 not null comment '购买方式(0任意金额可购买 1砍到指定价格)', bargain_type int default 0 not null comment '砍价金额类型(0固定金额 1随机金额)', need_num int default 0 not null comment '帮砍人数需达到数', curr_num int default 0 not null comment '当前已帮砍人数', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '结束时间', status int default 0 not null comment '0砍价中 1已成功 2未成功', member_id int default 0 not null comment '砍价发起用户', nickname varchar(255) default '' not null comment '昵称', headimg varchar(255) default '' not null comment '头像', is_fenxiao int default 0 not null comment '是否参与分销(0不参与 1参与)', order_id int default 0 not null comment '订单id', first_bargain_price decimal(10, 2) default 0.00 not null comment '首刀金额', curr_price decimal(10, 2) default 0.00 not null comment '当前金额', is_own int default 0 not null comment '是否自己砍价(0不支持 1支持)', is_differ_new_user tinyint default 0 not null comment '是否区分新老用户', distinguish tinyint default 1 not null comment '新用户区分标准', new_low decimal(10, 2) default 0.00 not null comment '新用户最低随机金额', aged_tall decimal(10, 2) default 0.00 not null comment '老用户最高随机金额', aged_fixation decimal(10, 2) default 0.00 not null comment '老用户固定砍价金额', store_id int default 0 not null comment '门店id' ) comment '砍价发起表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_bargain_launch_bargain_id on lucky_promotion_bargain_launch (bargain_id); create index IDX_ns_promotion_bargain_launch_end_time on lucky_promotion_bargain_launch (end_time); create index IDX_ns_promotion_bargain_launch_goods_id on lucky_promotion_bargain_launch (goods_id); create index IDX_ns_promotion_bargain_launch_site_id on lucky_promotion_bargain_launch (site_id); create index IDX_ns_promotion_bargain_launch_sku_id on lucky_promotion_bargain_launch (sku_id); create index IDX_ns_promotion_bargain_launch_start_time on lucky_promotion_bargain_launch (start_time); create table if not exists lucky_promotion_bargain_record ( id int auto_increment primary key, launch_id int default 0 not null comment '砍价发起id', member_id int default 0 not null comment '帮砍会员id', nickname varchar(255) default '' not null comment '昵称', headimg varchar(255) default '' not null comment '头像', money decimal(10, 2) default 0.00 not null comment '帮砍金额', bargain_time int default 0 not null comment '帮砍时间' ) charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_bargain_record_bargain_time on lucky_promotion_bargain_record (bargain_time); create index IDX_ns_promotion_bargain_record_launch_id on lucky_promotion_bargain_record (launch_id); create index IDX_ns_promotion_bargain_record_member_id on lucky_promotion_bargain_record (member_id); create table if not exists lucky_promotion_birthdaygift ( id int auto_increment primary key, activity_name varchar(255) default '' not null comment '活动名称', activity_time_type int default 1 not null comment '活动时间(1生日当天2生日当周3生日当月)', level_id varchar(255) default '' not null comment '参与活动会员等级(0全体会员)', level_name varchar(255) default '' not null comment '等级名称', type varchar(255) default '' not null comment '奖励类型', point int default 0 not null comment '积分', balance decimal(10, 2) default 0.00 not null comment '余额', coupon varchar(255) default '' not null comment '优惠券ID 以逗号隔开', blessing_content varchar(255) default '' not null comment '祝福语', site_id int default 0 not null, create_time int default 0 not null, update_time int default 0 not null, status int default 0 not null comment '1进行中-1已结束', is_delete int default 0 not null comment '是否删除', balance_type int default 0 not null comment '0不可提现 1可提现', balance_money decimal default 0 not null comment '可提现', start_time int default 0 not null comment '活动开始时间', end_time int default 0 not null comment '活动结束时间' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_birthdaygift_record ( record_id int auto_increment primary key, member_id int default 0 not null comment '会员id', member_name varchar(255) default '' not null comment '会员名称', activity_id int default 0 not null comment '生日有礼活动id', receive_time int default 0 not null comment '领取时间' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_bundling ( bl_id int auto_increment comment '组合ID' primary key, bl_name varchar(50) default '' not null comment '组合名称', site_id int default 0 not null comment '站点id', site_name varchar(100) default '' not null comment '站点名称', bl_price decimal(10, 2) default 0.00 not null comment '商品组合价格', goods_money decimal(10, 2) default 0.00 not null comment '商品总价', shipping_fee_type tinyint default 1 not null comment '运费承担方式 1卖家承担运费 2买家承担运费', status tinyint default 1 not null comment '组合状态 0-关闭/1-开启', update_time int default 0 not null comment '创建时间' ) comment '组合套餐活动表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_bundling_site_id on lucky_promotion_bundling (site_id); create index IDX_ns_promotion_bundling_status on lucky_promotion_bundling (status); create table if not exists lucky_promotion_bundling_goods ( id int auto_increment comment '主键' primary key, bl_id int default 0 not null comment '组合id', sku_id int default 0 not null comment '商品skuid', sku_name varchar(255) default '' not null comment '商品名称', price decimal(10, 2) default 0.00 not null comment '商品sku原价', sku_image varchar(1000) default '' not null comment 'sku图片', promotion_price decimal(10, 2) default 0.00 not null comment '套餐价格', site_id int default 0 not null ) comment '组合套餐活动商品表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_bundling_goods_bl_id on lucky_promotion_bundling_goods (bl_id); create index IDX_ns_promotion_bundling_goods_site_id on lucky_promotion_bundling_goods (site_id); create index IDX_ns_promotion_bundling_goods_sku_id on lucky_promotion_bundling_goods (sku_id); create table if not exists lucky_promotion_consume_record ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', type varchar(255) default '' not null comment '赠送类型 point-积分 growth-成长值 coupon-优惠券', value int default 0 not null comment '所送内容', order_id int default 0 not null comment '订单id', member_id int default 0 not null, remark varchar(255) default '' not null comment '备注(优惠券)', config varchar(5000) default '' not null comment '配置', create_time int default 0 not null, is_recycled int default 0 not null comment '奖励是否已回收', out_trade_no varchar(255) default '' not null comment '支付流水号' ) comment '消费奖励记录表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_coupon ( coupon_id int(11) unsigned auto_increment comment '优惠券id' primary key, type varchar(255) default '' not null comment '优惠券类型 reward-满减 discount-折扣 random-随机', coupon_name varchar(50) default '' not null comment '优惠券名称', coupon_type_id int default 0 not null comment '优惠券类型id', site_id int default 0 not null comment '站点Id', coupon_code varchar(255) default '' not null comment '优惠券编码', member_id int default 0 not null comment '领用人', use_order_id int default 0 not null comment '优惠券使用订单id', goods_type tinyint default 0 not null comment '适用商品类型1-全部商品可用;2-指定商品可用;3-指定商品不可用', goods_ids varchar(2000) default '' not null comment '适用商品id', at_least decimal(10, 2) default 0.00 not null comment '最小金额', money decimal(10, 2) default 0.00 not null comment '面额', discount decimal(10, 2) default 0.00 not null comment '1 =< 折扣 <= 9.9 当type为discount时需要添加', discount_limit decimal(10, 2) default 0.00 not null comment '最多折扣金额 当type为discount时可选择性添加', is_mark tinyint default 0 not null comment '是否同时给会员打标签 0-否 1-是', member_label_ids varchar(255) default '' not null comment '会员标签id', is_share tinyint default 0 not null comment '分享设置 优惠券允许分享给好友领取', is_handsel tinyint default 0 not null comment '转赠设置 优惠券允许转赠给好友', is_forbid_preference tinyint default 0 not null comment '优惠叠加 0-不限制 1- 优惠券仅原价购买商品时可用', is_expire_notice tinyint default 0 not null comment '是否开启过期提醒0-不开启 1-开启', expire_notice_fixed_term int default 0 not null comment '过期前N天提醒', is_noticed tinyint default 0 not null comment '是否已提醒', state tinyint default 0 not null comment '优惠券状态 1已领用(未使用) 2已使用 3已过期 4已关闭', get_type tinyint default 0 not null comment '获取方式1订单2.直接领取3.活动领取 4转赠 5分享获取', related_id int default 0 not null comment '获取优惠券的关联id', fetch_time int default 0 not null comment '领取时间', use_time int default 0 not null comment '使用时间', start_time int default 0 not null comment '可使用的开始时间', end_time int default 0 not null comment '有效期结束时间', merch_id int default 0 not null comment '商户id' ) comment '优惠券表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_coupon_coupon_type_id on lucky_promotion_coupon (coupon_type_id); create index IDX_ns_promotion_coupon_end_time on lucky_promotion_coupon (end_time); create index IDX_ns_promotion_coupon_member_id on lucky_promotion_coupon (member_id); create index IDX_ns_promotion_coupon_site_id on lucky_promotion_coupon (site_id); create table if not exists lucky_promotion_coupon_type ( coupon_type_id int auto_increment comment '优惠券类型Id' primary key, type varchar(32) default '' not null comment '优惠券类型 reward-满减 discount-折扣 random-随机', site_id int default 1 not null comment '站点id', coupon_name varchar(50) default '' not null comment '优惠券名称', coupon_name_remark varchar(255) default '' not null comment '名称备注', image varchar(255) default '' not null comment '优惠券图片', count int default 0 not null comment '发放数量', lead_count int default 0 not null comment '已领取数量', used_count int default 0 not null comment '已使用数量', goods_type tinyint(4) unsigned default 1 not null comment '适用商品类型1-全部商品可用;2-指定商品可用;3-指定商品不可用', goods_ids varchar(2000) default '' not null comment '适用商品id', is_limit tinyint default 0 not null comment '使用门槛0-无门槛 1-有门槛', at_least decimal(10, 2) default 0.00 not null comment '满多少元使用 0代表无限制', money decimal(10, 2) default 0.00 not null comment '发放面额 当type为reward时需要添加', discount decimal(10, 2) default 0.00 not null comment '1 =< 折扣 <= 9.9 当type为discount时需要添加', discount_limit decimal(10, 2) default 0.00 not null comment '最多折扣金额 当type为discount时可选择性添加', min_money decimal(10, 2) default 0.00 not null comment '最低金额 当type为random时需要添加', max_money decimal(10, 2) default 0.00 not null comment '最大金额 当type为random时需要添加', validity_type tinyint default 0 not null comment '过期类型0-古固定时间范围过期 1-领取之日固定日期后过期 2长期有效', start_use_time int default 0 not null comment '使用开始日期 过期类型0时必填', end_use_time int default 0 not null comment '使用结束日期 过期类型0时必填', fixed_term int default 0 not null comment '当validity_type为1时需要添加 领取之日起或者次日N天内有效', is_limit_member tinyint default 0 not null comment '是否限制会员身份0-不限制 1限制', member_level_ids varchar(255) default '' not null comment '若开启会员身份限制,需要添加会员等级id', sort int default 0 not null comment '排序', is_limitless tinyint default 0 not null comment '是否无限制0-否 1是', max_fetch int default 0 not null comment '每人最大领取个数', is_expire_notice tinyint default 0 not null comment '是否开启过期提醒0-不开启 1-开启', expire_notice_fixed_term int default 0 not null comment '过期前N天提醒', is_mark tinyint default 0 not null comment '是否同时给会员打标签 0-否 1-是', member_label_ids varchar(255) default '' not null comment '会员标签id', is_share tinyint default 0 not null comment '分享设置 优惠券允许分享给好友领取', is_handsel tinyint default 0 not null comment '转赠设置 优惠券允许转赠给好友', is_forbid_preference tinyint default 0 not null comment '优惠叠加 0-不限制 1- 优惠券仅原价购买商品时可用', is_show int default 0 not null comment '是否显示', discount_order_money decimal(10, 2) default 0.00 not null comment '订单的优惠总金额', order_money decimal(10, 2) default 0.00 not null comment '用券总成交额', is_forbidden tinyint default 0 not null comment '是否禁止发放0-否 1-是', old_member_num int default 0 not null comment '使用优惠券的老会员数', new_member_num int default 0 not null comment '平台第一次购买使用优惠券的会员数', order_goods_num int default 0 not null comment '使用优惠券购买的商品数量', status int default 0 not null comment '状态(1进行中2已结束-1已关闭)', create_time int default 0 not null comment '创建时间', update_time int default 0 not null comment '修改时间', end_time int default 0 not null comment '有效日期结束时间', promotion_type int default 0 not null comment '发布类型 0为普通优惠券 1为瓜分优惠券', promotion_name varchar(64) default '' not null comment '发布插件名称', merch_id int default 0 not null comment '商户id' ) comment '优惠券类型表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_coupon_type_site_id on lucky_promotion_coupon_type (site_id); create table if not exists lucky_promotion_discount ( discount_id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 1 not null comment '站点id', site_name varchar(255) default '' not null comment '站点名称', discount_name varchar(255) default '' not null comment '活动名称', status tinyint default 0 not null comment '活动状态 0未开始 1进行中 2已结束 -1已关闭(手动)', remark varchar(1000) default '' not null comment '备注', start_time int default 0 not null comment '活动开始时间', end_time int default 0 not null comment '活动结束时间', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', goods_id int default 0 not null comment '商品id', discount_price decimal(10, 2) default 0.00 not null comment '折扣金额,只做展示' ) comment '限时折扣' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_discount_end_time on lucky_promotion_discount (end_time); create index IDX_ns_promotion_discount_start_time on lucky_promotion_discount (start_time); create index IDX_ns_promotion_discount_status on lucky_promotion_discount (status); create table if not exists lucky_promotion_discount_goods ( id int(11) unsigned auto_increment comment '主键' primary key, discount_id int default 0 not null comment '对应活动Id', start_time int default 0 not null comment '活动开始时间', end_time int default 0 not null comment '活动结束时间', goods_id int default 0 not null comment '商品id', sku_id int default 0 not null comment 'skuId', price decimal(10, 2) default 0.00 not null comment '商品价格', discount_price decimal(10, 2) default 0.00 not null comment '折扣价', sku_name varchar(255) default '' not null comment '商品名称', sku_image varchar(1000) default '' not null comment '商品图片' ) comment '限时折扣商品列表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_discount_goods_discount_id on lucky_promotion_discount_goods (discount_id); create index IDX_ns_promotion_discount_goods_end_time on lucky_promotion_discount_goods (end_time); create index IDX_ns_promotion_discount_goods_goods_id on lucky_promotion_discount_goods (goods_id); create index IDX_ns_promotion_discount_goods_sku_id on lucky_promotion_discount_goods (sku_id); create index IDX_ns_promotion_discount_goods_start_time on lucky_promotion_discount_goods (start_time); create table if not exists lucky_promotion_exchange ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment ' 站点id', type int default 1 not null comment '兑换形式', type_name varchar(255) default '' not null comment '兑换类型名称', type_id int default 0 not null comment '关联id', name varchar(255) default '' not null comment '兑换名称', image varchar(255) default '' not null comment '图片', stock int default 0 not null comment '当前库存', pay_type tinyint default 0 not null comment '支付类型(0积分 1积分加钱)', point int default 0 not null comment '积分数', market_price decimal(10, 2) default 0.00 not null comment '市场价', price decimal(10, 2) default 0.00 not null comment '兑换价', limit_num int default 0 not null comment '限制兑换数量', balance decimal(10, 2) default 0.00 not null comment '余额红包(余额有效)', state int default 1 not null comment '状态(上下架)', content text null comment '兑换说明', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', sort int default 0 not null comment '排序', exchange_goods_id int default 0 not null, delivery_price decimal(10, 2) default 0.00 not null comment '物流费用(礼品有效)', delivery_type tinyint default 1 not null comment '运费类型( 0 固定运费 1运费模板 2按照商品)', shipping_template int default 0 not null comment '运费模板', is_free_shipping tinyint default 1 not null comment '是否免邮(0不免邮 1免邮)', rule text null comment '商品兑换规则' ) comment '积分兑换' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_exchange_site_id on lucky_promotion_exchange (site_id); create index IDX_ns_promotion_exchange_state on lucky_promotion_exchange (state); create index IDX_ns_promotion_exchange_type on lucky_promotion_exchange (type); create index IDX_ns_promotion_exchange_type_id on lucky_promotion_exchange (type_id); create table if not exists lucky_promotion_exchange_goods ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment ' 站点id', type int default 1 not null comment '兑换形式', type_name varchar(255) default '' not null comment '兑换类型名称', type_id int default 0 not null comment '关联id', name varchar(255) default '' not null comment '兑换名称', image varchar(255) default '' not null comment '图片', point int default 0 not null comment '积分数', price decimal(10, 2) default 0.00 not null comment '兑换价', balance decimal(10, 2) default 0.00 not null comment '余额红包(余额有效)', state int default 1 not null comment '状态(上下架)', content text null comment '兑换说明', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', sort int default 0 not null comment '排序', pay_type int default 0 not null comment '兑换类型 0-积分 1-积分+余额', delivery_price decimal(10, 2) default 0.00 not null comment '物流费用(礼品有效)', rule text null comment '兑换规则' ) comment '积分兑换(主表)' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_exchange_site_id on lucky_promotion_exchange_goods (site_id); create index IDX_ns_promotion_exchange_state on lucky_promotion_exchange_goods (state); create index IDX_ns_promotion_exchange_type on lucky_promotion_exchange_goods (type); create index IDX_ns_promotion_exchange_type_id on lucky_promotion_exchange_goods (type_id); create table if not exists lucky_promotion_exchange_order ( order_id int(11) unsigned auto_increment primary key, order_no varchar(255) default '' not null comment '订单编号', member_id int default 0 not null comment '对应会员', out_trade_no varchar(255) default '' not null comment '支付流水号(线上支付有效)', point int default 0 not null comment '兑换积分数', exchange_price decimal(10, 2) default 0.00 not null comment '兑换价格', delivery_price decimal(10, 2) default 0.00 not null comment '邮费', price decimal(10, 2) default 0.00 not null comment '实际应付金额', express_no varchar(255) default '' not null comment '物流单号(礼品发货)', create_time int default 0 not null comment '创建时间', pay_time int default 0 not null comment '兑换成功时间', exchange_id int default 0 not null comment '兑换商品id', exchange_name varchar(255) default '' not null comment '兑换商品名称', exchange_image varchar(255) default '' not null comment '兑换商品图片', num int default 0 not null comment '兑换数量', order_status int default 0 not null comment '状态', type int default 0 not null comment '类型', type_name varchar(255) default '' not null comment '类型名称', name varchar(255) default '' not null comment '姓名', mobile varchar(255) default '' not null comment '手机号', telephone varchar(255) default '' not null comment '电话', province_id int default 0 not null comment '省id', city_id int default 0 not null comment '市id', district_id int default 0 not null comment '区县id', community_id int default 0 not null comment '社区id', address varchar(255) default '' not null comment '地址信息', full_address varchar(255) default '' not null comment '详细地址信息', longitude varchar(50) default '' not null comment '经度', latitude varchar(50) default '' not null comment '纬度', buyer_message varchar(255) default '' not null comment '买家留言', order_from varchar(255) default '' not null comment '订单来源', order_from_name varchar(255) default '' not null comment '订单来源名称', type_id int default 0 not null comment '关联id', balance decimal(10, 2) default 0.00 not null comment '赠送红包', site_id int default 0 not null, delivery_type varchar(255) default '' not null comment '物流类型', delivery_type_name varchar(255) default '' not null comment '配送方式名称', delivery_status int default 0 not null comment '发货状态', delivery_status_name varchar(255) default '' not null comment '发货状态名称', delivery_code varchar(255) default '' not null comment '配送单号', delivery_store_id int default 0 not null comment '门店id', delivery_store_name varchar(255) default '' not null comment '门店名称', delivery_store_info varchar(2000) default '' not null comment '门店信息', buyer_ask_delivery_time varchar(255) default '' not null comment '到达时间', relate_order_id int default 0 not null comment '关联订单', exchange_goods_id int default 0 not null comment '积分兑换主表', order_money decimal(10, 2) default 0.00 not null comment '订单金额', delivery_start_time int not null comment '配送开始时间', delivery_end_time int not null comment '配送结束时间' ) comment '积分兑换订单' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_exchange_order on lucky_promotion_exchange_order (member_id, order_status); create index IDX_ns_promotion_exchange_order_relate_order_id on lucky_promotion_exchange_order (relate_order_id); create table if not exists lucky_promotion_festival ( festival_id int auto_increment primary key, activity_name varchar(255) default '' not null comment '活动名', site_id int default 0 not null, festival_name varchar(255) default '' not null comment '节日名', festival_type varchar(30) default '1' not null comment '活动类型(插件名称)', festival_type_name varchar(255) default '' not null comment '活动类型名称', level_id varchar(255) default '' not null comment '参与的会员等级0表示全部参与', level_name varchar(255) default '' not null comment '参与活动会员名称', start_time int default 0 not null comment '活动开始时间', end_time int default 0 not null comment '结束时间', status int default 0 not null comment '活动状态 0未开始 1已开始 2已结束 3已关闭', push_time int default 0 not null comment '活动推送时间', remark varchar(1000) default '' not null comment '说明', create_time int default 0 not null comment '创建时间', update_time int default 0 not null comment '更新时间', join_time int default 0 not null comment '0自定义节日 1传统节日', join_type int default 0 not null comment '1活动时间内 0活动开始前', join_frequency int default 0 not null comment '天数' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_festival_award ( award_id int auto_increment primary key, site_id int default 0 not null, festival_id int default 0 not null, award_type varchar(255) default '' not null comment '奖品类型 以逗号分割', coupon varchar(255) default '' not null comment '关联id(根据奖品类型)', point int default 0 not null comment '积分数', balance decimal(10, 2) default 0.00 not null comment '余额', award_num int default 0 not null comment '奖品数量', remaining_num int default 0 not null comment '剩余数量', receive_num int default 0 not null comment '已领取数量', balance_type int default 0 not null comment '0不可提现 1可提现', balance_money decimal(10, 2) default 0.00 not null comment '可提现' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_festival_draw_record ( record_id int auto_increment primary key, site_id int default 0 not null, festival_id int default 0 not null comment '活动id', festival_type varchar(30) default '' not null comment '活动类型(插件名称)', member_id int default 0 not null comment '会员id', member_nick_name varchar(255) default '' not null comment '会员昵称', award_id int default 0 not null comment '奖品id', receive_time int default 0 not null comment '领取时间' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_freeshipping ( freeshipping_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', price decimal(10, 2) default 0.00 not null comment '金额', area_ids text null comment '地区ids', area_names text null comment '地区名称', surplus_area_ids text null, create_time int default 0 not null, update_time int default 0 not null, merch_id int default 0 not null comment '商户id' ) comment '满额包邮' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_friends_coupon ( coupon_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点Id', coupon_type_id int default 0 not null comment '优惠券类型Id', name varchar(64) default '' not null comment '活动名称', goods_type int default 1 not null comment '适用商品类型1-全部商品可用;2-指定商品可用;3-指定商品不可用', goods_ids varchar(2500) default '' not null comment '商品Id', image varchar(255) default '' not null comment '优惠券图片', start_time int default 0 not null comment '活动开始时间', end_time int default 0 not null comment '活动结束时间', status int default 0 not null comment '状态 0未开始 1进行中 2已结束 -1已关闭', status_name varchar(64) default '' not null comment '状态名称', count int default 0 not null comment '发放总量', inventory int default 0 null comment '优惠券库存', success_count int default 0 not null comment '瓜分成功的优惠券数量', money decimal(10, 2) default 0.00 not null comment '优惠券瓜分金额', divide_num int default 0 not null comment '瓜分人数', validity_type int default 1 not null comment '过期类型0-固定时间1领取之日起', start_use_time int default 0 not null comment '使用开始日期 过期类型1时必填', end_use_time int default 0 not null comment '使用结束日期 过期类型1时必填', fixed_term int default 0 not null comment '当validity_type为2或者3时需要添加 领取之日起或者次日N天内有效', divide_type int default 0 not null comment '瓜分方式(0固定金额 1随机金额)', is_simulation int default 0 not null comment '是否模拟好友 0否 1是', remark varchar(255) default '' not null comment '活动规则说明', divide_time int default 1 not null comment '瓜分有效期(小时)', is_limit int default 0 not null comment '使用门槛 0无门槛 1 有门槛', at_least decimal(10, 2) default 0.00 not null comment '满多少元使用 0代表无限制', is_new int default 0 not null comment '仅新人参与限制 0否 1是', validity_end_time int default 0 not null comment '使用券有效期结束时间', create_time int default 0 not null comment '创建时间' ) comment '好友瓜分券活动表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_friends_coupon_group ( group_id int(11) unsigned auto_increment primary key, promotion_id int default 0 not null comment '活动Id', coupon_type_id int default 0 not null comment '优惠券类型Id', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '结束时间', header_id int default 0 not null comment '发起人Id', member_ids varchar(255) default '' not null comment '参与人id', coupon_ids varchar(255) default '' not null comment '优惠券组Id', group_member_ids varchar(255) default '' not null comment '组中人id(发放券的人)', num int default 0 not null comment '参与数量', status int default 0 not null comment '状态 0进行中 1瓜分成功 2瓜分失败', is_look int default 0 not null comment '查看区分(瓜分失败后 0是重新组队 1是去查看)', site_id int default 0 not null ) comment '好友瓜分券参与活动组' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_games ( game_id int(11) unsigned auto_increment comment '游戏id' primary key, site_id int default 0 not null comment '站点id', game_name varchar(255) default '' not null comment '游戏活动名称', game_type varchar(30) default '1' not null comment '游戏类型(插件名称)', game_type_name varchar(255) default '' not null comment '游戏类型名称', level_id varchar(255) default '' not null comment '参与的会员等级0表示全部参与', level_name varchar(255) default '' not null comment '参与活动会员名称', points int default 0 not null comment '参与一次扣除积分', start_time int default 0 not null comment '活动开始时间', end_time int default 0 not null comment '活动结束时间', status int default 0 not null comment '活动状态 0未开始 1已开始 2已结束 3已关闭', remark varchar(1000) default '' not null comment '活动说明', winning_rate decimal(10, 2) default 0.00 not null comment '中奖率', no_winning_img varchar(255) default '' not null, no_winning_desc varchar(255) default '' not null comment '未中奖说明', is_show_winner int default 0 not null comment '中奖名单是否显示 0不显示 1显示', join_type int default 0 not null comment '参加类型 0活动全过程 1每天 (节日礼 0节日前某天 1节日当天)', join_frequency int default 1 not null comment '根据类型计算参加次数(节日礼的天数)', join_num int default 0 not null comment '抽奖人数', winning_num int default 0 not null comment '中奖人数', create_time int default 0 not null, update_time int default 0 not null, push_time int default 0 not null comment '节日有礼活动推送时间戳' ) comment '营销游戏(概率游戏)' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_games_end_time on lucky_promotion_games (end_time); create index IDX_ns_promotion_games_game_type on lucky_promotion_games (game_type); create index IDX_ns_promotion_games_site_id on lucky_promotion_games (site_id); create index IDX_ns_promotion_games_start_time on lucky_promotion_games (start_time); create index IDX_ns_promotion_games_status on lucky_promotion_games (status); create table if not exists lucky_promotion_games_award ( award_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', game_id int default 0 not null comment '游戏id', award_name varchar(255) default '' not null comment '奖品名称', award_img varchar(255) default '' not null comment '图片', award_type tinyint default 0 not null comment '奖品类型(1积分 2余额(不可提现) 3优惠券 4赠品)', relate_id int default 0 not null comment '关联id(根据奖品类型)', relate_name varchar(255) default '' not null comment '关联商品名称(优惠券或者赠品名称)', point int default 0 not null comment '积分数', balance decimal(10, 2) default 0.00 not null comment '余额', award_num int default 0 not null comment '奖品数量', award_winning_rate int default 0 not null comment '奖品中奖概率', remaining_num int default 0 not null comment '剩余数量', receive_num int default 0 not null comment '已领取数量', no_winning_img varchar(255) default '' not null comment '未中奖图片' ) comment '游戏奖品' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_games_draw_record ( record_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', game_id int default 0 not null comment '游戏id', game_type varchar(30) default '' not null comment '游戏类型(插件名称)', member_id int default 0 not null comment '会员id', member_nick_name varchar(255) default '' not null comment '会员昵称', points int default 0 not null comment '参与消耗积分', is_winning tinyint default 0 not null comment '是否中奖(0未中 1中奖)', award_id int default 0 not null comment '奖品id', award_name varchar(255) default '' not null comment '奖品名称', award_type tinyint default 0 not null comment '奖品类型(1积分 2余额(不可提现) 3优惠券 4赠品)', relate_id int default 0 not null comment '关联id(根据奖品类型)', relate_name varchar(255) default '' not null comment '关联商品名称(优惠券或者赠品名称)', is_receive tinyint default 0 not null comment '是否领取(0未领取 1领取)奖品为优惠券 赠品是使用', point int default 0 not null comment '奖励积分数', balance decimal(10, 2) default 0.00 not null comment '奖励余额', remark varchar(255) default '' not null comment '说明', create_time int default 0 not null comment '参与时间' ) comment '抽奖记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_groupbuy ( groupbuy_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '店铺ID', site_name varchar(255) default '' not null comment '店铺名称', goods_id int default 0 not null comment '商品ID', goods_name varchar(255) default '' not null comment '商品名称', goods_image varchar(1000) default '' not null comment '商品图片', is_virtual_goods tinyint default 0 not null comment '是否是虚拟商品(0否 1是)', goods_price decimal(10, 2) default 0.00 not null comment '商品原价', groupbuy_price decimal(10, 2) default 0.00 not null comment '团购价', buy_num int default 0 not null comment '最低购买量', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '结束时间', sell_num int default 0 not null comment '已出售数量', status tinyint default 1 not null comment '状态(1未开始 2进行中 3已结束)', sku_id int default 0 not null comment '商品sku', rule text null comment '活动规则' ) comment '团购' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_groupbuy_end_time on lucky_promotion_groupbuy (end_time); create index IDX_ns_promotion_groupbuy_goods_id on lucky_promotion_groupbuy (goods_id); create index IDX_ns_promotion_groupbuy_site_id on lucky_promotion_groupbuy (site_id); create index IDX_ns_promotion_groupbuy_start_time on lucky_promotion_groupbuy (start_time); create index IDX_ns_promotion_groupbuy_status on lucky_promotion_groupbuy (status); create table if not exists lucky_promotion_hongbao ( hongbao_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点Id', name varchar(64) default '' not null comment '活动名称', image varchar(255) default '' not null comment '红包图片', start_time int default 0 not null comment '活动开始时间', end_time int default 0 not null comment '活动结束时间', status int default 0 not null comment '状态 0未开始 1进行中 2已结束 -1已关闭', status_name varchar(64) default '' not null comment '状态名称', count int default 0 not null comment '发放总量', inventory int default 0 null comment '红包库存', success_count int default 0 not null comment '瓜分成功的红包数量', money decimal(10, 2) default 0.00 not null comment '红包瓜分金额', divide_num int default 0 not null comment '瓜分人数', divide_type int default 0 not null comment '瓜分方式(0固定金额 1随机金额)', is_simulation int default 0 not null comment '是否模拟好友 0否 1是', remark varchar(255) default '' not null comment '活动规则说明', divide_time int default 1 not null comment '瓜分有效期(小时)', is_new int default 0 not null comment '仅新人参与限制 0否 1是', balance_set int default 1 not null comment '余额设置 1不可提现余额 2可提现余额', create_time int default 0 not null comment '创建时间' ) comment '红包裂变活动表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_hongbao_group ( group_id int(11) unsigned auto_increment primary key, hongbao_id int default 0 not null comment '活动Id', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '红包Id', header_id int default 0 not null comment '发起人Id', member_ids varchar(255) default '' not null comment '参与人id', balance_data varchar(255) default '' not null comment '瓜分的金额数(值与组Id对应)', group_member_ids varchar(255) default '' not null comment '组中人id(发放券的人)', num int default 0 not null comment '参与数量', status int default 0 not null comment '状态 0进行中 1瓜分成功 2瓜分失败', site_id int default 0 not null, is_look int default 0 not null comment '查看区分(瓜分失败后 0是重新组队 1是去查看)' ) comment '好友瓜分券参与活动组' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_jielong ( jielong_id int auto_increment comment '社群接龙活动ID' primary key, jielong_name varchar(255) default '' not null comment '接龙活动名称', site_id int default 0 not null comment '站点ID', goods_ids text not null comment '商品ID集'',''英文逗号分隔', start_time int default 0 not null comment '活动开始时间', end_time int default 0 not null comment '活动结束时间', status tinyint default 0 not null comment '活动状态 0未开始 1进行中 2已结束 3 手动关闭', status_name varchar(20) default '' not null comment '状态名称', is_delete tinyint default 0 not null comment '是否删除0未删除1已删除', create_time int default 0 not null comment '创建时间', update_time int default 0 not null comment '更新时间', `desc` varchar(255) null comment '活动描述' ) comment '接龙活动表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_jielong_cart ( cart_id int auto_increment primary key, site_id int default 0 not null comment '站点id', member_id int default 0 not null comment '会员id', sku_id int default 0 not null comment 'sku_id', num int default 0 not null comment '数量', jielong_id int default 0 not null comment '接龙活动id' ) comment ' 购物车' charset = utf8 row_format = DYNAMIC; create index IDX_ns_goods_cart_member_id on lucky_promotion_jielong_cart (member_id); create table if not exists lucky_promotion_jielong_goods ( id int auto_increment comment '接龙活动商品表ID' primary key, jielong_id int default 0 not null comment '接龙活动表ID', site_id int default 0 not null comment '站点ID', goods_id int default 0 not null comment '商品id', sale_num int default 0 not null comment '销量' ) comment '接龙活动商品表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_jielong_order ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', site_name varchar(255) default '' not null comment '站点名称', jielong_id int default 0 not null comment '接龙活动id', order_no varchar(255) default '' not null comment '订单编号', order_from varchar(55) default '' not null comment '订单来源', order_from_name varchar(50) default '' not null comment '订单来源名称', order_type int default 0 not null comment '订单类型 1. 普通订单 2. 门店订单 3. 本地配送订单4. 虚拟订单', order_type_name varchar(50) default '' not null comment '订单类型名称', member_id int default 0 not null comment '购买人uid', name varchar(50) default '' not null comment '购买人姓名', mobile varchar(255) default '' not null comment '购买人手机', telephone varchar(255) default '' not null comment '购买人固定电话', province_id int default 0 not null comment '购买人省id', city_id int default 0 not null comment '购买人市id', district_id int default 0 not null comment '购买人区县id', community_id int default 0 not null comment '购买人社区id', address varchar(255) default '' not null comment '购买人地址', full_address varchar(255) default '' not null comment '购买人详细地址', longitude varchar(50) default '' not null comment '购买人地址经度', latitude varchar(50) default '' not null comment '购买人地址纬度', buyer_ip varchar(20) default '' not null comment '购买人ip', buyer_ask_delivery_time int default 0 not null comment '购买人要求配送时间', buyer_message varchar(50) default '' not null comment '购买人留言信息', num int default 0 not null comment '购买数量', goods_money decimal(10, 2) default 0.00 not null comment '商品总额', delivery_money decimal(10, 2) default 0.00 not null comment '配送金额', promotion_money decimal(10, 2) default 0.00 not null comment '订单优惠金额', coupon_id int default 0 not null comment '优惠券id', coupon_money decimal(10, 2) default 0.00 not null comment '优惠券金额', order_money decimal(10, 2) default 0.00 not null comment '订单金额', pay_time int default 0 not null comment '支付时间', pay_type varchar(55) default '' not null comment '支付方式', pay_type_name varchar(50) default '' not null comment '支付类型名称', order_status tinyint default 0 not null comment '订单状态', order_status_name varchar(255) default '' not null comment '状态名称', order_status_action varchar(1000) default '' not null comment '订单操作', delivery_type varchar(50) default '' not null comment '配送方式', delivery_type_name varchar(50) default '' not null comment '配送方式名称', close_time int default 0 not null comment '订单关闭时间', create_time int default 0 not null comment '订单创建时间', relate_order_id int default 0 not null comment '关联订单id' ) comment '接龙活动订单表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_manjian ( manjian_id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', manjian_name varchar(255) default '' not null comment '名称', manjian_type tinyint default 1 not null comment '1全部商品参与 2指定商品 3指定商品不参与', type int default 0 not null comment '条件类型 0:满N元 1:满N件', goods_ids text null comment '商品id集', status int default 0 not null comment '状态(0未开始1进行中2已结束-1已关闭)', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '结束时间', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', rule_json varchar(2000) default '{}' not null comment '规则json', remark varchar(1000) default '' not null comment '备注', merch_id int default 0 not null comment '商户id' ) comment '满减活动' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_manjian_end_time on lucky_promotion_manjian (end_time); create index IDX_ns_promotion_manjian_manjian_type on lucky_promotion_manjian (manjian_type); create index IDX_ns_promotion_manjian_site_id on lucky_promotion_manjian (site_id); create index IDX_ns_promotion_manjian_start_time on lucky_promotion_manjian (start_time); create index IDX_ns_promotion_manjian_status on lucky_promotion_manjian (status); create index IDX_ns_promotion_manjian_type on lucky_promotion_manjian (type); create table if not exists lucky_promotion_manjian_goods ( id int(11) unsigned auto_increment primary key, manjian_id int default 0 not null comment '满减活动id', site_id int default 0 not null comment '站点id', goods_id int default 0 not null comment '商品id', manjian_type tinyint default 1 not null comment '1全部商品参与 2指定商品 3指定商品不参与', status tinyint default 0 not null comment '状态(0未开始1进行中2已结束-1已关闭)', rule_json varchar(2000) default '' not null comment '满减规则json', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '结束时间' ) comment '满减商品表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_manjian_goods_end_time on lucky_promotion_manjian_goods (end_time); create index IDX_ns_promotion_manjian_goods_goods_id on lucky_promotion_manjian_goods (goods_id); create index IDX_ns_promotion_manjian_goods_manjian_id on lucky_promotion_manjian_goods (manjian_id); create index IDX_ns_promotion_manjian_goods_manjian_type on lucky_promotion_manjian_goods (manjian_type); create index IDX_ns_promotion_manjian_goods_start_time on lucky_promotion_manjian_goods (start_time); create table if not exists lucky_promotion_mansong_record ( id int auto_increment primary key, manjian_id int default 0 not null comment '满减送活动id', site_id int default 0 not null comment '站点id', manjian_name varchar(255) default '' not null comment '满减送活动名称', point int default 0 not null comment '所送积分数', coupon varchar(255) default '' not null comment '所送优惠券', order_id int default 0 not null comment '订单id', member_id int default 0 not null, order_sku_ids varchar(255) default '' not null comment '满足条件的商品规格id', status int default 0 not null comment '0未发放 1已发放', coupon_num varchar(255) default '' not null comment '优惠券赠送数量' ) comment '满送记录表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_pinfan ( pintuan_id int(11) unsigned auto_increment comment '拼团id' primary key, site_id int default 0 not null comment '店铺id', site_name varchar(50) default '' not null comment '店铺名称', pintuan_name varchar(30) default '' not null comment '活动名称', goods_id int default 0 not null comment '商品id', is_virtual_goods tinyint default 0 not null comment '是否是虚拟商品(0否 1是)', pintuan_num int default 0 not null comment '参团人数', chengtuan_num int default 0 not null comment '实际成功人数', reward_type tinyint default 0 not null comment '拼团成功但是未发货奖励1消费余额2现金红包3优惠券4.积分', reward_type_num varchar(1000) default '' not null comment '奖励类型数量:余额积分数量,优惠券id组', pintuan_time int default 1 not null comment '拼团有效期', remark text null comment '活动规则', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', is_recommend int default 0 not null comment '是否推荐', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '结束时间', buy_num int default 0 not null comment '拼团限制购买', pintuan_price decimal(10, 2) default 0.00 not null comment '拼团价', is_single_buy tinyint default 1 not null comment '是否单独购买', is_virtual_buy tinyint default 0 not null comment '是否虚拟成团', is_promotion tinyint default 0 not null comment '是否团长优惠', status tinyint default 0 not null comment '状态(0正常 1活动进行中 2活动已结束 3失效 4删除)', group_num int default 0 not null comment '开团组数', success_group_num int default 0 not null comment '成团组数', order_num int default 0 not null comment '购买人数' ) comment '拼团返现活动表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_pintuan_end_time on lucky_promotion_pinfan (end_time); create index IDX_ns_promotion_pintuan_goods_id on lucky_promotion_pinfan (goods_id); create index IDX_ns_promotion_pintuan_is_recommend on lucky_promotion_pinfan (is_recommend); create index IDX_ns_promotion_pintuan_site_id on lucky_promotion_pinfan (site_id); create index IDX_ns_promotion_pintuan_start_time on lucky_promotion_pinfan (start_time); create index IDX_ns_promotion_pintuan_status on lucky_promotion_pinfan (status); create table if not exists lucky_promotion_pinfan_goods ( id int(11) unsigned auto_increment comment '主键' primary key, pintuan_id int default 0 not null comment '拼团id', goods_id int default 0 not null comment '商品id', sku_id int default 0 not null comment 'skuid', pintuan_price decimal(10, 2) default 0.00 not null comment '拼团价', promotion_price decimal(10, 2) default 0.00 not null comment '团长优惠价', site_id int default 0 not null comment '站点id' ) comment '拼团返现商品表' charset = utf8 row_format = DYNAMIC; create index IDX_promotion_pintuan_goods_goods_id on lucky_promotion_pinfan_goods (goods_id); create index IDX_promotion_pintuan_goods_pintuan_id on lucky_promotion_pinfan_goods (pintuan_id); create index IDX_promotion_pintuan_goods_site_id on lucky_promotion_pinfan_goods (site_id); create index IDX_promotion_pintuan_goods_sku_id on lucky_promotion_pinfan_goods (sku_id); create table if not exists lucky_promotion_pinfan_group ( group_id int auto_increment comment '拼团分组id' primary key, site_id int default 0 not null comment '店铺id', goods_id int default 0 not null comment '商品id', is_virtual_goods tinyint default 0 not null comment '是否虚拟商品', pintuan_id int default 0 not null comment '拼团活动id', head_id int default 0 not null comment '团长id', pintuan_num int default 0 not null comment '拼团数量', pintuan_count int default 1 not null comment '当前数量', create_time int default 0 not null comment '创建时间', end_time int default 0 not null comment '拼团结束时间', status int default 0 not null comment '当前状态 0未支付 1拼团失败 2.组团中3.拼团成功', is_virtual_buy tinyint default 0 not null comment '是否虚拟成团', is_single_buy tinyint default 1 not null comment '是否单独购买', is_promotion tinyint default 0 not null comment '是否团长优惠', buy_num int default 0 not null comment '拼团限制购买', head_member_img varchar(255) default '' not null comment '组长会员头像', head_nickname varchar(255) default '' not null comment '组长会员昵称' ) comment '拼团返现组' charset = utf8 row_format = DYNAMIC; create index IDX_promotion_pintuan_group_end_time on lucky_promotion_pinfan_group (end_time); create index IDX_promotion_pintuan_group_goods_id on lucky_promotion_pinfan_group (goods_id); create index IDX_promotion_pintuan_group_head_id on lucky_promotion_pinfan_group (head_id); create index IDX_promotion_pintuan_group_pintuan_id on lucky_promotion_pinfan_group (pintuan_id); create index IDX_promotion_pintuan_group_site_id on lucky_promotion_pinfan_group (site_id); create index IDX_promotion_pintuan_group_status on lucky_promotion_pinfan_group (status); create table if not exists lucky_promotion_pinfan_order ( id int auto_increment primary key, pintuan_id int default 0 not null comment '拼团id', order_id int default 0 not null comment '订单id', site_id int default 0 not null comment '站点id', order_no varchar(50) default '' not null comment '订单编号', group_id int default 0 not null comment '拼团分组id', pintuan_status int default 0 not null comment '拼团状态(0未支付 1拼团失败 2组团中 3拼团成功)', order_type int default 1 not null comment '订单类型', head_id int default 1 not null comment '团长id', member_id int default 0 not null comment '订单会员id', member_img varchar(255) default '' not null comment '会员头像图', nickname varchar(255) default '' not null comment '会员昵称' ) comment '拼团订单' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_pintuan_order_head_id on lucky_promotion_pinfan_order (head_id); create index IDX_ns_promotion_pintuan_order_member_id on lucky_promotion_pinfan_order (member_id); create index IDX_ns_promotion_pintuan_order_order_id on lucky_promotion_pinfan_order (order_id); create index IDX_ns_promotion_pintuan_order_pintuan_id on lucky_promotion_pinfan_order (pintuan_id); create index IDX_ns_promotion_pintuan_order_site_id on lucky_promotion_pinfan_order (site_id); create table if not exists lucky_promotion_pintuan ( pintuan_id int(11) unsigned auto_increment comment '拼团id' primary key, site_id int default 0 not null comment '店铺id', site_name varchar(50) default '' not null comment '店铺名称', pintuan_name varchar(30) default '' not null comment '活动名称', goods_id int default 0 not null comment '商品id', is_virtual_goods tinyint default 0 not null comment '是否是虚拟商品(0否 1是)', pintuan_num int default 0 not null comment '参团人数', pintuan_time int default 1 not null comment '拼团有效期', remark text null comment '活动规则', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', is_recommend int default 0 not null comment '是否推荐', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '结束时间', buy_num int default 0 not null comment '拼团限制购买', pintuan_price decimal(10, 2) default 0.00 not null comment '拼团价', is_single_buy tinyint default 1 not null comment '是否单独购买', is_virtual_buy tinyint default 0 not null comment '是否虚拟成团', is_promotion tinyint default 0 not null comment '是否团长优惠', status tinyint default 0 not null comment '状态(0正常 1活动进行中 2活动已结束 3失效 4删除)', group_num int default 0 not null comment '开团组数', success_group_num int default 0 not null comment '成团组数', order_num int default 0 not null comment '购买人数', pintuan_type varchar(50) default 'ordinary' not null comment '拼团类型 ordinary 普通团 ladder 阶梯团', pintuan_num_2 int default 0 not null comment '阶梯二参团人数', pintuan_num_3 int default 0 not null comment '阶梯三参团人数' ) comment '拼团活动表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_pintuan_end_time on lucky_promotion_pintuan (end_time); create index IDX_ns_promotion_pintuan_goods_id on lucky_promotion_pintuan (goods_id); create index IDX_ns_promotion_pintuan_is_recommend on lucky_promotion_pintuan (is_recommend); create index IDX_ns_promotion_pintuan_site_id on lucky_promotion_pintuan (site_id); create index IDX_ns_promotion_pintuan_start_time on lucky_promotion_pintuan (start_time); create index IDX_ns_promotion_pintuan_status on lucky_promotion_pintuan (status); create table if not exists lucky_promotion_pintuan_goods ( id int(11) unsigned auto_increment comment '主键' primary key, pintuan_id int default 0 not null comment '拼团id', goods_id int default 0 not null comment '商品id', sku_id int default 0 not null comment 'skuid', pintuan_price decimal(10, 2) default 0.00 not null comment '拼团价', promotion_price decimal(10, 2) default 0.00 not null comment '团长优惠价', site_id int default 0 not null comment '站点id', pintuan_price_2 decimal(10, 2) default 0.00 not null comment '阶梯二拼团价', pintuan_price_3 decimal(10, 2) default 0.00 not null comment '阶梯三拼团价' ) comment '拼团商品表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_pintuan_goods_goods_id on lucky_promotion_pintuan_goods (goods_id); create index IDX_ns_promotion_pintuan_goods_pintuan_id on lucky_promotion_pintuan_goods (pintuan_id); create index IDX_ns_promotion_pintuan_goods_site_id on lucky_promotion_pintuan_goods (site_id); create index IDX_ns_promotion_pintuan_goods_sku_id on lucky_promotion_pintuan_goods (sku_id); create table if not exists lucky_promotion_pintuan_group ( group_id int auto_increment comment '拼团分组id' primary key, site_id int default 0 not null comment '店铺id', goods_id int default 0 not null comment '商品id', is_virtual_goods tinyint default 0 not null comment '是否虚拟商品', pintuan_id int default 0 not null comment '拼团活动id', head_id int default 0 not null comment '团长id', pintuan_num int default 0 not null comment '拼团数量', pintuan_count int default 1 not null comment '当前数量', create_time int default 0 not null comment '创建时间', end_time int default 0 not null comment '拼团结束时间', status int default 0 not null comment '当前状态 0未支付 1拼团失败 2.组团中3.拼团成功', is_virtual_buy tinyint default 0 not null comment '是否虚拟成团', is_single_buy tinyint default 1 not null comment '是否单独购买', is_promotion tinyint default 0 not null comment '是否团长优惠', buy_num int default 0 not null comment '拼团限制购买', head_member_img varchar(255) default '' not null comment '组长会员头像', head_nickname varchar(255) default '' not null comment '组长会员昵称' ) comment '拼团组' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_pintuan_group_end_time on lucky_promotion_pintuan_group (end_time); create index IDX_ns_promotion_pintuan_group_goods_id on lucky_promotion_pintuan_group (goods_id); create index IDX_ns_promotion_pintuan_group_head_id on lucky_promotion_pintuan_group (head_id); create index IDX_ns_promotion_pintuan_group_pintuan_id on lucky_promotion_pintuan_group (pintuan_id); create index IDX_ns_promotion_pintuan_group_site_id on lucky_promotion_pintuan_group (site_id); create index IDX_ns_promotion_pintuan_group_status on lucky_promotion_pintuan_group (status); create table if not exists lucky_promotion_pintuan_order ( id int auto_increment primary key, pintuan_id int default 0 not null comment '拼团id', order_id int default 0 not null comment '订单id', site_id int default 0 not null comment '站点id', order_no varchar(50) default '' not null comment '订单编号', group_id int default 0 not null comment '拼团分组id', pintuan_status int default 0 not null comment '拼团状态(0未支付 1拼团失败 2组团中 3拼团成功)', order_type int default 1 not null comment '订单类型', head_id int default 1 not null comment '团长id', member_id int default 0 not null comment '订单会员id', member_img varchar(255) default '' not null comment '会员头像图', nickname varchar(255) default '' not null comment '会员昵称', pintuan_num int default 0 not null comment '拼团人数(活动规格)' ) comment '拼团订单' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_pintuan_order_head_id on lucky_promotion_pintuan_order (head_id); create index IDX_ns_promotion_pintuan_order_member_id on lucky_promotion_pintuan_order (member_id); create index IDX_ns_promotion_pintuan_order_order_id on lucky_promotion_pintuan_order (order_id); create index IDX_ns_promotion_pintuan_order_pintuan_id on lucky_promotion_pintuan_order (pintuan_id); create index IDX_ns_promotion_pintuan_order_site_id on lucky_promotion_pintuan_order (site_id); create table if not exists lucky_promotion_presale ( presale_id int(11) unsigned auto_increment primary key, presale_name varchar(255) default '' not null comment '预售活动名称', site_id int default 0 not null comment '站点id', goods_id int default 0 not null comment '商品id', presale_stock int default 0 not null comment '预售总库存', presale_num int default 0 not null comment '限购', start_time int default 0 not null comment '定金开始时间', end_time int default 0 not null comment '定金结束时间', pay_start_time int default 0 not null comment '尾款支付时间', pay_end_time int default 0 not null comment '尾款结束时间', deliver_type tinyint default 0 not null comment '发货方式(0固定时间 1尾款支付后N天)', deliver_time int default 0 not null comment '发货时间', is_fenxiao tinyint default 0 not null comment '是否参与分销(0不参与 1参与)', status tinyint default 0 not null comment '状态(0未开始 1活动进行中 2活动已结束 3失效 4删除)', status_name varchar(20) default '' not null comment '状态名称', sale_num int default 0 not null comment '销量', create_time int default 0 not null, update_time int default 0 not null, presale_deposit decimal(10, 2) default 0.00 not null comment '预售定金', presale_price decimal(10, 2) default 0.00 not null comment '抵扣金额', sku_id int default 0 not null, is_deposit_back tinyint default 0 not null comment '是否退定金是0 否1', deposit_agreement text null comment '定金协议', remark text null comment '活动规则说明' ) comment '商品预售' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_presale_goods ( id int auto_increment primary key, presale_id int default 0 not null, site_id int default 0 not null, goods_id int default 0 not null, sku_id int default 0 not null, presale_stock int default 0 not null comment '预售库存', presale_deposit decimal(10, 2) default 0.00 not null comment '预售定金', presale_price decimal(10, 2) default 0.00 not null comment '抵扣金额' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_presale_order ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', site_name varchar(255) default '' not null comment '站点名称', presale_id int default 0 not null comment '预售id', order_no varchar(255) default '' not null comment '订单编号', deposit_out_trade_no varchar(255) default '' not null comment '定金支付流水号', final_out_trade_no varchar(255) default '' not null comment '尾款支付流水号', order_from varchar(55) default '' not null comment '订单来源', order_from_name varchar(50) default '' not null comment '订单来源名称', order_type int default 0 not null comment '订单类型 1. 普通订单 2. 门店订单 3. 本地配送订单4. 虚拟订单', order_type_name varchar(50) default '' not null comment '订单类型名称', pay_start_time int default 0 not null comment '尾款支付开始时间', pay_end_time int default 0 not null comment '尾款支付结束时间', is_fenxiao int default 0 not null comment '是否参与分销 0不参与 1参与', goods_id int default 0 not null comment '商品id', goods_name varchar(400) default '' not null comment '商品名称', sku_id int default 0 not null comment '商品skuid', sku_name varchar(255) default '' not null comment '商品名称', sku_image varchar(255) default '' not null comment '商品图片', sku_no varchar(10) default '' not null comment '商品编码', is_virtual int default 0 not null comment '是否是虚拟商品', goods_class int default 0 not null comment '商品种类(1.实物 2.虚拟3.卡券)', goods_class_name varchar(50) default '' not null comment '商品类型名称', cost_price decimal(10, 2) default 0.00 not null comment '成本价', sku_spec_format varchar(1000) default '' not null comment 'sku规格格式', member_id int default 0 not null comment '购买人uid', name varchar(50) default '' not null comment '购买人姓名', mobile varchar(255) default '' not null comment '购买人手机', telephone varchar(255) default '' not null comment '购买人固定电话', province_id int default 0 not null comment '购买人省id', city_id int default 0 not null comment '购买人市id', district_id int default 0 not null comment '购买人区县id', community_id int default 0 not null comment '购买人社区id', address varchar(255) default '' not null comment '购买人地址', full_address varchar(255) default '' not null comment '购买人详细地址', longitude varchar(50) default '' not null comment '购买人地址经度', latitude varchar(50) default '' not null comment '购买人地址纬度', buyer_ip varchar(20) default '' not null comment '购买人ip', buyer_ask_delivery_time int default 0 not null comment '购买人要求配送时间', buyer_message varchar(50) default '' not null comment '购买人留言信息', num int default 0 not null comment '购买数量', presale_deposit decimal(10, 2) default 0.00 not null comment '预售定金单价', presale_deposit_money decimal(10, 2) default 0.00 not null comment '定金总额', presale_price decimal(10, 2) default 0.00 not null comment '抵扣金额单价', presale_money decimal(10, 2) default 0.00 not null comment '抵扣总额', price decimal(10, 2) default 0.00 not null comment '商品单价', goods_money decimal(10, 2) default 0.00 not null comment '商品总额', balance_deposit_money decimal(10, 2) default 0.00 not null comment '余额支付定金金额', pay_deposit_money decimal(10, 2) default 0.00 not null comment '现金支付定金金额', delivery_money decimal(10, 2) default 0.00 not null comment '配送金额', promotion_money decimal(10, 2) default 0.00 not null comment '订单优惠金额', coupon_id int default 0 not null comment '优惠券id', coupon_money decimal(10, 2) default 0.00 not null comment '优惠券金额', invoice_money decimal(10, 2) default 0.00 not null comment '发票金额', order_money decimal(10, 2) default 0.00 not null comment '订单金额', final_money decimal(10, 2) default 0.00 not null comment '尾款总额', balance_final_money decimal(10, 2) default 0.00 not null comment '余额支付尾款金额', pay_final_money decimal(10, 2) default 0.00 not null comment '现金支付尾款金额', pay_deposit_time int default 0 not null comment '定金支付时间', deposit_pay_type varchar(55) default '' not null comment '定金支付方式', deposit_pay_type_name varchar(50) default '' not null comment '定金支付类型名称', pay_final_time int default 0 not null comment '尾款支付时间', final_pay_type varchar(55) default '' not null comment '尾款支付方式', final_pay_type_name varchar(50) default '' not null comment '尾款支付类型名称', order_status tinyint default 0 not null comment '订单状态', order_status_name varchar(255) default '' not null comment '状态名称', order_status_action varchar(1000) default '' not null comment '订单操作', deposit_refund_no varchar(255) default '' not null comment '定金退款流水号', final_refund_no varchar(255) default '' not null comment '尾款退款流水号', refund_money decimal(10, 2) default 0.00 not null comment '退款金额', refund_status tinyint default 0 not null comment '退款状态', refund_status_name varchar(255) default '' not null comment '退款名称', apply_refund_time int default 0 not null comment '申请退款时间', refund_time int default 0 not null comment '审核时间', refuse_reason varchar(255) default '' not null comment '拒绝原因', delivery_type varchar(50) default '' not null comment '配送方式', delivery_type_name varchar(50) default '' not null comment '配送方式名称', delivery_store_id int default 0 not null comment '门店id', delivery_store_name varchar(255) default '' not null comment '门店名称', delivery_store_info varchar(255) default '' not null comment '门店信息(json)', is_invoice int default 0 not null comment '是否需要发票 0 无发票 1 有发票', invoice_type int default 1 not null comment '发票类型 1 纸质发票 2 电子发票', invoice_title varchar(255) default '' not null comment '发票抬头', taxpayer_number varchar(255) default '' not null comment '纳税人识别号', invoice_rate decimal(10, 2) default 0.00 not null comment '发票税率', invoice_content varchar(255) default '' not null comment '发票内容', invoice_delivery_money decimal(10, 2) default 0.00 not null comment '发票邮寄费用', invoice_full_address varchar(255) default '' not null comment '发票邮寄地址', is_tax_invoice int default 0 not null comment '是否需要增值税专用发票', invoice_email varchar(255) default '' not null comment '发票发送邮件', invoice_title_type int default 0 not null comment '发票抬头类型 1 个人 2 企业', close_time int default 0 not null comment '订单关闭时间', create_time int default 0 not null comment '订单创建时间', predict_delivery_time int default 0 not null comment '预计发货时间', is_deposit_back int default 0 not null comment '是否退定金是0 否1', deposit_agreement text null comment '定金协议', relate_order_id int default 0 not null comment '关联订单id' ) comment '预售定金表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_present ( present_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '店铺ID', goods_id int default 0 not null comment '商品ID', sku_name varchar(255) default '' not null comment '商品名称', sku_id int default 0 not null comment '商品sku', sku_image varchar(255) default '' not null comment '商品图片', is_virtual tinyint default 0 not null comment '是否是虚拟商品(0否 1是)', sku_price decimal(10, 2) default 0.00 not null comment '商品原价', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '结束时间', sale_num int default 0 not null comment '已赠送数量', limit_num int default 0 not null comment '每人限制领取数量', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', status tinyint default 1 not null comment '状态(1未开始 2进行中 3已结束)', stock int default 0 not null comment '赠品库存' ) comment '赠品' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_present_goods_id on lucky_promotion_present (goods_id); create index IDX_ns_promotion_present_site_id on lucky_promotion_present (site_id); create index IDX_ns_promotion_present_sku_id on lucky_promotion_present (sku_id); create index IDX_ns_promotion_present_status on lucky_promotion_present (status); create table if not exists lucky_promotion_seckill ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 1 not null comment '站点id', seckill_name varchar(255) default '' not null comment '活动名称', status tinyint default 0 not null comment '活动状态 0未开始 1进行中 2已结束 -1已关闭(手动)', remark varchar(1000) default '' not null comment '活动规则说明', start_time int default 0 not null comment '活动开始时间', sort int default 0 not null comment '排序', end_time int default 0 not null comment '活动结束时间', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', goods_id int default 0 not null comment '商品id', goods_name varchar(255) default '' not null comment '商品名称', goods_image varchar(255) default '' not null comment '图片', seckill_price decimal(10, 2) default 0.00 not null comment '秒杀金额,只做展示', seckill_time_id varchar(255) default '' not null comment '秒杀时段id', goods_stock int default 0 not null comment '库存', sale_num int default 0 not null comment '销量' ) comment '秒杀活动' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_seckill_goods ( id int(11) unsigned auto_increment primary key, seckill_id int default 0 not null comment '主键', seckill_time_id varchar(255) default '' not null comment '秒杀时间段', sku_id int default 0 not null comment '商品sku_id', goods_id int default 0 not null comment '商品id', sku_name varchar(255) default '' not null comment '商品名称', sku_image varchar(255) default '' not null comment '图片', seckill_price decimal(10, 2) default 0.00 not null comment '秒杀金额', price decimal(10, 2) default 0.00 not null comment '原价', site_id int default 0 not null comment '站点ID', stock int default 0 not null comment '秒杀库存', max_buy int default 0 not null comment '每人限购', status tinyint default 0 not null comment '活动状态 0未开始 1进行中 2已结束 -1已关闭(手动)' ) comment '秒杀参与商品' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_seckill_time ( id int auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', name varchar(255) default '' not null comment '秒杀时段名称', create_time int default 0 not null comment '创建时间', modify_time varchar(255) default '0' not null comment '修改时间', seckill_start_time int default 0 not null comment '开始时间点', seckill_end_time int default 0 not null comment '结束时间点', goods_num int default 0 not null comment '商品数量' ) comment '秒杀时段' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_topic ( topic_id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', topic_name varchar(255) default '' not null comment '专题名称', topic_adv varchar(255) default '' not null comment '专题广告', status tinyint default 1 not null comment '活动状态 1未开始 2进行中 3已结束', remark varchar(255) default '' not null comment '备注', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '结束时间', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', bg_color varchar(255) default '#ffffff' not null comment '背景色' ) comment '专题活动' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_promotion_topic_goods ( id int(11) unsigned auto_increment comment '主键' primary key, topic_id int default 0 not null comment '对应活动Id', start_time int default 0 not null comment '开始时间', end_time int default 0 not null comment '活动结束时间', site_id int default 0 not null comment '站点id', sku_id int default 0 not null comment 'skuId', topic_price decimal(10, 2) default 0.00 not null comment '折扣价', goods_id int default 0 not null comment '商品id', `default` int default 0 not null comment '是否为默认展示规格' ) comment '限时折扣商品列表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_promotion_topic_goods_end_time on lucky_promotion_topic_goods (end_time); create index IDX_ns_promotion_topic_goods_site_id on lucky_promotion_topic_goods (site_id); create index IDX_ns_promotion_topic_goods_sku_id on lucky_promotion_topic_goods (sku_id); create index IDX_ns_promotion_topic_goods_start_time on lucky_promotion_topic_goods (start_time); create index IDX_ns_promotion_topic_goods_topic_id on lucky_promotion_topic_goods (topic_id); create table if not exists lucky_reserve ( reserve_id int auto_increment primary key, site_id int default 0 not null comment '站点', member_id int default 0 not null comment '预约会员', reserve_name varchar(255) default '' not null comment '预约人姓名', reserve_time int default 0 not null comment '预约时间', reserve_state varchar(255) default '' not null comment '预约状态', reserve_state_name varchar(255) default '' not null, remark varchar(255) default '' not null comment '预约备注', store_id int default 0 not null comment '门店id', create_time int default 0 not null comment '创建时间', complete_time int default 0 not null comment '完成时间', to_store_time int default 0 not null comment '到店时间', cancel_time int default 0 not null comment '取消时间', source varchar(255) default '' not null comment '来源 store门店添加 member客户预约', reserve_item varchar(255) default '' not null ) comment '预约主表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_reserve_config ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id(店铺,分站),总平台端为0', store_id int default 0 not null comment '门店id', config_key varchar(255) default '' not null comment '配置项关键字', value text null comment '配置值json', config_desc varchar(1000) default '' not null comment '描述', is_use tinyint default 1 not null comment '是否启用 1启用 0不启用', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间' ) comment '预约配置表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_reserve_item ( reserve_item_id int auto_increment primary key, reserve_id int default 0 not null comment '预约id', site_id int default 0 not null comment '站点', member_id int default 0 not null comment '预约会员', reserve_name varchar(255) default '' not null comment '预约人姓名', reserve_time int default 0 not null comment '预约时间', remark varchar(255) default '' not null comment '预约备注', reserve_user_id int default 0 not null comment '预约服务人员id', reserve_goods_sku_id int default 0 not null comment '预约服务id', reserve_state varchar(255) default '' not null comment '预约状态', store_id int default 0 not null comment '门店id' ) comment '预约细表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_scale ( scale_id int auto_increment primary key, site_id int default 0 not null, store_id int default 0 not null, brand varchar(255) default '' not null comment '电子秤品牌', brand_name varchar(255) default '' not null comment '电子秤品牌名称', model varchar(255) default '' not null comment '电子秤型号', model_name varchar(255) default '' not null comment '型号名称', config text null comment '相关配置', status int default 1 not null comment '状态', create_time int default 0 not null comment '创建时间', name varchar(50) default '' not null comment '电子秤名称', type varchar(255) default 'barcode' not null comment '秤类型 barcode 条码秤 cashier 收银秤', network_type varchar(255) default 'tcp' not null comment '通信方式 serialport 串口 tcp tcp请求' ) comment '电子秤管理' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_seal_medium ( id int auto_increment primary key, name varchar(255) null comment '介质名', value longtext null comment '介质值', files_url varchar(255) null comment 'pdf', img_url varchar(255) null comment '图片' ) comment '介质材料' engine = MyISAM collate = utf8_unicode_ci row_format = DYNAMIC; create table if not exists lucky_seal_medium_import_record ( id int auto_increment primary key, member_num int default 0 null comment '会员总数', success_num int default 0 null comment '会员导入成功数量', error_num int default 0 null comment '会员导入失败数量', status_name varchar(255) default '' null comment '导入状态', create_time int default 0 null comment '导入时间' ) comment '会员导入记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_seal_structure ( category_id int auto_increment primary key, site_id int default 0 not null comment '站点id', name varchar(50) default '' not null comment '分类名称', pid int default 0 not null comment '分类上级', level int default 0 not null comment '层级', sort int default 0 not null comment '排序', is_answer int default 0 not null, files_url varchar(255) null comment '文件' ) comment ' 商品分类' charset = utf8 row_format = DYNAMIC; create index pid_level on lucky_seal_structure (pid, level); create table if not exists lucky_service_category ( category_id int auto_increment primary key, site_id int default 0 not null comment '站点id', category_name varchar(50) default '' not null comment '分类名称', short_name varchar(50) default '' not null comment '简称', pid int default 0 not null comment '分类上级', level int default 0 not null comment '层级', is_show int default 0 not null comment '是否显示(0显示 -1不显示)', sort int default 0 not null comment '排序', image varchar(255) default '' not null comment '分类图片', keywords varchar(255) default '' not null comment '分类页面关键字', description varchar(255) default '' not null comment '分类介绍', category_id_1 int default 0 not null comment '一级分类id', category_id_2 int default 0 not null comment '二级分类id', category_id_3 int default 0 not null comment '三级分类id', category_full_name varchar(255) default '' not null comment '组装名称', image_adv varchar(255) default '' not null comment '分类广告图', link_url varchar(2000) default '' not null ) comment ' 服务分类' charset = utf8 row_format = DYNAMIC; create index pid_level on lucky_service_category (pid, level); create table if not exists lucky_servicer ( id int auto_increment comment '客服ID' primary key, is_platform tinyint default 1 not null comment '是否平台客服', shop_id int default 0 not null comment '商户ID', user_id int default 0 not null comment '客服账号归属用户ID', nickname varchar(50) default '' not null comment '客服昵称', avatar varchar(500) default '' not null comment '客服头像', create_time int default 0 not null comment '客服创建时间', last_online_time int default 0 not null comment '最近在线时间', delete_time int default 0 not null comment '删除时间', client_id varchar(64) default '' not null comment 'session会话临时ID', online tinyint default 0 not null comment '是否在线' ) comment '客服基础表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_servicer_dialogue ( id int auto_increment comment '数据ID' primary key, member_id int default 0 not null comment '会员ID(匿名聊天则为0)', servicer_id int default 0 not null comment '客服ID', create_day date null comment '聊天创建日', create_time time null comment '聊天创建时间', add_time int default 0 not null comment '创建时间戳', content_type tinyint default 0 not null comment '内容类型(0文本1商品2订单3图片)', `read` tinyint default 0 not null comment '消息是否已读', shop_id int default 0 not null comment '商户ID', goods_sku_id int default 0 not null comment '关联商品ID', order_id int default 0 not null comment '关联订单ID', consumer_say text null comment '顾客说', servicer_say text null comment '客服说', type tinyint default 0 not null comment '0: say,客户咨询,1:answer,客服回答', ralate_data varchar(3000) default '' not null comment '相关数据 json格式', content text null comment '聊天内容', message text null comment '消息内容 纯文本消息' ) comment '客服对话内容' charset = utf8 row_format = DYNAMIC; create index index_create_day on lucky_servicer_dialogue (create_day) comment '聊天日期索引'; create table if not exists lucky_servicer_fast_reply ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点ID', content varchar(255) default '' not null comment '回复内容', create_time int default 0 not null comment '创建时间' ) comment '客服快捷回复表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_servicer_keyword_reply ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点ID', keyword varchar(50) default '' not null comment '关键词', content_type tinyint default 0 not null comment '内容类型', content text null comment '回复内容', is_use tinyint default 1 not null comment '是否使用', create_time int default 0 not null comment '创建时间', sort int default 10 not null comment '排序' ) comment '客服关键词回复表' charset = utf8 row_format = DYNAMIC; create index `INDEX` on lucky_servicer_keyword_reply (keyword); create table if not exists lucky_servicer_member ( id int auto_increment comment '数据ID' primary key, member_id int default 0 not null comment '关联会员ID', servicer_id int default 0 not null comment '关联客服ID', member_name varchar(64) default '' not null comment '会员名称', online tinyint default 0 not null comment '是否在线', create_time int default 0 not null comment '登录时间', last_online_time int default 0 not null comment '上次在线时间', delete_time int default 0 not null comment '删除时间', headimg varchar(255) default '' not null comment '会员头像', client_id varchar(64) default '' not null comment 'session会话临时ID' ) comment '聊天会员在线状态表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_shop ( site_id int not null primary key, shop_status int default 1 not null comment '店铺经营状态(0.关闭,1正常)', close_info varchar(255) default '' not null comment '店铺关闭原因', sort int default 0 not null comment '排序号', start_time int default 0 not null comment '经营时间', end_time int default 0 not null comment '关闭时间', avatar varchar(255) default '' not null comment '店铺头像(大图)', banner varchar(255) default '' not null comment '店铺条幅', qq varchar(20) default '' not null comment '联系人qq', ww varchar(20) default '' not null comment '联系人阿里旺旺', name varchar(255) default '' not null comment '联系人姓名', telephone varchar(255) default '' not null comment '联系电话', mobile varchar(255) default '' not null comment '联系手机号', workingtime int default 0 not null comment '工作时间', province int default 0 not null comment '省id', province_name varchar(50) default '' not null comment '省名称', city int default 0 not null comment '城市id', city_name varchar(50) default '' not null comment '城市名称', district int default 0 not null comment '区县id', district_name varchar(50) default '' not null comment '区县地址', community int default 0 not null comment '乡镇地址id', community_name varchar(50) default '' not null comment '乡镇地址名称', address varchar(255) default '' not null comment '详细地址', full_address varchar(255) default '' not null comment '完整地址', longitude varchar(20) default '' not null comment '经度', latitude varchar(20) default '' not null comment '纬度', email varchar(50) default '' not null, create_time int default 0 not null comment '创建时间', store_settlement_time int default 0 not null comment '门店最后结算时间', work_week varchar(50) default '' not null comment '工作日', ischina int default 0 not null ) comment '店铺表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_shop_accept_message ( id int auto_increment primary key, site_id int default 0 not null, member_id int default 0 not null comment '会员id(接受消息的会员id)', type tinyint default 0 not null comment '类型(0统一设置 1单独设置)', keywords varchar(255) default '' not null comment '消息关键字(针对单独设置有效)', create_time int default 0 not null, update_time int default 0 not null, mobile varchar(50) default '' not null comment '通知人手机号', wx_openid varchar(255) default '' not null comment '通知人微信公众号openid', nickname varchar(255) default '' not null comment '通知人昵称' ) comment '商家接受消息设置' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_shop_address ( id int auto_increment primary key, site_id int default 0 not null, contact_name varchar(50) default '' not null comment '联系人', mobile varchar(255) default '' not null comment '联系人手机号', postcode varchar(255) default '' not null comment '邮政编码', province_id int default 0 not null comment '省', city_id int default 0 not null comment '市', district_id int default 0 not null comment '县', community_id int default 0 not null comment '乡镇', address varchar(255) default '' not null comment '详细地址', full_address varchar(255) default '' not null comment '收票地址', is_return tinyint default 0 not null comment '退货地址', is_return_default tinyint default 0 not null comment '是否是默认退货地址', is_delivery tinyint default 0 not null comment '发货地址', update_time int default 0 not null ) comment '商家地址库' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_shopcompoent_category ( id int(11) unsigned auto_increment primary key, first_cat_id int default 0 not null comment '第一级类目ID', second_cat_id int default 0 not null comment '第二级类目ID', third_cat_id int default 0 not null comment '第三级类目ID', first_cat_name varchar(200) default '' not null comment '一级类目名称', second_cat_name varchar(200) default '' not null comment '二级类目名称', third_cat_name varchar(200) default '' not null comment '三级类目名称', qualification varchar(2000) default '' not null comment '类目资质', qualification_type int default 0 not null comment '类目资质类型,0:不需要,1:必填,2:选填', product_qualification_type int default 0 not null comment '商品资质类型,0:不需要,1:必填,2:选填', product_qualification varchar(2000) default '' not null comment '商品资质', create_time int default 0 not null comment '创建时间' ) comment '小程序交易组件类目表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_shopcompoent_category_audit ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点ID', third_cat_id int default 0 not null comment '第三级类目ID', certificate varchar(5000) default '' not null comment '类目资质材料', qualification_pics varchar(5000) default '' not null comment '商品资质材料', audit_id varchar(2000) default '' not null comment '审核ID', audit_time int default 0 not null comment '审核时间', status int default 0 not null comment '审核状态, 0:审核中,1:审核成功,9:审核拒绝', reject_reason varchar(5000) default '' not null comment '拒绝原因' ) comment '小程序交易组件类目审核表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_shopcompoent_goods ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点ID', out_product_id int default 0 not null comment '商家自定义商品ID', third_cat_id int default 0 not null comment '第三级类目ID', cat_name varchar(1000) default '' not null comment '类目名称', brand_id int default 0 not null comment '品牌id', product_id int default 0 not null comment '交易组件平台内部商品ID', edit_status int default 0 not null comment '商品草稿状态, 0:初始值,1:编辑中,2:审核中,3:审核失败,4:审核成功', status int default 0 not null comment '商品线上状态, 0:初始值,5:上架,11:自主下架,13:违规下架/风控系统下架', info_version varchar(500) default '' not null comment '预留字段,用于版本控制', create_time int default 0 not null comment '创建时间', update_time int default 0 not null comment '更新时间', audit_time int default 0 not null comment '审核时间', reject_reason varchar(5000) default '' not null comment '失败原因' ) comment '小程序交易组件商品表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_site ( site_id int(11) unsigned auto_increment comment '站点id' primary key, site_type varchar(255) default '' not null comment '站点类型', site_domain varchar(255) default '' not null comment '站点域名', create_time int default 0 not null comment '创建时间', site_name varchar(255) default '' not null comment '站点名称', username varchar(255) default '' not null comment '站点用户', logo varchar(255) default '' not null comment '站点logo', seo_keywords varchar(255) default '' not null comment '站点关键字', seo_description varchar(255) default '' not null comment '站点描述', site_tel varchar(255) default '' not null comment '服务电话', logo_square varchar(255) default '' not null comment '站点方形logo', seo_title varchar(255) default '' not null comment 'seo标题', uniacid int default 0 not null, end_time int null comment '过期时间', site_realname varchar(255) null comment ' 姓名' ) comment '站点基础表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_site_address ( id int auto_increment primary key, site_id int default 0 not null, contact_name varchar(50) default '' not null comment '联系人', mobile varchar(255) default '' not null comment '联系人手机号', postcode varchar(255) default '' not null comment '邮政编码', province_id int default 0 not null comment '省', city_id int default 0 not null comment '市', district_id int default 0 not null comment '县', community_id int default 0 not null comment '乡镇', address varchar(255) default '' not null comment '详细地址', full_address varchar(255) default '' not null comment '完整地址', is_return tinyint default 0 not null comment '退货地址', is_return_default tinyint default 0 not null comment '是否是默认退货地址', is_delivery tinyint default 0 not null comment '发货地址', update_time int default 0 not null ) comment '站点地址库' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_site_diy_template ( id int(11) unsigned auto_increment comment '主键' primary key, name varchar(255) default '' not null comment '模板组名称', site_id int default 0 not null comment '站点id', template_goods_id int default 0 not null comment '模板组id', is_default int default 0 not null comment '是否默认模板', addon_name varchar(255) default '' not null comment '插件标识', create_time int default 0 not null comment '创建时间' ) comment '店铺拥有的模板组' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_site_diy_view ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', name varchar(50) default '' not null comment '模板标识', title varchar(255) default '' not null comment '模板名称', template_id int default 0 not null comment '所属模板id', template_item_id int default 0 not null comment '所属模板页面id,关联diy_template_goods_item表', type varchar(255) default 'DIY_PAGE' not null comment '页面类型', type_name varchar(255) default '自定义页面' not null comment '页面类型名称', is_default int default 0 not null comment '是否默认页面(针对自定义模板设置),1:是,0:否', addon_name varchar(255) default '' not null comment '插件标识', click_num int default 0 not null comment '浏览量', value longtext null comment '配置值', sort int default 0 not null comment '排序', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', is_en_default int default 0 not null comment '英文版默认' ) comment '店铺自定义模板表' charset = utf8 row_format = DYNAMIC; create index IDX_nc_site_diy_view on lucky_site_diy_view (site_id, name); create table if not exists lucky_sms_template ( template_id int auto_increment primary key, site_id int default 0 not null comment '站点id', tem_id int default 0 not null comment '返回的模板id', keywords varchar(255) default '' not null, template_type tinyint default 0 not null comment '模板类型(1验证码 2行业通知 3营销推广 )', template_name varchar(255) default '' not null comment '模板名称', template_content varchar(255) default '' not null comment '模板内容', param_json varchar(255) default '' not null comment '模板变量json', status tinyint default 0 not null comment '启用状态(1 启用,0 禁用)', audit_status tinyint default 0 not null comment '审核状态(0 未审核,1 待审核,2 审核通过, 3 审核不通过)', create_time int default 0 not null, update_time int default 0 not null ) comment '牛云短信模板' charset = utf8 avg_row_length = 862 row_format = DYNAMIC; create table if not exists lucky_stat_shop ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', year int default 0 not null comment '年', month int default 0 not null comment '月', day int default 0 not null comment '日', day_time int default 0 not null comment '当日时间', order_total decimal(10, 2) default 0.00 not null comment '订单金额', shipping_total decimal(10, 2) default 0.00 not null comment '运费金额', refund_total decimal(10, 2) default 0.00 not null comment '退款金额', order_pay_count int default 0 not null comment '订单总数', goods_pay_count int default 0 not null comment '订单商品总数', shop_money decimal(10, 2) default 0.00 not null comment '店铺金额', platform_money decimal(10, 2) default 0.00 not null comment '平台金额', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', collect_shop int default 0 not null comment '店铺收藏量', collect_goods int default 0 not null comment '商品收藏量', visit_count int default 0 not null comment '浏览量', order_count int default 0 not null comment '订单量(总)', goods_count int default 0 not null comment '订单商品量(总)', add_goods_count int default 0 not null comment '添加商品数', member_count int default 0 not null comment '会员统计', order_member_count int default 0 not null comment '下单会员数', order_refund_count int default 0 not null comment '退款订单数', order_refund_grand_count decimal(10, 2) default 0.00 not null comment '退款金额', order_refund_grand_total_money decimal(10, 2) default 0.00 not null comment '累计退款金额', coupon_member_count int default 0 not null comment '领券会员数量', member_level_count int default 0 not null comment '超级会员卡销售量', member_level_total_money decimal(10, 2) default 0.00 not null comment '超级会员卡销售额', member_level_grand_count int default 0 not null comment '累计超级会员卡销售量', member_level_grand_total_money decimal(10, 2) default 0.00 not null comment '累计超级会员卡销售额', member_recharge_count int default 0 not null comment '会员储值总订单量', member_recharge_grand_count decimal(10, 2) default 0.00 not null comment '累计会员储值总量', member_recharge_total_money decimal(10, 2) default 0.00 not null comment '会员充值总额', member_recharge_grand_total_money decimal(10, 2) default 0.00 not null comment '累计会员充值总额', member_recharge_member_count int default 0 not null comment '储值会员数', member_giftcard_count int default 0 not null comment '礼品卡订单总量', member_giftcard_grand_count int default 0 not null comment '累计礼品卡订单总量', member_giftcard_total_money decimal(10, 2) default 0.00 not null comment '礼品卡订单总额', h5_visit_count int default 0 not null comment 'h5访问量', wechat_visit_count int default 0 not null comment 'wechat访问量', weapp_visit_count int default 0 not null comment 'weapp访问量', pc_visit_count int default 0 not null comment 'pc访问量', expected_earnings_total_money decimal(10, 2) default 0.00 not null comment '预计收入', expenditure_total_money decimal(10, 2) default 0.00 not null comment '总支出', earnings_total_money decimal(10, 2) default 0.00 not null comment '总收入', member_withdraw_count int default 0 not null comment '会员提现总量', member_withdraw_total_money decimal(10, 2) default 0.00 not null comment '会员提现总额', coupon_count int default 0 not null comment '领券数', add_coupon_count int default 0 not null comment '新增优惠券', order_pay_money decimal(10, 2) default 0.00 not null comment '订单实际支付', add_fenxiao_member_count int default 0 not null comment '新增分销商', fenxiao_order_total_money decimal(10, 2) default 0.00 not null comment '分销订单总额', fenxiao_order_count int default 0 not null comment '分销订单总数', goods_on_type_count int default 0 not null comment '在架商品数', goods_visited_type_count int default 0 not null comment '被访问商品数(仅详情页浏览数)', goods_order_type_count int default 0 not null comment '动销商品数', goods_exposure_count int default 0 not null comment '商品曝光数', goods_visit_count int default 0 not null comment '商品浏览量', goods_visit_member_count int default 0 not null comment '商品访客数', goods_cart_count int default 0 not null comment '加购件数', goods_order_count decimal(12, 3) default 0.000 not null comment '下单件数', order_create_money decimal(10, 2) default 0.00 not null comment '订单下单总额', order_create_count int default 0 not null comment '订单下单量', balance_deduction decimal(10, 2) unsigned default 0.00 not null comment '余额抵扣总额', cashier_billing_count int default 0 not null comment '开单数量', cashier_billing_money decimal(10, 2) default 0.00 not null comment '开单金额', cashier_buycard_count int default 0 not null comment '办卡数量', cashier_buycard_money decimal(10, 2) default 0.00 not null comment '办卡金额', cashier_recharge_count int default 0 not null comment '收银台充值数量', cashier_recharge_money decimal(10, 2) default 0.00 not null comment '收银台充值金额', cashier_refund_count int default 0 not null comment '收银台退款数量', cashier_refund_money decimal(10, 2) default 0.00 not null comment '收银台退款金额', cashier_order_member_count int default 0 not null comment '收银台下单会员数', cashier_balance_money decimal(10, 2) default 0.00 not null comment '收银台余额消费金额', cashier_online_pay_money decimal(10, 2) default 0.00 not null comment '收银台线上金额', cashier_online_refund_money decimal(10, 2) default 0.00 not null comment '收银台线上退款金额', cashier_balance_deduction decimal(10, 2) default 0.00 not null comment '门店余额总计' ) charset = utf8 row_format = DYNAMIC; create index IDX_ns_stat_shop_day on lucky_stat_shop (day); create index IDX_ns_stat_shop_day_time on lucky_stat_shop (day_time); create index IDX_ns_stat_shop_month on lucky_stat_shop (month); create index IDX_ns_stat_shop_site_id on lucky_stat_shop (site_id); create index IDX_ns_stat_shop_year on lucky_stat_shop (year); create table if not exists lucky_stat_shop_hour ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', year int default 0 not null comment '年', month int default 0 not null comment '月', day int default 0 not null comment '日', hour int default 0 not null comment '时', day_time int default 0 not null comment '当日时间', order_total decimal(10, 2) default 0.00 not null comment '订单金额', shipping_total decimal(10, 2) default 0.00 not null comment '运费金额', refund_total decimal(10, 2) default 0.00 not null comment '退款金额', order_pay_count int default 0 not null comment '订单总数', goods_pay_count int default 0 not null comment '订单商品总数', shop_money decimal(10, 2) default 0.00 not null comment '店铺金额', platform_money decimal(10, 2) default 0.00 not null comment '平台金额', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', collect_shop int default 0 not null comment '店铺收藏量', collect_goods int default 0 not null comment '商品收藏量', visit_count int default 0 not null comment '浏览量', order_count int default 0 not null comment '订单量(总)', goods_count int default 0 not null comment '订单商品量(总)', add_goods_count int default 0 not null comment '添加商品数', member_count int default 0 not null comment '会员统计', order_member_count int default 0 not null comment '下单会员数', order_refund_count int default 0 not null comment '退款订单数', order_refund_grand_count decimal(10, 2) default 0.00 not null comment '退款金额', order_refund_grand_total_money decimal(10, 2) default 0.00 not null comment '累计退款金额', coupon_member_count int default 0 not null comment '领券会员数量', member_level_count int default 0 not null comment '超级会员卡销售量', member_level_total_money decimal(10, 2) default 0.00 not null comment '超级会员卡销售额', member_level_grand_count int default 0 not null comment '累计超级会员卡销售量', member_level_grand_total_money decimal(10, 2) default 0.00 not null comment '累计超级会员卡销售额', member_recharge_count int default 0 not null comment '会员储值总订单量', member_recharge_grand_count decimal(10, 2) default 0.00 not null comment '累计会员储值总量', member_recharge_total_money decimal(10, 2) default 0.00 not null comment '会员充值总额', member_recharge_grand_total_money decimal(10, 2) default 0.00 not null comment '累计会员充值总额', member_recharge_member_count int default 0 not null comment '储值会员数', member_giftcard_count int default 0 not null comment '礼品卡订单总量', member_giftcard_grand_count int default 0 not null comment '累计礼品卡订单总量', member_giftcard_total_money decimal(10, 2) default 0.00 not null comment '礼品卡订单总额', h5_visit_count int default 0 not null comment 'h5访问量', wechat_visit_count int default 0 not null comment 'wechat访问量', weapp_visit_count int default 0 not null comment 'weapp访问量', pc_visit_count int default 0 not null comment 'pc访问量', expected_earnings_total_money decimal(10, 2) default 0.00 not null comment '预计收入', expenditure_total_money decimal(10, 2) default 0.00 not null comment '总支出', earnings_total_money decimal(10, 2) default 0.00 not null comment '总收入', member_withdraw_count int default 0 not null comment '会员提现总量', member_withdraw_total_money decimal(10, 2) default 0.00 not null comment '会员提现总额', coupon_count int default 0 not null comment '领券数', add_coupon_count int default 0 not null comment '新增优惠券', order_pay_money decimal(10, 2) default 0.00 not null comment '订单实际支付', add_fenxiao_member_count int default 0 not null comment '新增分销商', fenxiao_order_total_money decimal(10, 2) default 0.00 not null comment '分销订单总额', fenxiao_order_count int default 0 not null comment '分销订单总数', goods_on_type_count int default 0 not null comment '在架商品数', goods_visited_type_count int default 0 not null comment '被访问商品数(仅详情页浏览数)', goods_order_type_count int default 0 not null comment '动销商品数', goods_exposure_count int default 0 not null comment '商品曝光数', goods_visit_count int default 0 not null comment '商品浏览量', goods_visit_member_count int default 0 not null comment '商品访客数', goods_cart_count int default 0 not null comment '加购件数', goods_order_count decimal(12, 3) default 0.000 not null comment '下单件数', order_create_money decimal(10, 2) default 0.00 not null comment '订单下单总额', order_create_count int default 0 not null comment '订单下单量', balance_deduction decimal(10, 2) default 0.00 not null comment '余额抵扣总额', cashier_billing_count int default 0 not null comment '开单数量', cashier_billing_money decimal(10, 2) default 0.00 not null comment '开单金额', cashier_buycard_count int default 0 not null comment '办卡数量', cashier_buycard_money decimal(10, 2) default 0.00 not null comment '办卡金额', cashier_recharge_count int default 0 not null comment '收银台充值数量', cashier_recharge_money decimal(10, 2) default 0.00 not null comment '收银台充值金额', cashier_refund_count int default 0 not null comment '收银台退款数量', cashier_refund_money decimal(10, 2) default 0.00 not null comment '收银台退款金额', cashier_order_member_count int default 0 not null comment '收银台下单会员数', cashier_balance_money decimal(10, 2) default 0.00 not null comment '收银台余额消费金额', cashier_online_pay_money decimal(10, 2) default 0.00 not null comment '收银台线上金额', cashier_online_refund_money decimal(10, 2) default 0.00 not null comment '收银台线上退款金额', cashier_balance_deduction decimal(10, 2) default 0.00 not null comment '门店余额总计' ) charset = utf8 row_format = DYNAMIC; create index IDX_ns_stat_shop_hour_day on lucky_stat_shop_hour (day); create index IDX_ns_stat_shop_hour_day_time on lucky_stat_shop_hour (day_time); create index IDX_ns_stat_shop_hour_hour on lucky_stat_shop_hour (hour); create index IDX_ns_stat_shop_hour_month on lucky_stat_shop_hour (month); create index IDX_ns_stat_shop_hour_site_id on lucky_stat_shop_hour (site_id); create index IDX_ns_stat_shop_hour_year on lucky_stat_shop_hour (year); create table if not exists lucky_stat_store ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', store_id int default 0 not null comment '门店id', year int default 0 not null comment '年', month int default 0 not null comment '月', day int default 0 not null comment '日', day_time int default 0 not null comment '当日时间', balance_deduction decimal(10, 2) default 0.00 not null comment '余额抵扣总额', billing_count int default 0 not null comment '开单数量', billing_money decimal(10, 2) default 0.00 not null comment '开单金额', buycard_count int default 0 not null comment '办卡数量', buycard_money decimal(10, 2) default 0.00 not null comment '办卡金额', recharge_count int default 0 not null comment '充值数量', recharge_money decimal(10, 2) default 0.00 not null comment '充值金额', refund_count int default 0 not null comment '退款数量', refund_money decimal(10, 2) default 0.00 not null comment '退款金额', order_member_count int default 0 not null comment '下单会员数', balance_money decimal(10, 2) default 0.00 not null comment '余额消费金额', online_pay_money decimal(10, 2) default 0.00 not null comment '在线订单总额', online_refund_money decimal(10, 2) default 0.00 not null comment '在线退款金额' ) charset = utf8 row_format = DYNAMIC; create index IDX_ns_stat_shop_day on lucky_stat_store (day); create index IDX_ns_stat_shop_day_time on lucky_stat_store (day_time); create index IDX_ns_stat_shop_month on lucky_stat_store (month); create index IDX_ns_stat_shop_site_id on lucky_stat_store (site_id); create index IDX_ns_stat_shop_year on lucky_stat_store (year); create table if not exists lucky_stat_store_hour ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', store_id int default 0 not null comment '门店id', year int default 0 not null comment '年', month int default 0 not null comment '月', day int default 0 not null comment '日', hour int default 0 not null comment '时', day_time int default 0 not null comment '当日时间', billing_count int default 0 not null comment '开单数量', billing_money decimal(10, 2) default 0.00 not null comment '开单金额', buycard_count int default 0 not null comment '办卡数量', buycard_money decimal(10, 2) default 0.00 not null comment '办卡金额', recharge_count int default 0 not null comment '充值数量', recharge_money decimal(10, 2) default 0.00 not null comment '充值金额', refund_count int default 0 not null comment '退款数量', refund_money decimal(10, 2) default 0.00 not null comment '退款金额', order_member_count int default 0 not null comment '下单会员数', balance_money decimal(10, 2) default 0.00 not null comment '余额消费金额', online_pay_money decimal(10, 2) default 0.00 not null comment '在线订单总额', online_refund_money decimal(10, 2) default 0.00 not null comment '在线退款金额', balance_deduction decimal(10, 2) default 0.00 not null comment '余额抵扣总额' ) charset = utf8 row_format = DYNAMIC; create index IDX_ns_stat_shop_day on lucky_stat_store_hour (day); create index IDX_ns_stat_shop_day_time on lucky_stat_store_hour (day_time); create index IDX_ns_stat_shop_month on lucky_stat_store_hour (month); create index IDX_ns_stat_shop_site_id on lucky_stat_store_hour (site_id); create index IDX_ns_stat_shop_year on lucky_stat_store_hour (year); create table if not exists lucky_stock_allot ( allot_id int auto_increment primary key, site_id int default 0 not null comment '站点', output_store_id int not null comment '出库门店', output_store_name varchar(255) default '' not null comment '出库门店', input_store_id int not null comment '入库门店', input_store_name varchar(255) default '' not null comment '入库门店', allot_no varchar(255) default '' not null comment '调拨编号', `key` varchar(255) default 'PURCHASE' not null comment '单据关键字', goods_money decimal(10, 2) default 0.00 not null comment '商品金额', remark varchar(255) default '' not null comment '备注', status int default 0 not null comment '审核状态 0草稿1.待审核2.已审核', verifier int default 0 not null comment '审核人uid', verifier_name varchar(255) default '' not null comment '审核人名称', operater int not null comment '操作人id', operater_name varchar(255) default '' not null comment '操作人名称', allot_time int default 0 not null comment '调拨时间', create_time int default 0 not null comment '创建时间', to_verify_time int default 0 not null comment '确认待审时间', verify_time int default 0 not null comment '审核时间' ) comment '调拨管理' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_stock_allot_goods ( allot_goods_id int(11) unsigned auto_increment primary key, allot_id int not null comment '单据id', goods_id int not null comment '商品id', goods_sku_id int not null comment '商品skuid', goods_sku_no varchar(255) default '' not null comment '商品sku编码', goods_sku_img varchar(255) default '' not null comment '商品图片', goods_sku_name varchar(255) default '' not null comment '商品sku全称', goods_unit varchar(255) default '' not null comment '商品单位', goods_num decimal(12, 3) default 0.000 not null comment '调拨商品数量', goods_price decimal(10, 2) default 0.00 not null comment '商品单价', goods_remark varchar(255) default '' not null comment '商品备注', create_time int default 0 not null, site_id int default 0 not null comment '站点id', output_store_stock decimal(12, 3) default 0.000 not null comment '出库门店原库存', input_store_stock decimal(12, 3) default 0.000 not null comment '入库门店原库存', total_goods_money decimal(10, 2) default 0.00 not null, goods_sku_spec varchar(255) default '' not null comment '商品规格' ) comment '调拨项目表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_stock_content ( id int(11) unsigned auto_increment primary key, stock_id int default 0 not null comment '虚拟评价库id', content varchar(255) default '' not null comment '评价内容', site_id int default 0 not null comment '站点id', create_time int default 0 not null comment '创建时间' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_stock_document ( document_id int auto_increment primary key, site_id int default 0 not null comment '站点', document_no varchar(255) default '' not null comment '单据编号', `key` varchar(255) default 'PURCHASE' not null comment '单据关键字', type varchar(255) default '' not null comment '出入库类型 入库:input,出库:output', goods_money decimal(10, 2) default 0.00 not null comment '商品金额', promotion_money decimal(10, 2) default 0.00 not null comment '优惠金额', invoice_money decimal(10, 2) default 0.00 not null comment '发票金额', document_money decimal(10, 2) default 0.00 not null comment '单据金额', remark varchar(255) default '' not null comment '备注', status int default 0 not null comment '审核状态 1:待审核,2:已审核,-1:已拒绝', create_time int default 0 not null comment '创建时间', store_id int default 0 not null comment '仓库id', store_name varchar(255) default '' not null comment '仓库门店名称', operater int not null comment '经办人id', operater_name varchar(255) default '' not null comment '经办人名称', verifier int default 0 not null comment '审核人id', verifier_name varchar(255) default '' not null comment '审核人名称', inventory_id int default 0 not null comment '盘点单据id', time int default 0 not null comment '出入库时间', is_out_stock int default 0 not null comment '是否需要扣除销售库存', allot_id int default 0 not null comment '调拨id', relate_id int default 0 not null comment '关联业务id', relate_type varchar(255) default '' not null comment '关联业务类型', refuse_reason varchar(255) default '' not null comment '拒绝理由', audit_time int default 0 not null comment '审核时间' ) comment '单据管理' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_stock_document_goods ( document_goods_id int(11) unsigned auto_increment primary key, document_id int not null comment '单据id', goods_id int not null comment '商品id', goods_sku_id int not null comment '商品skuid', goods_sku_no varchar(255) default '' not null comment '商品sku编码', goods_sku_img varchar(255) default '' not null comment '商品图片', goods_sku_name varchar(255) default '' not null comment '商品sku全称', goods_unit varchar(255) default '' not null comment '商品单位', goods_num decimal(12, 3) default 0.000 not null comment '商品数量', goods_price decimal(10, 2) default 0.00 not null comment '商品单价', goods_remark varchar(255) default '' not null comment '商品备注', create_time int default 0 not null comment '创建时间', site_id int default 0 not null comment '站点id', before_stock decimal(12, 3) default 0.000 not null comment '原库存', after_stock decimal(12, 3) default 0.000 not null comment '现库存', before_goods_price decimal(10, 2) default 0.00 not null comment '原成本价', after_goods_price decimal(10, 2) default 0.00 not null comment '现成本均价', store_id int default 0 not null comment '门店仓库id', operater int default 0 not null comment '经办人id', operater_name varchar(255) default '' not null comment '经办人名称', verifier int default 0 not null comment '审核人id', verifier_name varchar(255) default '' not null comment '审核人名称', before_store_stock decimal(12, 3) default 0.000 not null, before_store_goods_price decimal(10, 2) default 0.00 not null, after_store_stock decimal(12, 3) default 0.000 not null, after_store_goods_price decimal(10, 2) unsigned default 0.00 not null, total_goods_money decimal(10, 2) default 0.00 not null, goods_sku_spec varchar(255) default '' not null comment '商品规格' ) comment '单据项目表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_stock_document_type ( name varchar(50) default '' not null comment '单据名称', type varchar(255) default '' not null comment '单据类型output.出库input.入库', prefix varchar(255) default '' not null comment '单据前缀', `key` varchar(255) default '' not null comment '单据关键字' ) comment '单据类型' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_stock_goods_export ( export_id int auto_increment primary key, `condition` varchar(2000) default '' not null comment '条件 json', status int default 0 not null comment '导出状态 0 正在导出 1 已导出 2 已删除', create_time int default 0 not null comment '导出时间', path varchar(255) default '' not null comment '导出文件的物理路径', site_id int default 0 not null comment '站点id' ) comment '库存商品导出记录表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_stock_inventory ( inventory_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', remark varchar(1000) default '' not null comment '备注', create_time int default 0 not null comment '操作时间', inventory_no varchar(255) default '' not null comment '盘点单号', store_id int default 0 not null comment '仓库门店id', store_name varchar(255) default '' not null comment '仓库门店名称', kinds_num int default 0 not null comment '总盘点种数', kinds_profit_num int default 0 not null comment '盘盈种数', kinds_loss_num int default 0 not null comment '盘亏种数', kinds_even_num int default 0 not null comment '持平种数', num decimal(12, 3) default 0.000 not null comment '盘点总数', profit_num decimal(12, 3) default 0.000 not null comment '盘盈数', loss_num decimal(12, 3) default 0.000 not null comment '盘亏数', even_num decimal(12, 3) default 0.000 not null comment '盘点持平数', profitloss_num decimal(12, 3) default 0.000 not null comment '盈亏数量', inventory_cost_money decimal(10, 2) default 0.00 not null comment '盘点成本总额', profitloss_sale_money decimal(10, 2) default 0.00 not null comment '盈亏销售额', status int default 0 not null comment '审核状态 1:待审核,2:已审核,-1:已拒绝', operater int default 0 not null comment '经办人id', operater_name varchar(255) default '' not null comment '经办人名称', verifier int default 0 not null comment '审核人id', verifier_name varchar(255) default '' not null comment '审核人名称', audit_time int default 0 not null comment '审核时间', refuse_reason varchar(255) default '' not null comment '拒绝理由' ) comment '库存盘点单' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_stock_inventory_goods ( id int(11) unsigned auto_increment primary key, inventory_id int default 0 not null comment '盘点单', goods_id int default 0 not null comment '商品id', goods_sku_id int default 0 not null comment '商品sku', goods_sku_name varchar(255) default '' not null comment '商品名称', goods_sku_no varchar(255) default '' not null comment '商品编码', goods_img varchar(255) default '' not null comment '商品主图', stock decimal(12, 3) default 0.000 not null comment '产品库数量', inventory_num decimal(12, 3) default 0.000 not null comment '盘点数量', inventory_remark varchar(255) default '' not null comment '盘点备注', site_id int default 0 not null, store_id int default 0 not null comment '门店仓库id', profitloss_num decimal(12, 3) default 0.000 not null comment '盈亏数量', inventory_cost_money decimal(10, 2) default 0.00 not null comment '盘点成本总价', profitloss_sale_money decimal(10, 2) default 0.00 not null comment '盈亏销售总价', goods_unit varchar(255) default '' not null comment '商品单位', goods_sku_spec varchar(255) default '' not null comment '产品规格' ) comment '库存盘点商品表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_store ( store_id int auto_increment comment '门店站点id' primary key, store_name varchar(50) default '' not null comment '门店名称', telphone varchar(255) default '' not null comment '联系电话', store_image varchar(255) default '' not null comment '门店图片', site_id int default 0 not null comment '商家id', site_name varchar(255) default '' not null comment '站点名称', status int default 0 not null comment '状态', province_id int default 0 not null comment '省id', city_id int default 0 not null comment '市id', district_id int default 0 not null comment '区县id', community_id int default 0 not null comment '社区id', address varchar(255) default '' not null comment '地址', full_address varchar(255) default '' not null comment '详细地址', longitude varchar(50) default '' not null comment '经度', latitude varchar(50) default '' not null comment '纬度', is_pickup tinyint default 0 not null comment '是否启用自提', is_o2o tinyint default 0 not null comment '是否启用本地配送', open_date varchar(1000) default '' not null comment '营业时间', o2o_fee_json varchar(1000) default '' not null comment '配送费用设置', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', username varchar(255) default '' not null comment '门店管理员', order_money decimal(10, 2) default 0.00 not null comment '付款后订单金额', order_complete_money decimal(10, 2) default 0.00 not null comment '订单完成-订单金额', order_num int default 0 not null comment '订单数', order_complete_num int default 0 not null comment '订单完成数量', is_frozen tinyint default 0 not null comment '是否冻结0-未冻结 1已冻结', uid int default 0 null comment '门店管理员id', time_type int default 0 not null comment '时间选取类型 0 每天 1 自定义', time_week varchar(255) default '' not null comment '营业时间 周一 周二.......', start_time int default 0 not null comment '当日的起始时间', end_time int default 0 not null comment '当日的营业结束时间', stock_type varchar(255) default 'all' not null comment '库存设置 store-门店独立库存 all总部统一库存', is_default int default 0 not null comment '是否是默认门店', store_type varchar(255) default 'directsale' not null comment '门店类型', time_interval int default 30 not null comment '时段设置单位分钟', delivery_time varchar(2000) default '' not null comment '配送时间段', advance_day int default 0 not null comment '时间选择需提前多少天', most_day int default 7 not null comment '最多可预约多少天', account decimal(10, 2) default 0.00 not null comment '当前账户余额', account_apply decimal(10, 2) default 0.00 not null comment '转账申请中金额', account_withdraw decimal(10, 2) default 0.00 not null comment '已结算转账金额', is_settlement tinyint default 0 not null comment '是否需要结算', settlement_rate decimal(10, 2) default 0.00 not null comment '开启结算0代表跟随系统,不为零表示独立设置', bank_type tinyint default 1 not null comment '银行账户类型', bank_type_name varchar(255) default '' not null comment '账户名称', bank_user_name varchar(255) default '' not null comment '账户所属人', bank_type_account varchar(255) default '' not null comment '账户类型对应账号', category_id int default 0 not null comment '门店分类id', category_name varchar(255) default '' not null comment '门店分类名称', label_id varchar(255) default '' not null comment '门店标签,id,id,', label_name varchar(5000) default '' not null comment '门店标签,name,name,', is_express int default 0 not null comment '是否启用快递配送', store_images text null comment '门店图片多图', store_introduce longtext null comment '门店介绍', uniacid int null ) comment '线下门店表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_store_account ( id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', store_id int default 0 not null comment '门店id', account_data decimal(10, 2) default 0.00 not null comment '账户数据', from_type varchar(255) default '' not null comment '来源类型', type_name varchar(50) default '' not null comment '来源类型名称', remark varchar(255) default '' not null comment '备注信息', create_time int default 0 not null comment '创建时间', related_id int default 0 not null comment '关联Id' ) comment '门店账户流水' charset = utf8 row_format = DYNAMIC; create index IDX_store_account_create_time on lucky_store_account (create_time); create index IDX_store_account_from_type on lucky_store_account (from_type); create index IDX_store_account_store_id on lucky_store_account (store_id); create table if not exists lucky_store_category ( category_id int auto_increment primary key, site_id int default 0 not null, category_name varchar(255) default '' not null, sort int default 0 not null ) comment '门店分类表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_store_goods ( id int(11) unsigned auto_increment comment '主键' primary key, goods_id int default 0 not null comment '商品id', store_id int default 0 not null comment '门店id', stock decimal(12, 3) default 0.000 not null comment '商品库存', sale_num decimal(12, 3) default 0.000 not null comment '商品销量', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', price decimal(10, 2) default 0.00 not null comment '价格', cost_price decimal(10, 2) default 0.00 not null comment '成本价', status int default 0 not null comment '上下架状态', real_stock decimal(12, 3) default 0.000 not null comment '仓库库存' ) comment '门店商品表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_store_goods_sku ( id int(11) unsigned auto_increment comment 'id' primary key, sku_id int default 0 not null comment 'sku_id', goods_id int default 0 not null comment '商品id', stock decimal(12, 3) default 0.000 not null comment '商品库存', sale_num decimal(12, 3) default 0.000 not null comment '商品销量', store_id int default 0 not null comment '门店id', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', price decimal(10, 2) default 0.00 not null comment '价格', cost_price decimal(10, 2) default 0.00 not null comment '成本价', status int default 0 not null comment '上下架状态', real_stock decimal(12, 3) default 0.000 not null comment '仓库库存' ) comment '门店sku表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_store_label ( label_id int auto_increment primary key, site_id int default 0 not null, label_name varchar(255) default '' not null, create_time int default 0 not null, sort int default 0 not null comment '排序号' ) comment '门店标签' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_store_member ( id int(11) unsigned auto_increment comment '主键' primary key, member_id int default 0 not null comment '会员id', store_id int default 0 not null comment '门店站点id', order_money decimal(10, 2) default 0.00 not null comment '付款后-消费金额', order_complete_money decimal(10, 2) default 0.00 not null comment '订单完成-消费金额', order_num int default 0 not null comment '付款后-消费次数', order_complete_num int default 0 not null comment '订单完成-消费次数', create_time int default 0 not null comment '创建时间' ) comment '门店会员管理' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_store_settlement ( id int(11) unsigned auto_increment primary key, settlement_no varchar(255) default '' not null comment '流水号', site_id int default 0 not null comment '站点id', site_name varchar(255) default '' not null comment '站点名称', store_id int default 0 not null comment '门店id', store_name varchar(255) default '' not null comment '门店名称', order_money decimal(10, 2) default 0.00 not null comment '订单总金额', shop_money decimal(10, 2) default 0.00 not null comment '店铺金额', refund_platform_money decimal(10, 2) default 0.00 not null comment '平台退款抽成', platform_money decimal(10, 2) default 0.00 not null comment '平台抽成', refund_shop_money decimal(10, 2) default 0.00 not null comment '店铺退款金额', refund_money decimal(10, 2) default 0.00 not null comment '退款金额', create_time int default 0 not null comment '创建时间', start_time int default 0 not null comment '账期开始时间', end_time int default 0 not null comment '账期结束时间', commission decimal(10, 2) default 0.00 not null comment '佣金支出', is_settlement tinyint default 0 not null comment '是否结算', remark varchar(500) default '' not null comment '备注', offline_order_money decimal(10, 2) default 0.00 not null comment '线下支付的订单金额', offline_refund_money decimal(10, 2) default 0.00 not null comment '线下退款金额', store_commission decimal(10, 2) default 0.00 not null comment '门店抽成金额', withdraw_id int default 0 not null comment '提现id' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_store_stock_import ( id int auto_increment primary key, site_id int default 0 not null, store_id int default 0 not null comment '门店id', filename varchar(255) default '' not null comment '文件名称', path varchar(255) default '' not null comment '地址', sku_num decimal(12, 3) default 0.000 not null comment '导入的sku商品数', error_num decimal(12, 3) default 0.000 not null comment '失败数量', create_time int default 0 not null ) comment ' 门店库存导入批量修改' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_store_stock_import_log ( id int auto_increment primary key, store_id int default 0 not null comment '门店id', file_id int default 0 not null comment '文件id', goods_id int default 0 not null comment '商品id', goods_name varchar(255) default '' not null comment '商品名称', sku_id int default 0 not null comment 'skuid', sku_name varchar(255) default '' not null comment 'sku名称', stock decimal(12, 3) default 0.000 not null comment '库存(增/减)', status tinyint default 0 not null comment '状态(0成功 -1失败)', reason varchar(255) default '' not null comment '原因' ) comment '门店导入库存失败记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_store_withdraw ( withdraw_id int auto_increment primary key, site_id int default 0 not null comment '站点id', withdraw_no varchar(50) default '' not null comment '提现交易号', store_name varchar(50) default '' not null comment '门店名称', store_id int default 0 not null comment '门店id', transfer_type varchar(20) default '' not null comment '转账提现类型', transfer_type_name varchar(20) default '' not null comment '转账方式名称', money decimal(10, 2) default 0.00 not null comment '提现到账金额', apply_time int default 0 not null comment '申请时间', audit_time int default 0 not null comment '审核时间', transfer_time int default 0 not null comment '转账时间', status int default 0 not null comment '状态0待审核1.待转账2已转账 -1拒绝 -2转账失败', remark varchar(100) default '' not null comment '备注', refuse_reason varchar(100) default '' not null comment '拒绝理由', status_name varchar(20) default '' not null comment '提现状态名称', bank_name varchar(255) default '' not null comment '银行名称', account_number varchar(255) default '' not null comment '收款账号', realname varchar(50) default '' not null comment '真实姓名', voucher_img varchar(255) default '' not null comment '凭证', voucher_desc varchar(255) default '' not null comment '凭证说明', fail_reason varchar(255) default '' not null comment '失败原因', settlement_type varchar(255) default '' not null comment '结算类型', settlement_type_name varchar(255) default '' not null comment '结算类型' ) comment '门店提现表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_supplier ( supplier_id int(11) unsigned auto_increment primary key, supplier_site_id int default 0 not null comment '供应商站点', title varchar(255) default '' not null comment '供应商名称', logo varchar(255) default '' not null comment '供应商logo', `desc` varchar(255) default '' not null comment '供应商简介', keywords varchar(255) default '' not null comment '供应商关键字', supplier_address varchar(255) default '' not null comment '供应商地址', supplier_email varchar(50) default '' not null comment '供应商邮箱', supplier_phone varchar(255) default '' not null comment '联系电话', supplier_qq varchar(255) default '' not null comment '供应商qq', supplier_weixin varchar(255) default '' not null comment '联系人微信号', account decimal(10, 2) default 0.00 not null comment '账户金额', account_withdraw decimal(10, 2) default 0.00 not null comment '已提现金额', account_withdraw_apply decimal(10, 2) default 0.00 not null comment '提现中金额', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', username varchar(255) default '' not null comment '供应商管理员', settlement_bank_account_name varchar(50) default '' not null comment '结算银行开户名', settlement_bank_account_number varchar(50) default '' not null comment '结算公司银行账号', settlement_bank_name varchar(50) default '' not null comment '结算开户银行支行名称', settlement_bank_address varchar(50) default '' not null comment '结算开户银行所在地' ) comment '供应商' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_syngoods ( id int auto_increment primary key, uniacid int default 0 not null, status int default 0 not null, page int default 1 not null ) charset = utf8mb4; create table if not exists lucky_sys_upgrade_log ( log_id int auto_increment primary key, upgrade_no varchar(255) default '' not null comment '升级编号 每次的编号都不同', upgrade_time int default 0 not null comment '升级时间 记录开始时间', version_info longtext null comment '版本信息 json数据 包含升级前和升级后的基本信息', backup_root varchar(255) default '' not null comment '备份文件和sql的根目录', download_root varchar(255) default '' not null comment '下载文件的根目录', status tinyint default 0 not null comment '升级状态 0 进行中 1 升级成功 2 升级失败', error_message varchar(255) default '' not null comment '升级失败错误信息' ) comment '系统升级日志' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_user ( uid int(11) unsigned auto_increment primary key, sys_uid int default 0 not null comment '系统用户id', app_module varchar(255) default '' not null comment '应用模块', app_group int default 0 not null comment '应用所属组', is_admin tinyint default 0 not null comment '是否是管理员', site_id int default 0 not null comment '站点id', group_id int default 0 not null comment '权限id', group_name varchar(50) default '' not null comment '权限组', username varchar(50) default '' not null comment '账号', password varchar(255) default '' not null comment '密码', member_id int default 0 not null comment '会员id', create_time int default 0 not null comment '创建时间', update_time int default 0 not null, status int default 1 not null comment '状态 1 正常', login_time int default 0 not null comment '最新一次登陆时间', login_ip varchar(255) default '' not null comment '最新登录ip', uniacid int default 0 null comment '平台id=platform_shop表uniacid 如果uniacid相同的为同一个平台', is_main int default 0 null comment '如果=1为主号其他均分分号' ) comment '站点后台用户表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_user on lucky_user (group_id, app_module); create index IDX_ns_user_member_id on lucky_user (member_id); create index IDX_ns_user_site_id on lucky_user (site_id); create index IDX_ns_user_username on lucky_user (username); --- 用户表数据 insert into lucky_user (uid, sys_uid, app_module, app_group, is_admin, site_id, group_id, group_name, username, password, member_id, create_time, update_time, status, login_time, login_ip, uniacid, is_main)values (2, 0, 'platform', 0, 1, 0, 2, '平台管理', 'admin', '29e6803d217472f3c0b2cd7f13f84ec9', 0, 1717865209, 0, 1, 1763461936, '49.73.131.169', null, 0); create table if not exists lucky_user_group ( id int(11) unsigned auto_increment comment '主键' primary key, uid int default 0 not null comment '用户id', site_id int default 0 not null comment '对应站id(门店,供应商)', store_id int default 0 not null comment '管理的门店id', group_id int default 0 not null comment '用户组id', create_time int default 0 not null comment '创建时间', app_module varchar(255) default '' not null ) comment '用户与用户组关联表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_user_log ( id int(11) unsigned auto_increment comment '主键' primary key, uid int default 0 not null comment '操作用户ID', username varchar(255) default '' not null comment '昵称', site_id int default 0 not null comment '站点id', url varchar(255) default '' not null comment '对应url', data text null comment '传输数据', ip varchar(255) default '' not null comment 'ip地址', action_name varchar(255) default '' not null comment '操作行为', create_time int default 0 not null comment '创建时间' ) comment '用户操作日志' charset = utf8 row_format = DYNAMIC; create index IDX_ns_user_log on lucky_user_log (uid, site_id); create table if not exists lucky_v3_upgrade_log ( id int(11) unsigned auto_increment primary key, module varchar(255) default '' not null comment '模块标识', title varchar(255) default '' not null comment '模块名称', create_time int default 0 not null comment '迁移时间', remark varchar(255) default '' not null comment '备注', status int default 0 not null comment '迁移完成状态 1:完成 0 :未完成' ) comment 'v3Tov4迁移数据日志' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_verifier ( verifier_id int(11) unsigned auto_increment comment '核销员id' primary key, verifier_name varchar(255) default '' not null comment '核销员姓名', site_id int default 0 not null comment '商家id', member_id int default 0 not null comment '前台会员id', uid int default 0 not null comment '后台用户id', verifier_type tinyint default 0 not null comment '核销员类型:0平台核销员,1门店核销员', store_id int default 0 not null comment '门店id', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间' ) comment '核销员(商品或订单商品)' charset = utf8 row_format = DYNAMIC; create index IDX_ns_verifier_member_id on lucky_verifier (member_id); create index IDX_ns_verifier_site_id on lucky_verifier (site_id); create table if not exists lucky_verify ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', site_name varchar(255) default '' not null comment '站点名称', verify_code varchar(255) default '' not null comment '核销码', verify_type varchar(255) default '' not null comment '核销类型', verify_type_name varchar(255) default '' not null comment '核销类型名称', verify_content_json varchar(5000) default '' not null comment '核销相关数据', verifier_id int default 0 not null comment '核销员id', verifier_name varchar(255) default '' not null comment '核销员姓名', is_verify int default 0 not null comment '是否已经核销', create_time int default 0 not null comment '创建时间', verify_time int default 0 not null comment '核销时间', expire_time int default 0 not null comment '核销有效期 0永久', verify_from varchar(20) default 'mobile' not null comment '核销来源 shop 商家后台 store 门店后台 mobile 手机端', verify_remark varchar(50) default '' not null comment '核销备注', verify_total_count int default 0 not null comment '核销次数 0为不限核销次数', verify_use_num int default 0 not null comment '已核销次数', store_id int default 0 not null comment '所属门店 0为全部门店可核销', member_id int default 0 not null comment '会员id' ) comment '核销编码管理' charset = utf8 row_format = DYNAMIC; create index IDX_ns_verify_is_verify on lucky_verify (is_verify); create index IDX_ns_verify_site_id on lucky_verify (site_id); create index IDX_ns_verify_verify_code on lucky_verify (verify_code); create index IDX_ns_verify_verify_time on lucky_verify (verify_time); create index IDX_ns_verify_verify_type on lucky_verify (verify_type); create table if not exists lucky_verify_record ( id int(11) unsigned auto_increment comment '主键' primary key, site_id int default 0 not null comment '站点id', verify_code varchar(255) default '' not null comment '核销码', verifier_id int default 0 not null comment '核销员id', verifier_name varchar(255) default '' not null comment '核销员姓名', verify_time int default 0 not null comment '创建时间', verify_num int default 1 not null comment '核销次数', verify_from varchar(255) default 'mobile' not null comment '核销端口', store_id int default 0 not null comment '核销门店' ) comment '核销记录表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_virtual_stock ( stock_id int(11) unsigned auto_increment primary key, stock_name varchar(255) default '' not null comment '虚拟评价库名称', num int default 0 not null comment '评论条数', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', site_id int default 0 not null comment '站点id' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_weapp_audit_record ( id int auto_increment comment '审核id' primary key, site_id int default 0 not null comment '站点id', auditid varchar(255) default '' not null comment '审核编号', version varchar(255) default '' not null comment '版本号', status varchar(255) default '0' not null comment '审核状态 0审核中 1通过 -1失败 2延后 3已发布 4已撤回', create_time int default 0 not null comment '审核提交时间', audit_time int default 0 not null comment '审核通过时间', release_time int default 0 not null comment '发布时间', reason text null comment '未通过和延后的原因' ) comment '小程序审核记录表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_weapp_experiencer ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', wechatid varchar(255) default '' not null comment '微信号', userstr varchar(255) default '' not null comment '微信用户唯一值', create_time int default 0 not null comment '添加时间' ) comment '微信小程序体验者' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_weapp_goods ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', goods_id int default 0 not null comment '小程序商品库商品id 非商城商品id', name varchar(2000) default '' not null comment '商品名称', cover_img varchar(2000) default '' not null comment '商品图片链接', price decimal(10, 2) default 0.00 not null comment '商品价格', status int default 0 not null comment '商品状态,0:未审核。1:审核中,2:审核通过,3:审核驳回', url varchar(2000) default '' not null comment '商品小程序链接', audit_id int default 0 not null comment '审核单id', sku_id int default 0 not null comment '商品sku_id', third_party_tag int default 1 not null comment '商品来源 0在小程序平台添加的商品 1/2通过api添加的商品' ) charset = utf8 row_format = DYNAMIC; create table if not exists lucky_weapp_live_room ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', roomid int default 0 not null comment '直播间id', name varchar(255) default '' not null comment '房间名称', cover_img varchar(1000) default '' not null comment '房间背景封面', share_img varchar(1000) default '' not null comment '分享卡片图片', start_time int default 0 not null comment '直播计划开始时间', end_time int default 0 not null comment '直播计划结束时间', anchor_name varchar(255) default '' not null comment '主播昵称', goods text null comment '直播间商品', live_status varchar(255) default '' not null comment 'live_status 101: 直播中, 102: 未开始, 103: 已结束, 104: 禁播, 105: 暂停中, 106: 异常, 107: 已过期', anchor_img varchar(1000) default '' not null comment '主播头像', banner varchar(1000) default '' not null comment '直播间横幅' ) comment '小程序直播直播间表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_wechat_fans ( fans_id int auto_increment comment '粉丝ID' primary key, site_id int default 0 not null comment '站点id', nickname varchar(255) default '' not null comment '昵称', nickname_decode varchar(255) default '' not null comment '昵称编码', headimgurl varchar(500) default '' not null comment '头像', sex smallint default 1 not null comment '性别', language varchar(20) default '' not null comment '用户语言', country varchar(60) default '' not null comment '国家', province varchar(255) default '' not null comment '省', city varchar(255) default '' not null comment '城市', district varchar(255) default '' not null comment '行政区/县', openid varchar(255) default '' not null comment '用户的标识,对当前公众号唯一 用户的唯一身份ID', unionid varchar(255) default '' not null comment '粉丝unionid', groupid int default 0 not null comment '粉丝所在组id', is_subscribe bigint default 1 not null comment '是否订阅', remark varchar(255) default '' not null comment '备注', subscribe_time int default 0 not null comment '关注时间', subscribe_scene varchar(100) default '' not null comment '返回用户关注的渠道来源', unsubscribe_time int default 0 not null comment '取消关注时间', update_date int default 0 not null comment '粉丝信息最后更新时间', tagid_list varchar(255) default '' not null comment '用户被打上的标签ID列表', subscribe_scene_name varchar(50) default '' not null comment '返回用户关注的渠道来源名称', qr_scene varchar(255) default '' not null comment 'qr_scene', qr_scene_str varchar(255) default '' not null comment 'qr_scene_str' ) comment '微信粉丝列表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_weixin_fans on lucky_wechat_fans (unionid, openid); create table if not exists lucky_wechat_fans_tag ( id int auto_increment primary key, tags varchar(3000) default '' not null comment '微信拉取到的标签内容 json格式', tag_id int default 0 not null comment '标签id', tag_name varchar(50) default '' not null comment '标签名称' ) comment '微信粉丝标签表' charset = utf8 row_format = DYNAMIC; create index IDX_ns_wechat_fans_tag on lucky_wechat_fans_tag (tag_id); create table if not exists lucky_wechat_mass_recording ( id int(11) unsigned auto_increment primary key, status int default 0 not null comment '发送状态1-成功 0-失败', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间', member_label varchar(255) default '' not null comment '发送群体(会员标签)', media_id varchar(255) default '' not null comment '素材id', err varchar(1000) default '' not null comment '错误信息', content text null comment '内容' ) comment '微信消息记录' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_wechat_media ( id int auto_increment primary key, site_id int default 0 not null comment '站点id', type int default 0 not null comment '类型', value text null comment '值', create_time int default 0 not null comment '创建时间', update_time int default 0 not null comment '修改时间', media_id varchar(70) default '' not null comment '微信端返回的素材id' ) comment '微信素材表' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_wechat_qrcode ( id int auto_increment comment '实例ID' primary key, background varchar(255) default '' not null comment '背景图片', nick_font_color varchar(255) default '#000' not null comment '昵称字体颜色', nick_font_size smallint default 12 not null comment '昵称字体大小', is_logo_show smallint default 1 not null comment 'logo是否显示', header_left varchar(6) default '0px' not null comment '头部左边距', header_top varchar(6) default '0px' not null comment '头部上边距', name_left varchar(6) default '0px' not null comment '昵称左边距', name_top varchar(6) default '0px' not null comment '昵称上边距', logo_left varchar(6) default '0px' not null comment 'logo左边距', logo_top varchar(6) default '0px' not null comment 'logo上边距', code_left varchar(6) default '0px' not null comment '二维码左边距', code_top varchar(6) default '0px' not null comment '二维码上边距', is_default tinyint default 0 not null comment '是否默认', is_remove tinyint default 0 not null comment '是否删除 0未删除 1删除', update_time int default 0 not null ) comment '微信推广二维码模板管理' charset = utf8 row_format = DYNAMIC; create table if not exists lucky_wechat_replay_rule ( rule_id int(11) unsigned auto_increment primary key, site_id int default 0 not null comment '站点id', rule_name varchar(50) default '' not null comment '规则名称', rule_type varchar(255) default 'KEYWORDS' not null comment '规则类型KEYWORDS表示关键字,DEFAULT表示默认,AFTER表示关注后', keywords_json text null comment '关键字json', replay_json text null comment '回复内容json', create_time int default 0 not null comment '创建时间', modify_time int default 0 not null comment '修改时间' ) comment '微信回复规则' charset = utf8 row_format = DYNAMIC; -- ======================================== -- 完成初始化设置 -- ======================================== SET FOREIGN_KEY_CHECKS = 1; COMMIT; -- 设置合适的自增值起始点 ALTER TABLE `lucky_addon` AUTO_INCREMENT = 100; ALTER TABLE `lucky_config` AUTO_INCREMENT = 1000; ALTER TABLE `lucky_area` AUTO_INCREMENT = 400000; ALTER TABLE `lucky_cron` AUTO_INCREMENT = 100; ALTER TABLE `lucky_document` AUTO_INCREMENT = 100; ALTER TABLE `lucky_diy_view_util` AUTO_INCREMENT = 100; ALTER TABLE `lucky_express_company_template` AUTO_INCREMENT = 100; -- ======================================== -- 初始化完成验证 -- ======================================== SELECT '数据库基础初始化完成!' AS message; SELECT '提示:完整的294个表结构请使用 init_v2.0.sql' AS notice; SELECT COUNT(*) AS '配置表基础数据' FROM lucky_config WHERE site_id = 0; SELECT COUNT(*) AS '基础插件数量' FROM lucky_addon; SELECT COUNT(*) AS '省份数量' FROM lucky_area WHERE level = 1; SELECT COUNT(*) AS 'DIY组件数量' FROM lucky_diy_view_util; SELECT COUNT(*) AS '物流公司数量' FROM lucky_express_company_template; SELECT COUNT(*) AS '计划任务数量' FROM lucky_cron; SELECT COUNT(*) AS '基础文档数量' FROM lucky_document; -- ======================================== -- 使用说明 -- ======================================== SELECT '使用说明:' AS usage_guide; SELECT '1. 完整的表结构请使用 init_v2.0.sql 文件' AS step1; SELECT '2. 基础配置数据已包含在本文件中' AS step2; SELECT '3. 业务数据(商品、订单、用户等)需要根据实际情况添加' AS step3; SELECT '4. 建议在生产环境部署前进行充分测试' AS step4;