|
@@ -0,0 +1,5319 @@
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__jobs` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `queue` varchar(255) CHARACTER SET utf8 NOT NULL,
|
|
|
|
+ `payload` longtext CHARACTER SET utf8 NOT NULL,
|
|
|
|
+ `attempts` tinyint(3) UNSIGNED NOT NULL,
|
|
|
|
+ `reserved` tinyint(3) UNSIGNED NOT NULL,
|
|
|
|
+ `reserved_at` int(10) UNSIGNED DEFAULT NULL,
|
|
|
|
+ `available_at` int(10) UNSIGNED NOT NULL,
|
|
|
|
+ `created_at` int(10) UNSIGNED NOT NULL,
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_activity` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `title` varchar(50) DEFAULT NULL COMMENT '活动名称',
|
|
|
|
+ `goods_ids` varchar(1200) DEFAULT NULL COMMENT '商品组',
|
|
|
|
+ `type` varchar(20) DEFAULT NULL COMMENT '类型',
|
|
|
|
+ `richtext_id` int(11) DEFAULT 0 COMMENT '活动说明',
|
|
|
|
+ `richtext_title` varchar(255) DEFAULT NULL COMMENT '说明标题',
|
|
|
|
+ `starttime` int(11) DEFAULT NULL COMMENT '开始时间',
|
|
|
|
+ `endtime` int(11) DEFAULT NULL COMMENT '结束时间',
|
|
|
|
+ `rules` text COMMENT '活动规则',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='营销活动';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_activity_goods_sku_price` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `activity_id` int(11) NOT NULL DEFAULT '0' COMMENT '活动 id',
|
|
|
|
+ `sku_price_id` int(11) NOT NULL DEFAULT '0' COMMENT '规格 id',
|
|
|
|
+ `goods_id` int(11) NOT NULL COMMENT '所属产品',
|
|
|
|
+ `stock` int(11) NOT NULL DEFAULT '0' COMMENT '库存',
|
|
|
|
+ `sales` int(11) NOT NULL DEFAULT '0' COMMENT '已售',
|
|
|
|
+ `price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '价格',
|
|
|
|
+ `status` varchar(20) DEFAULT NULL COMMENT '状态',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL,
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL,
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL,
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='商品规格';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_activity_groupon` (
|
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '团长',
|
|
|
|
+ `goods_id` int(11) NOT NULL COMMENT '商品',
|
|
|
|
+ `activity_id` int(11) NOT NULL COMMENT '活动',
|
|
|
|
+ `num` int(11) NOT NULL COMMENT '成团人数',
|
|
|
|
+ `current_num` int(11) NOT NULL COMMENT '当前人数',
|
|
|
|
+ `status` enum('invalid','ing','finish','finish-fictitious') NOT NULL COMMENT '状态:invalid=已过期,ing=进行中,finish=已成团,finish-fictitious=虚拟成团',
|
|
|
|
+ `expiretime` int(10) DEFAULT NULL COMMENT '过期时间',
|
|
|
|
+ `finishtime` int(10) DEFAULT NULL COMMENT '成团时间',
|
|
|
|
+ `createtime` int(10) DEFAULT NULL COMMENT '添加时间',
|
|
|
|
+ `updatetime` int(10) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_activity_groupon_log` (
|
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户',
|
|
|
|
+ `user_nickname` varchar(50) DEFAULT NULL COMMENT '用户昵称',
|
|
|
|
+ `user_avatar` varchar(1500) DEFAULT NULL COMMENT '头像',
|
|
|
|
+ `groupon_id` int(11) NOT NULL DEFAULT '0' COMMENT '团',
|
|
|
|
+ `goods_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品',
|
|
|
|
+ `goods_sku_price_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品规格',
|
|
|
|
+ `activity_id` int(11) NOT NULL DEFAULT '0' COMMENT '活动',
|
|
|
|
+ `is_leader` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否团长',
|
|
|
|
+ `is_fictitious` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否虚拟用户',
|
|
|
|
+ `order_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单',
|
|
|
|
+ `is_refund` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否退款',
|
|
|
|
+ `createtime` int(10) DEFAULT NULL COMMENT '添加时间',
|
|
|
|
+ `updatetime` int(10) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_area` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `name` varchar(50) DEFAULT NULL COMMENT '名称',
|
|
|
|
+ `pid` int(11) DEFAULT '0' COMMENT '上级',
|
|
|
|
+ `level` int(11) DEFAULT '1',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='省市区数据';
|
|
|
|
+
|
|
|
|
+INSERT INTO `__PREFIX__shopro_area` (`id`, `name`, `pid`, `level`) VALUES
|
|
|
|
+(110000, '北京市', 0, 1),
|
|
|
|
+(110100, '北京市', 110000, 2),
|
|
|
|
+(110101, '东城区', 110100, 3),
|
|
|
|
+(110102, '西城区', 110100, 3),
|
|
|
|
+(110105, '朝阳区', 110100, 3),
|
|
|
|
+(110106, '丰台区', 110100, 3),
|
|
|
|
+(110107, '石景山区', 110100, 3),
|
|
|
|
+(110108, '海淀区', 110100, 3),
|
|
|
|
+(110109, '门头沟区', 110100, 3),
|
|
|
|
+(110111, '房山区', 110100, 3),
|
|
|
|
+(110112, '通州区', 110100, 3),
|
|
|
|
+(110113, '顺义区', 110100, 3),
|
|
|
|
+(110114, '昌平区', 110100, 3),
|
|
|
|
+(110115, '大兴区', 110100, 3),
|
|
|
|
+(110116, '怀柔区', 110100, 3),
|
|
|
|
+(110117, '平谷区', 110100, 3),
|
|
|
|
+(110118, '密云区', 110100, 3),
|
|
|
|
+(110119, '延庆区', 110100, 3),
|
|
|
|
+(120000, '天津市', 0, 1),
|
|
|
|
+(120100, '天津市', 120000, 2),
|
|
|
|
+(120101, '和平区', 120100, 3),
|
|
|
|
+(120102, '河东区', 120100, 3),
|
|
|
|
+(120103, '河西区', 120100, 3),
|
|
|
|
+(120104, '南开区', 120100, 3),
|
|
|
|
+(120105, '河北区', 120100, 3),
|
|
|
|
+(120106, '红桥区', 120100, 3),
|
|
|
|
+(120110, '东丽区', 120100, 3),
|
|
|
|
+(120111, '西青区', 120100, 3),
|
|
|
|
+(120112, '津南区', 120100, 3),
|
|
|
|
+(120113, '北辰区', 120100, 3),
|
|
|
|
+(120114, '武清区', 120100, 3),
|
|
|
|
+(120115, '宝坻区', 120100, 3),
|
|
|
|
+(120116, '滨海新区', 120100, 3),
|
|
|
|
+(120117, '宁河区', 120100, 3),
|
|
|
|
+(120118, '静海区', 120100, 3),
|
|
|
|
+(120119, '蓟州区', 120100, 3),
|
|
|
|
+(130000, '河北省', 0, 1),
|
|
|
|
+(130100, '石家庄市', 130000, 2),
|
|
|
|
+(130102, '长安区', 130100, 3),
|
|
|
|
+(130104, '桥西区', 130100, 3),
|
|
|
|
+(130105, '新华区', 130100, 3),
|
|
|
|
+(130107, '井陉矿区', 130100, 3),
|
|
|
|
+(130108, '裕华区', 130100, 3),
|
|
|
|
+(130109, '藁城区', 130100, 3),
|
|
|
|
+(130110, '鹿泉区', 130100, 3),
|
|
|
|
+(130111, '栾城区', 130100, 3),
|
|
|
|
+(130121, '井陉县', 130100, 3),
|
|
|
|
+(130123, '正定县', 130100, 3),
|
|
|
|
+(130125, '行唐县', 130100, 3),
|
|
|
|
+(130126, '灵寿县', 130100, 3),
|
|
|
|
+(130127, '高邑县', 130100, 3),
|
|
|
|
+(130128, '深泽县', 130100, 3),
|
|
|
|
+(130129, '赞皇县', 130100, 3),
|
|
|
|
+(130130, '无极县', 130100, 3),
|
|
|
|
+(130131, '平山县', 130100, 3),
|
|
|
|
+(130132, '元氏县', 130100, 3),
|
|
|
|
+(130133, '赵县', 130100, 3),
|
|
|
|
+(130181, '辛集市', 130100, 3),
|
|
|
|
+(130183, '晋州市', 130100, 3),
|
|
|
|
+(130184, '新乐市', 130100, 3),
|
|
|
|
+(130200, '唐山市', 130000, 2),
|
|
|
|
+(130202, '路南区', 130200, 3),
|
|
|
|
+(130203, '路北区', 130200, 3),
|
|
|
|
+(130204, '古冶区', 130200, 3),
|
|
|
|
+(130205, '开平区', 130200, 3),
|
|
|
|
+(130207, '丰南区', 130200, 3),
|
|
|
|
+(130208, '丰润区', 130200, 3),
|
|
|
|
+(130209, '曹妃甸区', 130200, 3),
|
|
|
|
+(130223, '滦县', 130200, 3),
|
|
|
|
+(130224, '滦南县', 130200, 3),
|
|
|
|
+(130225, '乐亭县', 130200, 3),
|
|
|
|
+(130227, '迁西县', 130200, 3),
|
|
|
|
+(130229, '玉田县', 130200, 3),
|
|
|
|
+(130281, '遵化市', 130200, 3),
|
|
|
|
+(130283, '迁安市', 130200, 3),
|
|
|
|
+(130300, '秦皇岛市', 130000, 2),
|
|
|
|
+(130302, '海港区', 130300, 3),
|
|
|
|
+(130303, '山海关区', 130300, 3),
|
|
|
|
+(130304, '北戴河区', 130300, 3),
|
|
|
|
+(130306, '抚宁区', 130300, 3),
|
|
|
|
+(130321, '青龙满族自治县', 130300, 3),
|
|
|
|
+(130322, '昌黎县', 130300, 3),
|
|
|
|
+(130324, '卢龙县', 130300, 3),
|
|
|
|
+(130400, '邯郸市', 130000, 2),
|
|
|
|
+(130402, '邯山区', 130400, 3),
|
|
|
|
+(130403, '丛台区', 130400, 3),
|
|
|
|
+(130404, '复兴区', 130400, 3),
|
|
|
|
+(130406, '峰峰矿区', 130400, 3),
|
|
|
|
+(130407, '肥乡区', 130400, 3),
|
|
|
|
+(130408, '永年区', 130400, 3),
|
|
|
|
+(130423, '临漳县', 130400, 3),
|
|
|
|
+(130424, '成安县', 130400, 3),
|
|
|
|
+(130425, '大名县', 130400, 3),
|
|
|
|
+(130426, '涉县', 130400, 3),
|
|
|
|
+(130427, '磁县', 130400, 3),
|
|
|
|
+(130430, '邱县', 130400, 3),
|
|
|
|
+(130431, '鸡泽县', 130400, 3),
|
|
|
|
+(130432, '广平县', 130400, 3),
|
|
|
|
+(130433, '馆陶县', 130400, 3),
|
|
|
|
+(130434, '魏县', 130400, 3),
|
|
|
|
+(130435, '曲周县', 130400, 3),
|
|
|
|
+(130481, '武安市', 130400, 3),
|
|
|
|
+(130500, '邢台市', 130000, 2),
|
|
|
|
+(130502, '桥东区', 130500, 3),
|
|
|
|
+(130503, '桥西区', 130500, 3),
|
|
|
|
+(130521, '邢台县', 130500, 3),
|
|
|
|
+(130522, '临城县', 130500, 3),
|
|
|
|
+(130523, '内丘县', 130500, 3),
|
|
|
|
+(130524, '柏乡县', 130500, 3),
|
|
|
|
+(130525, '隆尧县', 130500, 3),
|
|
|
|
+(130526, '任县', 130500, 3),
|
|
|
|
+(130527, '南和县', 130500, 3),
|
|
|
|
+(130528, '宁晋县', 130500, 3),
|
|
|
|
+(130529, '巨鹿县', 130500, 3),
|
|
|
|
+(130530, '新河县', 130500, 3),
|
|
|
|
+(130531, '广宗县', 130500, 3),
|
|
|
|
+(130532, '平乡县', 130500, 3),
|
|
|
|
+(130533, '威县', 130500, 3),
|
|
|
|
+(130534, '清河县', 130500, 3),
|
|
|
|
+(130535, '临西县', 130500, 3),
|
|
|
|
+(130581, '南宫市', 130500, 3),
|
|
|
|
+(130582, '沙河市', 130500, 3),
|
|
|
|
+(130600, '保定市', 130000, 2),
|
|
|
|
+(130602, '竞秀区', 130600, 3),
|
|
|
|
+(130606, '莲池区', 130600, 3),
|
|
|
|
+(130607, '满城区', 130600, 3),
|
|
|
|
+(130608, '清苑区', 130600, 3),
|
|
|
|
+(130609, '徐水区', 130600, 3),
|
|
|
|
+(130623, '涞水县', 130600, 3),
|
|
|
|
+(130624, '阜平县', 130600, 3),
|
|
|
|
+(130626, '定兴县', 130600, 3),
|
|
|
|
+(130627, '唐县', 130600, 3),
|
|
|
|
+(130628, '高阳县', 130600, 3),
|
|
|
|
+(130629, '容城县', 130600, 3),
|
|
|
|
+(130630, '涞源县', 130600, 3),
|
|
|
|
+(130631, '望都县', 130600, 3),
|
|
|
|
+(130632, '安新县', 130600, 3),
|
|
|
|
+(130633, '易县', 130600, 3),
|
|
|
|
+(130634, '曲阳县', 130600, 3),
|
|
|
|
+(130635, '蠡县', 130600, 3),
|
|
|
|
+(130636, '顺平县', 130600, 3),
|
|
|
|
+(130637, '博野县', 130600, 3),
|
|
|
|
+(130638, '雄县', 130600, 3),
|
|
|
|
+(130681, '涿州市', 130600, 3),
|
|
|
|
+(130682, '定州市', 130600, 3),
|
|
|
|
+(130683, '安国市', 130600, 3),
|
|
|
|
+(130684, '高碑店市', 130600, 3),
|
|
|
|
+(130700, '张家口市', 130000, 2),
|
|
|
|
+(130702, '桥东区', 130700, 3),
|
|
|
|
+(130703, '桥西区', 130700, 3),
|
|
|
|
+(130705, '宣化区', 130700, 3),
|
|
|
|
+(130706, '下花园区', 130700, 3),
|
|
|
|
+(130708, '万全区', 130700, 3),
|
|
|
|
+(130709, '崇礼区', 130700, 3),
|
|
|
|
+(130722, '张北县', 130700, 3),
|
|
|
|
+(130723, '康保县', 130700, 3),
|
|
|
|
+(130724, '沽源县', 130700, 3),
|
|
|
|
+(130725, '尚义县', 130700, 3),
|
|
|
|
+(130726, '蔚县', 130700, 3),
|
|
|
|
+(130727, '阳原县', 130700, 3),
|
|
|
|
+(130728, '怀安县', 130700, 3),
|
|
|
|
+(130730, '怀来县', 130700, 3),
|
|
|
|
+(130731, '涿鹿县', 130700, 3),
|
|
|
|
+(130732, '赤城县', 130700, 3),
|
|
|
|
+(130800, '承德市', 130000, 2),
|
|
|
|
+(130802, '双桥区', 130800, 3),
|
|
|
|
+(130803, '双滦区', 130800, 3),
|
|
|
|
+(130804, '鹰手营子矿区', 130800, 3),
|
|
|
|
+(130821, '承德县', 130800, 3),
|
|
|
|
+(130822, '兴隆县', 130800, 3),
|
|
|
|
+(130824, '滦平县', 130800, 3),
|
|
|
|
+(130825, '隆化县', 130800, 3),
|
|
|
|
+(130826, '丰宁满族自治县', 130800, 3),
|
|
|
|
+(130827, '宽城满族自治县', 130800, 3),
|
|
|
|
+(130828, '围场满族蒙古族自治县', 130800, 3),
|
|
|
|
+(130881, '平泉市', 130800, 3),
|
|
|
|
+(130900, '沧州市', 130000, 2),
|
|
|
|
+(130902, '新华区', 130900, 3),
|
|
|
|
+(130903, '运河区', 130900, 3),
|
|
|
|
+(130921, '沧县', 130900, 3),
|
|
|
|
+(130922, '青县', 130900, 3),
|
|
|
|
+(130923, '东光县', 130900, 3),
|
|
|
|
+(130924, '海兴县', 130900, 3),
|
|
|
|
+(130925, '盐山县', 130900, 3),
|
|
|
|
+(130926, '肃宁县', 130900, 3),
|
|
|
|
+(130927, '南皮县', 130900, 3),
|
|
|
|
+(130928, '吴桥县', 130900, 3),
|
|
|
|
+(130929, '献县', 130900, 3),
|
|
|
|
+(130930, '孟村回族自治县', 130900, 3),
|
|
|
|
+(130981, '泊头市', 130900, 3),
|
|
|
|
+(130982, '任丘市', 130900, 3),
|
|
|
|
+(130983, '黄骅市', 130900, 3),
|
|
|
|
+(130984, '河间市', 130900, 3),
|
|
|
|
+(131000, '廊坊市', 130000, 2),
|
|
|
|
+(131002, '安次区', 131000, 3),
|
|
|
|
+(131003, '广阳区', 131000, 3),
|
|
|
|
+(131022, '固安县', 131000, 3),
|
|
|
|
+(131023, '永清县', 131000, 3),
|
|
|
|
+(131024, '香河县', 131000, 3),
|
|
|
|
+(131025, '大城县', 131000, 3),
|
|
|
|
+(131026, '文安县', 131000, 3),
|
|
|
|
+(131028, '大厂回族自治县', 131000, 3),
|
|
|
|
+(131081, '霸州市', 131000, 3),
|
|
|
|
+(131082, '三河市', 131000, 3),
|
|
|
|
+(131100, '衡水市', 130000, 2),
|
|
|
|
+(131102, '桃城区', 131100, 3),
|
|
|
|
+(131103, '冀州区', 131100, 3),
|
|
|
|
+(131121, '枣强县', 131100, 3),
|
|
|
|
+(131122, '武邑县', 131100, 3),
|
|
|
|
+(131123, '武强县', 131100, 3),
|
|
|
|
+(131124, '饶阳县', 131100, 3),
|
|
|
|
+(131125, '安平县', 131100, 3),
|
|
|
|
+(131126, '故城县', 131100, 3),
|
|
|
|
+(131127, '景县', 131100, 3),
|
|
|
|
+(131128, '阜城县', 131100, 3),
|
|
|
|
+(131182, '深州市', 131100, 3),
|
|
|
|
+(140000, '山西省', 0, 1),
|
|
|
|
+(140100, '太原市', 140000, 2),
|
|
|
|
+(140105, '小店区', 140100, 3),
|
|
|
|
+(140106, '迎泽区', 140100, 3),
|
|
|
|
+(140107, '杏花岭区', 140100, 3),
|
|
|
|
+(140108, '尖草坪区', 140100, 3),
|
|
|
|
+(140109, '万柏林区', 140100, 3),
|
|
|
|
+(140110, '晋源区', 140100, 3),
|
|
|
|
+(140121, '清徐县', 140100, 3),
|
|
|
|
+(140122, '阳曲县', 140100, 3),
|
|
|
|
+(140123, '娄烦县', 140100, 3),
|
|
|
|
+(140181, '古交市', 140100, 3),
|
|
|
|
+(140200, '大同市', 140000, 2),
|
|
|
|
+(140202, '城区', 140200, 3),
|
|
|
|
+(140203, '矿区', 140200, 3),
|
|
|
|
+(140211, '南郊区', 140200, 3),
|
|
|
|
+(140212, '新荣区', 140200, 3),
|
|
|
|
+(140221, '阳高县', 140200, 3),
|
|
|
|
+(140222, '天镇县', 140200, 3),
|
|
|
|
+(140223, '广灵县', 140200, 3),
|
|
|
|
+(140224, '灵丘县', 140200, 3),
|
|
|
|
+(140225, '浑源县', 140200, 3),
|
|
|
|
+(140226, '左云县', 140200, 3),
|
|
|
|
+(140227, '大同县', 140200, 3),
|
|
|
|
+(140300, '阳泉市', 140000, 2),
|
|
|
|
+(140302, '城区', 140300, 3),
|
|
|
|
+(140303, '矿区', 140300, 3),
|
|
|
|
+(140311, '郊区', 140300, 3),
|
|
|
|
+(140321, '平定县', 140300, 3),
|
|
|
|
+(140322, '盂县', 140300, 3),
|
|
|
|
+(140400, '长治市', 140000, 2),
|
|
|
|
+(140402, '城区', 140400, 3),
|
|
|
|
+(140411, '郊区', 140400, 3),
|
|
|
|
+(140421, '长治县', 140400, 3),
|
|
|
|
+(140423, '襄垣县', 140400, 3),
|
|
|
|
+(140424, '屯留县', 140400, 3),
|
|
|
|
+(140425, '平顺县', 140400, 3),
|
|
|
|
+(140426, '黎城县', 140400, 3),
|
|
|
|
+(140427, '壶关县', 140400, 3),
|
|
|
|
+(140428, '长子县', 140400, 3),
|
|
|
|
+(140429, '武乡县', 140400, 3),
|
|
|
|
+(140430, '沁县', 140400, 3),
|
|
|
|
+(140431, '沁源县', 140400, 3),
|
|
|
|
+(140481, '潞城市', 140400, 3),
|
|
|
|
+(140500, '晋城市', 140000, 2),
|
|
|
|
+(140502, '城区', 140500, 3),
|
|
|
|
+(140521, '沁水县', 140500, 3),
|
|
|
|
+(140522, '阳城县', 140500, 3),
|
|
|
|
+(140524, '陵川县', 140500, 3),
|
|
|
|
+(140525, '泽州县', 140500, 3),
|
|
|
|
+(140581, '高平市', 140500, 3),
|
|
|
|
+(140600, '朔州市', 140000, 2),
|
|
|
|
+(140602, '朔城区', 140600, 3),
|
|
|
|
+(140603, '平鲁区', 140600, 3),
|
|
|
|
+(140621, '山阴县', 140600, 3),
|
|
|
|
+(140622, '应县', 140600, 3),
|
|
|
|
+(140623, '右玉县', 140600, 3),
|
|
|
|
+(140624, '怀仁县', 140600, 3),
|
|
|
|
+(140700, '晋中市', 140000, 2),
|
|
|
|
+(140702, '榆次区', 140700, 3),
|
|
|
|
+(140721, '榆社县', 140700, 3),
|
|
|
|
+(140722, '左权县', 140700, 3),
|
|
|
|
+(140723, '和顺县', 140700, 3),
|
|
|
|
+(140724, '昔阳县', 140700, 3),
|
|
|
|
+(140725, '寿阳县', 140700, 3),
|
|
|
|
+(140726, '太谷县', 140700, 3),
|
|
|
|
+(140727, '祁县', 140700, 3),
|
|
|
|
+(140728, '平遥县', 140700, 3),
|
|
|
|
+(140729, '灵石县', 140700, 3),
|
|
|
|
+(140781, '介休市', 140700, 3),
|
|
|
|
+(140800, '运城市', 140000, 2),
|
|
|
|
+(140802, '盐湖区', 140800, 3),
|
|
|
|
+(140821, '临猗县', 140800, 3),
|
|
|
|
+(140822, '万荣县', 140800, 3),
|
|
|
|
+(140823, '闻喜县', 140800, 3),
|
|
|
|
+(140824, '稷山县', 140800, 3),
|
|
|
|
+(140825, '新绛县', 140800, 3),
|
|
|
|
+(140826, '绛县', 140800, 3),
|
|
|
|
+(140827, '垣曲县', 140800, 3),
|
|
|
|
+(140828, '夏县', 140800, 3),
|
|
|
|
+(140829, '平陆县', 140800, 3),
|
|
|
|
+(140830, '芮城县', 140800, 3),
|
|
|
|
+(140881, '永济市', 140800, 3),
|
|
|
|
+(140882, '河津市', 140800, 3),
|
|
|
|
+(140900, '忻州市', 140000, 2),
|
|
|
|
+(140902, '忻府区', 140900, 3),
|
|
|
|
+(140921, '定襄县', 140900, 3),
|
|
|
|
+(140922, '五台县', 140900, 3),
|
|
|
|
+(140923, '代县', 140900, 3),
|
|
|
|
+(140924, '繁峙县', 140900, 3),
|
|
|
|
+(140925, '宁武县', 140900, 3),
|
|
|
|
+(140926, '静乐县', 140900, 3),
|
|
|
|
+(140927, '神池县', 140900, 3),
|
|
|
|
+(140928, '五寨县', 140900, 3),
|
|
|
|
+(140929, '岢岚县', 140900, 3),
|
|
|
|
+(140930, '河曲县', 140900, 3),
|
|
|
|
+(140931, '保德县', 140900, 3),
|
|
|
|
+(140932, '偏关县', 140900, 3),
|
|
|
|
+(140981, '原平市', 140900, 3),
|
|
|
|
+(141000, '临汾市', 140000, 2),
|
|
|
|
+(141002, '尧都区', 141000, 3),
|
|
|
|
+(141021, '曲沃县', 141000, 3),
|
|
|
|
+(141022, '翼城县', 141000, 3),
|
|
|
|
+(141023, '襄汾县', 141000, 3),
|
|
|
|
+(141024, '洪洞县', 141000, 3),
|
|
|
|
+(141025, '古县', 141000, 3),
|
|
|
|
+(141026, '安泽县', 141000, 3),
|
|
|
|
+(141027, '浮山县', 141000, 3),
|
|
|
|
+(141028, '吉县', 141000, 3),
|
|
|
|
+(141029, '乡宁县', 141000, 3),
|
|
|
|
+(141030, '大宁县', 141000, 3),
|
|
|
|
+(141031, '隰县', 141000, 3),
|
|
|
|
+(141032, '永和县', 141000, 3),
|
|
|
|
+(141033, '蒲县', 141000, 3),
|
|
|
|
+(141034, '汾西县', 141000, 3),
|
|
|
|
+(141081, '侯马市', 141000, 3),
|
|
|
|
+(141082, '霍州市', 141000, 3),
|
|
|
|
+(141100, '吕梁市', 140000, 2),
|
|
|
|
+(141102, '离石区', 141100, 3),
|
|
|
|
+(141121, '文水县', 141100, 3),
|
|
|
|
+(141122, '交城县', 141100, 3),
|
|
|
|
+(141123, '兴县', 141100, 3),
|
|
|
|
+(141124, '临县', 141100, 3),
|
|
|
|
+(141125, '柳林县', 141100, 3),
|
|
|
|
+(141126, '石楼县', 141100, 3),
|
|
|
|
+(141127, '岚县', 141100, 3),
|
|
|
|
+(141128, '方山县', 141100, 3),
|
|
|
|
+(141129, '中阳县', 141100, 3),
|
|
|
|
+(141130, '交口县', 141100, 3),
|
|
|
|
+(141181, '孝义市', 141100, 3),
|
|
|
|
+(141182, '汾阳市', 141100, 3),
|
|
|
|
+(150000, '内蒙古自治区', 0, 1),
|
|
|
|
+(150100, '呼和浩特市', 150000, 2),
|
|
|
|
+(150102, '新城区', 150100, 3),
|
|
|
|
+(150103, '回民区', 150100, 3),
|
|
|
|
+(150104, '玉泉区', 150100, 3),
|
|
|
|
+(150105, '赛罕区', 150100, 3),
|
|
|
|
+(150121, '土默特左旗', 150100, 3),
|
|
|
|
+(150122, '托克托县', 150100, 3),
|
|
|
|
+(150123, '和林格尔县', 150100, 3),
|
|
|
|
+(150124, '清水河县', 150100, 3),
|
|
|
|
+(150125, '武川县', 150100, 3),
|
|
|
|
+(150200, '包头市', 150000, 2),
|
|
|
|
+(150202, '东河区', 150200, 3),
|
|
|
|
+(150203, '昆都仑区', 150200, 3),
|
|
|
|
+(150204, '青山区', 150200, 3),
|
|
|
|
+(150205, '石拐区', 150200, 3),
|
|
|
|
+(150206, '白云鄂博矿区', 150200, 3),
|
|
|
|
+(150207, '九原区', 150200, 3),
|
|
|
|
+(150221, '土默特右旗', 150200, 3),
|
|
|
|
+(150222, '固阳县', 150200, 3),
|
|
|
|
+(150223, '达尔罕茂明安联合旗', 150200, 3),
|
|
|
|
+(150300, '乌海市', 150000, 2),
|
|
|
|
+(150302, '海勃湾区', 150300, 3),
|
|
|
|
+(150303, '海南区', 150300, 3),
|
|
|
|
+(150304, '乌达区', 150300, 3),
|
|
|
|
+(150400, '赤峰市', 150000, 2),
|
|
|
|
+(150402, '红山区', 150400, 3),
|
|
|
|
+(150403, '元宝山区', 150400, 3),
|
|
|
|
+(150404, '松山区', 150400, 3),
|
|
|
|
+(150421, '阿鲁科尔沁旗', 150400, 3),
|
|
|
|
+(150422, '巴林左旗', 150400, 3),
|
|
|
|
+(150423, '巴林右旗', 150400, 3),
|
|
|
|
+(150424, '林西县', 150400, 3),
|
|
|
|
+(150425, '克什克腾旗', 150400, 3),
|
|
|
|
+(150426, '翁牛特旗', 150400, 3),
|
|
|
|
+(150428, '喀喇沁旗', 150400, 3),
|
|
|
|
+(150429, '宁城县', 150400, 3),
|
|
|
|
+(150430, '敖汉旗', 150400, 3),
|
|
|
|
+(150500, '通辽市', 150000, 2),
|
|
|
|
+(150502, '科尔沁区', 150500, 3),
|
|
|
|
+(150521, '科尔沁左翼中旗', 150500, 3),
|
|
|
|
+(150522, '科尔沁左翼后旗', 150500, 3),
|
|
|
|
+(150523, '开鲁县', 150500, 3),
|
|
|
|
+(150524, '库伦旗', 150500, 3),
|
|
|
|
+(150525, '奈曼旗', 150500, 3),
|
|
|
|
+(150526, '扎鲁特旗', 150500, 3),
|
|
|
|
+(150581, '霍林郭勒市', 150500, 3),
|
|
|
|
+(150600, '鄂尔多斯市', 150000, 2),
|
|
|
|
+(150602, '东胜区', 150600, 3),
|
|
|
|
+(150603, '康巴什区', 150600, 3),
|
|
|
|
+(150621, '达拉特旗', 150600, 3),
|
|
|
|
+(150622, '准格尔旗', 150600, 3),
|
|
|
|
+(150623, '鄂托克前旗', 150600, 3),
|
|
|
|
+(150624, '鄂托克旗', 150600, 3),
|
|
|
|
+(150625, '杭锦旗', 150600, 3),
|
|
|
|
+(150626, '乌审旗', 150600, 3),
|
|
|
|
+(150627, '伊金霍洛旗', 150600, 3),
|
|
|
|
+(150700, '呼伦贝尔市', 150000, 2),
|
|
|
|
+(150702, '海拉尔区', 150700, 3),
|
|
|
|
+(150703, '扎赉诺尔区', 150700, 3),
|
|
|
|
+(150721, '阿荣旗', 150700, 3),
|
|
|
|
+(150722, '莫力达瓦达斡尔族自治旗', 150700, 3),
|
|
|
|
+(150723, '鄂伦春自治旗', 150700, 3),
|
|
|
|
+(150724, '鄂温克族自治旗', 150700, 3),
|
|
|
|
+(150725, '陈巴尔虎旗', 150700, 3),
|
|
|
|
+(150726, '新巴尔虎左旗', 150700, 3),
|
|
|
|
+(150727, '新巴尔虎右旗', 150700, 3),
|
|
|
|
+(150781, '满洲里市', 150700, 3),
|
|
|
|
+(150782, '牙克石市', 150700, 3),
|
|
|
|
+(150783, '扎兰屯市', 150700, 3),
|
|
|
|
+(150784, '额尔古纳市', 150700, 3),
|
|
|
|
+(150785, '根河市', 150700, 3),
|
|
|
|
+(150800, '巴彦淖尔市', 150000, 2),
|
|
|
|
+(150802, '临河区', 150800, 3),
|
|
|
|
+(150821, '五原县', 150800, 3),
|
|
|
|
+(150822, '磴口县', 150800, 3),
|
|
|
|
+(150823, '乌拉特前旗', 150800, 3),
|
|
|
|
+(150824, '乌拉特中旗', 150800, 3),
|
|
|
|
+(150825, '乌拉特后旗', 150800, 3),
|
|
|
|
+(150826, '杭锦后旗', 150800, 3),
|
|
|
|
+(150900, '乌兰察布市', 150000, 2),
|
|
|
|
+(150902, '集宁区', 150900, 3),
|
|
|
|
+(150921, '卓资县', 150900, 3),
|
|
|
|
+(150922, '化德县', 150900, 3),
|
|
|
|
+(150923, '商都县', 150900, 3),
|
|
|
|
+(150924, '兴和县', 150900, 3),
|
|
|
|
+(150925, '凉城县', 150900, 3),
|
|
|
|
+(150926, '察哈尔右翼前旗', 150900, 3),
|
|
|
|
+(150927, '察哈尔右翼中旗', 150900, 3),
|
|
|
|
+(150928, '察哈尔右翼后旗', 150900, 3),
|
|
|
|
+(150929, '四子王旗', 150900, 3),
|
|
|
|
+(150981, '丰镇市', 150900, 3),
|
|
|
|
+(152200, '兴安盟', 150000, 2),
|
|
|
|
+(152201, '乌兰浩特市', 152200, 3),
|
|
|
|
+(152202, '阿尔山市', 152200, 3),
|
|
|
|
+(152221, '科尔沁右翼前旗', 152200, 3),
|
|
|
|
+(152222, '科尔沁右翼中旗', 152200, 3),
|
|
|
|
+(152223, '扎赉特旗', 152200, 3),
|
|
|
|
+(152224, '突泉县', 152200, 3),
|
|
|
|
+(152500, '锡林郭勒盟', 150000, 2),
|
|
|
|
+(152501, '二连浩特市', 152500, 3),
|
|
|
|
+(152502, '锡林浩特市', 152500, 3),
|
|
|
|
+(152522, '阿巴嘎旗', 152500, 3),
|
|
|
|
+(152523, '苏尼特左旗', 152500, 3),
|
|
|
|
+(152524, '苏尼特右旗', 152500, 3),
|
|
|
|
+(152525, '东乌珠穆沁旗', 152500, 3),
|
|
|
|
+(152526, '西乌珠穆沁旗', 152500, 3),
|
|
|
|
+(152527, '太仆寺旗', 152500, 3),
|
|
|
|
+(152528, '镶黄旗', 152500, 3),
|
|
|
|
+(152529, '正镶白旗', 152500, 3),
|
|
|
|
+(152530, '正蓝旗', 152500, 3),
|
|
|
|
+(152531, '多伦县', 152500, 3),
|
|
|
|
+(152900, '阿拉善盟', 150000, 2),
|
|
|
|
+(152921, '阿拉善左旗', 152900, 3),
|
|
|
|
+(152922, '阿拉善右旗', 152900, 3),
|
|
|
|
+(152923, '额济纳旗', 152900, 3),
|
|
|
|
+(210000, '辽宁省', 0, 1),
|
|
|
|
+(210100, '沈阳市', 210000, 2),
|
|
|
|
+(210102, '和平区', 210100, 3),
|
|
|
|
+(210103, '沈河区', 210100, 3),
|
|
|
|
+(210104, '大东区', 210100, 3),
|
|
|
|
+(210105, '皇姑区', 210100, 3),
|
|
|
|
+(210106, '铁西区', 210100, 3),
|
|
|
|
+(210111, '苏家屯区', 210100, 3),
|
|
|
|
+(210112, '浑南区', 210100, 3),
|
|
|
|
+(210113, '沈北新区', 210100, 3),
|
|
|
|
+(210114, '于洪区', 210100, 3),
|
|
|
|
+(210115, '辽中区', 210100, 3),
|
|
|
|
+(210123, '康平县', 210100, 3),
|
|
|
|
+(210124, '法库县', 210100, 3),
|
|
|
|
+(210181, '新民市', 210100, 3),
|
|
|
|
+(210200, '大连市', 210000, 2),
|
|
|
|
+(210202, '中山区', 210200, 3),
|
|
|
|
+(210203, '西岗区', 210200, 3),
|
|
|
|
+(210204, '沙河口区', 210200, 3),
|
|
|
|
+(210211, '甘井子区', 210200, 3),
|
|
|
|
+(210212, '旅顺口区', 210200, 3),
|
|
|
|
+(210213, '金州区', 210200, 3),
|
|
|
|
+(210214, '普兰店区', 210200, 3),
|
|
|
|
+(210224, '长海县', 210200, 3),
|
|
|
|
+(210281, '瓦房店市', 210200, 3),
|
|
|
|
+(210283, '庄河市', 210200, 3),
|
|
|
|
+(210300, '鞍山市', 210000, 2),
|
|
|
|
+(210302, '铁东区', 210300, 3),
|
|
|
|
+(210303, '铁西区', 210300, 3),
|
|
|
|
+(210304, '立山区', 210300, 3),
|
|
|
|
+(210311, '千山区', 210300, 3),
|
|
|
|
+(210321, '台安县', 210300, 3),
|
|
|
|
+(210323, '岫岩满族自治县', 210300, 3),
|
|
|
|
+(210381, '海城市', 210300, 3),
|
|
|
|
+(210400, '抚顺市', 210000, 2),
|
|
|
|
+(210402, '新抚区', 210400, 3),
|
|
|
|
+(210403, '东洲区', 210400, 3),
|
|
|
|
+(210404, '望花区', 210400, 3),
|
|
|
|
+(210411, '顺城区', 210400, 3),
|
|
|
|
+(210421, '抚顺县', 210400, 3),
|
|
|
|
+(210422, '新宾满族自治县', 210400, 3),
|
|
|
|
+(210423, '清原满族自治县', 210400, 3),
|
|
|
|
+(210500, '本溪市', 210000, 2),
|
|
|
|
+(210502, '平山区', 210500, 3),
|
|
|
|
+(210503, '溪湖区', 210500, 3),
|
|
|
|
+(210504, '明山区', 210500, 3),
|
|
|
|
+(210505, '南芬区', 210500, 3),
|
|
|
|
+(210521, '本溪满族自治县', 210500, 3),
|
|
|
|
+(210522, '桓仁满族自治县', 210500, 3),
|
|
|
|
+(210600, '丹东市', 210000, 2),
|
|
|
|
+(210602, '元宝区', 210600, 3),
|
|
|
|
+(210603, '振兴区', 210600, 3),
|
|
|
|
+(210604, '振安区', 210600, 3),
|
|
|
|
+(210624, '宽甸满族自治县', 210600, 3),
|
|
|
|
+(210681, '东港市', 210600, 3),
|
|
|
|
+(210682, '凤城市', 210600, 3),
|
|
|
|
+(210700, '锦州市', 210000, 2),
|
|
|
|
+(210702, '古塔区', 210700, 3),
|
|
|
|
+(210703, '凌河区', 210700, 3),
|
|
|
|
+(210711, '太和区', 210700, 3),
|
|
|
|
+(210726, '黑山县', 210700, 3),
|
|
|
|
+(210727, '义县', 210700, 3),
|
|
|
|
+(210781, '凌海市', 210700, 3),
|
|
|
|
+(210782, '北镇市', 210700, 3),
|
|
|
|
+(210800, '营口市', 210000, 2),
|
|
|
|
+(210802, '站前区', 210800, 3),
|
|
|
|
+(210803, '西市区', 210800, 3),
|
|
|
|
+(210804, '鲅鱼圈区', 210800, 3),
|
|
|
|
+(210811, '老边区', 210800, 3),
|
|
|
|
+(210881, '盖州市', 210800, 3),
|
|
|
|
+(210882, '大石桥市', 210800, 3),
|
|
|
|
+(210900, '阜新市', 210000, 2),
|
|
|
|
+(210902, '海州区', 210900, 3),
|
|
|
|
+(210903, '新邱区', 210900, 3),
|
|
|
|
+(210904, '太平区', 210900, 3),
|
|
|
|
+(210905, '清河门区', 210900, 3),
|
|
|
|
+(210911, '细河区', 210900, 3),
|
|
|
|
+(210921, '阜新蒙古族自治县', 210900, 3),
|
|
|
|
+(210922, '彰武县', 210900, 3),
|
|
|
|
+(211000, '辽阳市', 210000, 2),
|
|
|
|
+(211002, '白塔区', 211000, 3),
|
|
|
|
+(211003, '文圣区', 211000, 3),
|
|
|
|
+(211004, '宏伟区', 211000, 3),
|
|
|
|
+(211005, '弓长岭区', 211000, 3),
|
|
|
|
+(211011, '太子河区', 211000, 3),
|
|
|
|
+(211021, '辽阳县', 211000, 3),
|
|
|
|
+(211081, '灯塔市', 211000, 3),
|
|
|
|
+(211100, '盘锦市', 210000, 2),
|
|
|
|
+(211102, '双台子区', 211100, 3),
|
|
|
|
+(211103, '兴隆台区', 211100, 3),
|
|
|
|
+(211104, '大洼区', 211100, 3),
|
|
|
|
+(211122, '盘山县', 211100, 3),
|
|
|
|
+(211200, '铁岭市', 210000, 2),
|
|
|
|
+(211202, '银州区', 211200, 3),
|
|
|
|
+(211204, '清河区', 211200, 3),
|
|
|
|
+(211221, '铁岭县', 211200, 3),
|
|
|
|
+(211223, '西丰县', 211200, 3),
|
|
|
|
+(211224, '昌图县', 211200, 3),
|
|
|
|
+(211281, '调兵山市', 211200, 3),
|
|
|
|
+(211282, '开原市', 211200, 3),
|
|
|
|
+(211300, '朝阳市', 210000, 2),
|
|
|
|
+(211302, '双塔区', 211300, 3),
|
|
|
|
+(211303, '龙城区', 211300, 3),
|
|
|
|
+(211321, '朝阳县', 211300, 3),
|
|
|
|
+(211322, '建平县', 211300, 3),
|
|
|
|
+(211324, '喀喇沁左翼蒙古族自治县', 211300, 3),
|
|
|
|
+(211381, '北票市', 211300, 3),
|
|
|
|
+(211382, '凌源市', 211300, 3),
|
|
|
|
+(211400, '葫芦岛市', 210000, 2),
|
|
|
|
+(211402, '连山区', 211400, 3),
|
|
|
|
+(211403, '龙港区', 211400, 3),
|
|
|
|
+(211404, '南票区', 211400, 3),
|
|
|
|
+(211421, '绥中县', 211400, 3),
|
|
|
|
+(211422, '建昌县', 211400, 3),
|
|
|
|
+(211481, '兴城市', 211400, 3),
|
|
|
|
+(220000, '吉林省', 0, 1),
|
|
|
|
+(220100, '长春市', 220000, 2),
|
|
|
|
+(220102, '南关区', 220100, 3),
|
|
|
|
+(220103, '宽城区', 220100, 3),
|
|
|
|
+(220104, '朝阳区', 220100, 3),
|
|
|
|
+(220105, '二道区', 220100, 3),
|
|
|
|
+(220106, '绿园区', 220100, 3),
|
|
|
|
+(220112, '双阳区', 220100, 3),
|
|
|
|
+(220113, '九台区', 220100, 3),
|
|
|
|
+(220122, '农安县', 220100, 3),
|
|
|
|
+(220182, '榆树市', 220100, 3),
|
|
|
|
+(220183, '德惠市', 220100, 3),
|
|
|
|
+(220200, '吉林市', 220000, 2),
|
|
|
|
+(220202, '昌邑区', 220200, 3),
|
|
|
|
+(220203, '龙潭区', 220200, 3),
|
|
|
|
+(220204, '船营区', 220200, 3),
|
|
|
|
+(220211, '丰满区', 220200, 3),
|
|
|
|
+(220221, '永吉县', 220200, 3),
|
|
|
|
+(220281, '蛟河市', 220200, 3),
|
|
|
|
+(220282, '桦甸市', 220200, 3),
|
|
|
|
+(220283, '舒兰市', 220200, 3),
|
|
|
|
+(220284, '磐石市', 220200, 3),
|
|
|
|
+(220300, '四平市', 220000, 2),
|
|
|
|
+(220302, '铁西区', 220300, 3),
|
|
|
|
+(220303, '铁东区', 220300, 3),
|
|
|
|
+(220322, '梨树县', 220300, 3),
|
|
|
|
+(220323, '伊通满族自治县', 220300, 3),
|
|
|
|
+(220381, '公主岭市', 220300, 3),
|
|
|
|
+(220382, '双辽市', 220300, 3),
|
|
|
|
+(220400, '辽源市', 220000, 2),
|
|
|
|
+(220402, '龙山区', 220400, 3),
|
|
|
|
+(220403, '西安区', 220400, 3),
|
|
|
|
+(220421, '东丰县', 220400, 3),
|
|
|
|
+(220422, '东辽县', 220400, 3),
|
|
|
|
+(220500, '通化市', 220000, 2),
|
|
|
|
+(220502, '东昌区', 220500, 3),
|
|
|
|
+(220503, '二道江区', 220500, 3),
|
|
|
|
+(220521, '通化县', 220500, 3),
|
|
|
|
+(220523, '辉南县', 220500, 3),
|
|
|
|
+(220524, '柳河县', 220500, 3),
|
|
|
|
+(220581, '梅河口市', 220500, 3),
|
|
|
|
+(220582, '集安市', 220500, 3),
|
|
|
|
+(220600, '白山市', 220000, 2),
|
|
|
|
+(220602, '浑江区', 220600, 3),
|
|
|
|
+(220605, '江源区', 220600, 3),
|
|
|
|
+(220621, '抚松县', 220600, 3),
|
|
|
|
+(220622, '靖宇县', 220600, 3),
|
|
|
|
+(220623, '长白朝鲜族自治县', 220600, 3),
|
|
|
|
+(220681, '临江市', 220600, 3),
|
|
|
|
+(220700, '松原市', 220000, 2),
|
|
|
|
+(220702, '宁江区', 220700, 3),
|
|
|
|
+(220721, '前郭尔罗斯蒙古族自治县', 220700, 3),
|
|
|
|
+(220722, '长岭县', 220700, 3),
|
|
|
|
+(220723, '乾安县', 220700, 3),
|
|
|
|
+(220781, '扶余市', 220700, 3),
|
|
|
|
+(220800, '白城市', 220000, 2),
|
|
|
|
+(220802, '洮北区', 220800, 3),
|
|
|
|
+(220821, '镇赉县', 220800, 3),
|
|
|
|
+(220822, '通榆县', 220800, 3),
|
|
|
|
+(220881, '洮南市', 220800, 3),
|
|
|
|
+(220882, '大安市', 220800, 3),
|
|
|
|
+(222400, '延边朝鲜族自治州', 220000, 2),
|
|
|
|
+(222401, '延吉市', 222400, 3),
|
|
|
|
+(222402, '图们市', 222400, 3),
|
|
|
|
+(222403, '敦化市', 222400, 3),
|
|
|
|
+(222404, '珲春市', 222400, 3),
|
|
|
|
+(222405, '龙井市', 222400, 3),
|
|
|
|
+(222406, '和龙市', 222400, 3),
|
|
|
|
+(222424, '汪清县', 222400, 3),
|
|
|
|
+(222426, '安图县', 222400, 3),
|
|
|
|
+(230000, '黑龙江省', 0, 1),
|
|
|
|
+(230100, '哈尔滨市', 230000, 2),
|
|
|
|
+(230102, '道里区', 230100, 3),
|
|
|
|
+(230103, '南岗区', 230100, 3),
|
|
|
|
+(230104, '道外区', 230100, 3),
|
|
|
|
+(230108, '平房区', 230100, 3),
|
|
|
|
+(230109, '松北区', 230100, 3),
|
|
|
|
+(230110, '香坊区', 230100, 3),
|
|
|
|
+(230111, '呼兰区', 230100, 3),
|
|
|
|
+(230112, '阿城区', 230100, 3),
|
|
|
|
+(230113, '双城区', 230100, 3),
|
|
|
|
+(230123, '依兰县', 230100, 3),
|
|
|
|
+(230124, '方正县', 230100, 3),
|
|
|
|
+(230125, '宾县', 230100, 3),
|
|
|
|
+(230126, '巴彦县', 230100, 3),
|
|
|
|
+(230127, '木兰县', 230100, 3),
|
|
|
|
+(230128, '通河县', 230100, 3),
|
|
|
|
+(230129, '延寿县', 230100, 3),
|
|
|
|
+(230183, '尚志市', 230100, 3),
|
|
|
|
+(230184, '五常市', 230100, 3),
|
|
|
|
+(230200, '齐齐哈尔市', 230000, 2),
|
|
|
|
+(230202, '龙沙区', 230200, 3),
|
|
|
|
+(230203, '建华区', 230200, 3),
|
|
|
|
+(230204, '铁锋区', 230200, 3),
|
|
|
|
+(230205, '昂昂溪区', 230200, 3),
|
|
|
|
+(230206, '富拉尔基区', 230200, 3),
|
|
|
|
+(230207, '碾子山区', 230200, 3),
|
|
|
|
+(230208, '梅里斯达斡尔族区', 230200, 3),
|
|
|
|
+(230221, '龙江县', 230200, 3),
|
|
|
|
+(230223, '依安县', 230200, 3),
|
|
|
|
+(230224, '泰来县', 230200, 3),
|
|
|
|
+(230225, '甘南县', 230200, 3),
|
|
|
|
+(230227, '富裕县', 230200, 3),
|
|
|
|
+(230229, '克山县', 230200, 3),
|
|
|
|
+(230230, '克东县', 230200, 3),
|
|
|
|
+(230231, '拜泉县', 230200, 3),
|
|
|
|
+(230281, '讷河市', 230200, 3),
|
|
|
|
+(230300, '鸡西市', 230000, 2),
|
|
|
|
+(230302, '鸡冠区', 230300, 3),
|
|
|
|
+(230303, '恒山区', 230300, 3),
|
|
|
|
+(230304, '滴道区', 230300, 3),
|
|
|
|
+(230305, '梨树区', 230300, 3),
|
|
|
|
+(230306, '城子河区', 230300, 3),
|
|
|
|
+(230307, '麻山区', 230300, 3),
|
|
|
|
+(230321, '鸡东县', 230300, 3),
|
|
|
|
+(230381, '虎林市', 230300, 3),
|
|
|
|
+(230382, '密山市', 230300, 3),
|
|
|
|
+(230400, '鹤岗市', 230000, 2),
|
|
|
|
+(230402, '向阳区', 230400, 3),
|
|
|
|
+(230403, '工农区', 230400, 3),
|
|
|
|
+(230404, '南山区', 230400, 3),
|
|
|
|
+(230405, '兴安区', 230400, 3),
|
|
|
|
+(230406, '东山区', 230400, 3),
|
|
|
|
+(230407, '兴山区', 230400, 3),
|
|
|
|
+(230421, '萝北县', 230400, 3),
|
|
|
|
+(230422, '绥滨县', 230400, 3),
|
|
|
|
+(230500, '双鸭山市', 230000, 2),
|
|
|
|
+(230502, '尖山区', 230500, 3),
|
|
|
|
+(230503, '岭东区', 230500, 3),
|
|
|
|
+(230505, '四方台区', 230500, 3),
|
|
|
|
+(230506, '宝山区', 230500, 3),
|
|
|
|
+(230521, '集贤县', 230500, 3),
|
|
|
|
+(230522, '友谊县', 230500, 3),
|
|
|
|
+(230523, '宝清县', 230500, 3),
|
|
|
|
+(230524, '饶河县', 230500, 3),
|
|
|
|
+(230600, '大庆市', 230000, 2),
|
|
|
|
+(230602, '萨尔图区', 230600, 3),
|
|
|
|
+(230603, '龙凤区', 230600, 3),
|
|
|
|
+(230604, '让胡路区', 230600, 3),
|
|
|
|
+(230605, '红岗区', 230600, 3),
|
|
|
|
+(230606, '大同区', 230600, 3),
|
|
|
|
+(230621, '肇州县', 230600, 3),
|
|
|
|
+(230622, '肇源县', 230600, 3),
|
|
|
|
+(230623, '林甸县', 230600, 3),
|
|
|
|
+(230624, '杜尔伯特蒙古族自治县', 230600, 3),
|
|
|
|
+(230700, '伊春市', 230000, 2),
|
|
|
|
+(230702, '伊春区', 230700, 3),
|
|
|
|
+(230703, '南岔区', 230700, 3),
|
|
|
|
+(230704, '友好区', 230700, 3),
|
|
|
|
+(230705, '西林区', 230700, 3),
|
|
|
|
+(230706, '翠峦区', 230700, 3),
|
|
|
|
+(230707, '新青区', 230700, 3),
|
|
|
|
+(230708, '美溪区', 230700, 3),
|
|
|
|
+(230709, '金山屯区', 230700, 3),
|
|
|
|
+(230710, '五营区', 230700, 3),
|
|
|
|
+(230711, '乌马河区', 230700, 3),
|
|
|
|
+(230712, '汤旺河区', 230700, 3),
|
|
|
|
+(230713, '带岭区', 230700, 3),
|
|
|
|
+(230714, '乌伊岭区', 230700, 3),
|
|
|
|
+(230715, '红星区', 230700, 3),
|
|
|
|
+(230716, '上甘岭区', 230700, 3),
|
|
|
|
+(230722, '嘉荫县', 230700, 3),
|
|
|
|
+(230781, '铁力市', 230700, 3),
|
|
|
|
+(230800, '佳木斯市', 230000, 2),
|
|
|
|
+(230803, '向阳区', 230800, 3),
|
|
|
|
+(230804, '前进区', 230800, 3),
|
|
|
|
+(230805, '东风区', 230800, 3),
|
|
|
|
+(230811, '郊区', 230800, 3),
|
|
|
|
+(230822, '桦南县', 230800, 3),
|
|
|
|
+(230826, '桦川县', 230800, 3),
|
|
|
|
+(230828, '汤原县', 230800, 3),
|
|
|
|
+(230881, '同江市', 230800, 3),
|
|
|
|
+(230882, '富锦市', 230800, 3),
|
|
|
|
+(230883, '抚远市', 230800, 3),
|
|
|
|
+(230900, '七台河市', 230000, 2),
|
|
|
|
+(230902, '新兴区', 230900, 3),
|
|
|
|
+(230903, '桃山区', 230900, 3),
|
|
|
|
+(230904, '茄子河区', 230900, 3),
|
|
|
|
+(230921, '勃利县', 230900, 3),
|
|
|
|
+(231000, '牡丹江市', 230000, 2),
|
|
|
|
+(231002, '东安区', 231000, 3),
|
|
|
|
+(231003, '阳明区', 231000, 3),
|
|
|
|
+(231004, '爱民区', 231000, 3),
|
|
|
|
+(231005, '西安区', 231000, 3),
|
|
|
|
+(231025, '林口县', 231000, 3),
|
|
|
|
+(231081, '绥芬河市', 231000, 3),
|
|
|
|
+(231083, '海林市', 231000, 3),
|
|
|
|
+(231084, '宁安市', 231000, 3),
|
|
|
|
+(231085, '穆棱市', 231000, 3),
|
|
|
|
+(231086, '东宁市', 231000, 3),
|
|
|
|
+(231100, '黑河市', 230000, 2),
|
|
|
|
+(231102, '爱辉区', 231100, 3),
|
|
|
|
+(231121, '嫩江县', 231100, 3),
|
|
|
|
+(231123, '逊克县', 231100, 3),
|
|
|
|
+(231124, '孙吴县', 231100, 3),
|
|
|
|
+(231181, '北安市', 231100, 3),
|
|
|
|
+(231182, '五大连池市', 231100, 3),
|
|
|
|
+(231200, '绥化市', 230000, 2),
|
|
|
|
+(231202, '北林区', 231200, 3),
|
|
|
|
+(231221, '望奎县', 231200, 3),
|
|
|
|
+(231222, '兰西县', 231200, 3),
|
|
|
|
+(231223, '青冈县', 231200, 3),
|
|
|
|
+(231224, '庆安县', 231200, 3),
|
|
|
|
+(231225, '明水县', 231200, 3),
|
|
|
|
+(231226, '绥棱县', 231200, 3),
|
|
|
|
+(231281, '安达市', 231200, 3),
|
|
|
|
+(231282, '肇东市', 231200, 3),
|
|
|
|
+(231283, '海伦市', 231200, 3),
|
|
|
|
+(232700, '大兴安岭地区', 230000, 2),
|
|
|
|
+(232701, '加格达奇区', 232700, 3),
|
|
|
|
+(232702, '松岭区', 232700, 3),
|
|
|
|
+(232703, '新林区', 232700, 3),
|
|
|
|
+(232704, '呼中区', 232700, 3),
|
|
|
|
+(232721, '呼玛县', 232700, 3),
|
|
|
|
+(232722, '塔河县', 232700, 3),
|
|
|
|
+(232723, '漠河县', 232700, 3),
|
|
|
|
+(310000, '上海市', 0, 1),
|
|
|
|
+(310100, '上海市', 310000, 2),
|
|
|
|
+(310101, '黄浦区', 310100, 3),
|
|
|
|
+(310104, '徐汇区', 310100, 3),
|
|
|
|
+(310105, '长宁区', 310100, 3),
|
|
|
|
+(310106, '静安区', 310100, 3),
|
|
|
|
+(310107, '普陀区', 310100, 3),
|
|
|
|
+(310109, '虹口区', 310100, 3),
|
|
|
|
+(310110, '杨浦区', 310100, 3),
|
|
|
|
+(310112, '闵行区', 310100, 3),
|
|
|
|
+(310113, '宝山区', 310100, 3),
|
|
|
|
+(310114, '嘉定区', 310100, 3),
|
|
|
|
+(310115, '浦东新区', 310100, 3),
|
|
|
|
+(310116, '金山区', 310100, 3),
|
|
|
|
+(310117, '松江区', 310100, 3),
|
|
|
|
+(310118, '青浦区', 310100, 3),
|
|
|
|
+(310120, '奉贤区', 310100, 3),
|
|
|
|
+(310151, '崇明区', 310100, 3),
|
|
|
|
+(320000, '江苏省', 0, 1),
|
|
|
|
+(320100, '南京市', 320000, 2),
|
|
|
|
+(320102, '玄武区', 320100, 3),
|
|
|
|
+(320104, '秦淮区', 320100, 3),
|
|
|
|
+(320105, '建邺区', 320100, 3),
|
|
|
|
+(320106, '鼓楼区', 320100, 3),
|
|
|
|
+(320111, '浦口区', 320100, 3),
|
|
|
|
+(320113, '栖霞区', 320100, 3),
|
|
|
|
+(320114, '雨花台区', 320100, 3),
|
|
|
|
+(320115, '江宁区', 320100, 3),
|
|
|
|
+(320116, '六合区', 320100, 3),
|
|
|
|
+(320117, '溧水区', 320100, 3),
|
|
|
|
+(320118, '高淳区', 320100, 3),
|
|
|
|
+(320200, '无锡市', 320000, 2),
|
|
|
|
+(320205, '锡山区', 320200, 3),
|
|
|
|
+(320206, '惠山区', 320200, 3),
|
|
|
|
+(320211, '滨湖区', 320200, 3),
|
|
|
|
+(320213, '梁溪区', 320200, 3),
|
|
|
|
+(320214, '新吴区', 320200, 3),
|
|
|
|
+(320281, '江阴市', 320200, 3),
|
|
|
|
+(320282, '宜兴市', 320200, 3),
|
|
|
|
+(320300, '徐州市', 320000, 2),
|
|
|
|
+(320302, '鼓楼区', 320300, 3),
|
|
|
|
+(320303, '云龙区', 320300, 3),
|
|
|
|
+(320305, '贾汪区', 320300, 3),
|
|
|
|
+(320311, '泉山区', 320300, 3),
|
|
|
|
+(320312, '铜山区', 320300, 3),
|
|
|
|
+(320321, '丰县', 320300, 3),
|
|
|
|
+(320322, '沛县', 320300, 3),
|
|
|
|
+(320324, '睢宁县', 320300, 3),
|
|
|
|
+(320381, '新沂市', 320300, 3),
|
|
|
|
+(320382, '邳州市', 320300, 3),
|
|
|
|
+(320400, '常州市', 320000, 2),
|
|
|
|
+(320402, '天宁区', 320400, 3),
|
|
|
|
+(320404, '钟楼区', 320400, 3),
|
|
|
|
+(320411, '新北区', 320400, 3),
|
|
|
|
+(320412, '武进区', 320400, 3),
|
|
|
|
+(320413, '金坛区', 320400, 3),
|
|
|
|
+(320481, '溧阳市', 320400, 3),
|
|
|
|
+(320500, '苏州市', 320000, 2),
|
|
|
|
+(320505, '虎丘区', 320500, 3),
|
|
|
|
+(320506, '吴中区', 320500, 3),
|
|
|
|
+(320507, '相城区', 320500, 3),
|
|
|
|
+(320508, '姑苏区', 320500, 3),
|
|
|
|
+(320509, '吴江区', 320500, 3),
|
|
|
|
+(320581, '常熟市', 320500, 3),
|
|
|
|
+(320582, '张家港市', 320500, 3),
|
|
|
|
+(320583, '昆山市', 320500, 3),
|
|
|
|
+(320585, '太仓市', 320500, 3),
|
|
|
|
+(320600, '南通市', 320000, 2),
|
|
|
|
+(320602, '崇川区', 320600, 3),
|
|
|
|
+(320611, '港闸区', 320600, 3),
|
|
|
|
+(320612, '通州区', 320600, 3),
|
|
|
|
+(320621, '海安县', 320600, 3),
|
|
|
|
+(320623, '如东县', 320600, 3),
|
|
|
|
+(320681, '启东市', 320600, 3),
|
|
|
|
+(320682, '如皋市', 320600, 3),
|
|
|
|
+(320684, '海门市', 320600, 3),
|
|
|
|
+(320700, '连云港市', 320000, 2),
|
|
|
|
+(320703, '连云区', 320700, 3),
|
|
|
|
+(320706, '海州区', 320700, 3),
|
|
|
|
+(320707, '赣榆区', 320700, 3),
|
|
|
|
+(320722, '东海县', 320700, 3),
|
|
|
|
+(320723, '灌云县', 320700, 3),
|
|
|
|
+(320724, '灌南县', 320700, 3),
|
|
|
|
+(320800, '淮安市', 320000, 2),
|
|
|
|
+(320803, '淮安区', 320800, 3),
|
|
|
|
+(320804, '淮阴区', 320800, 3),
|
|
|
|
+(320812, '清江浦区', 320800, 3),
|
|
|
|
+(320813, '洪泽区', 320800, 3),
|
|
|
|
+(320826, '涟水县', 320800, 3),
|
|
|
|
+(320830, '盱眙县', 320800, 3),
|
|
|
|
+(320831, '金湖县', 320800, 3),
|
|
|
|
+(320900, '盐城市', 320000, 2),
|
|
|
|
+(320902, '亭湖区', 320900, 3),
|
|
|
|
+(320903, '盐都区', 320900, 3),
|
|
|
|
+(320904, '大丰区', 320900, 3),
|
|
|
|
+(320921, '响水县', 320900, 3),
|
|
|
|
+(320922, '滨海县', 320900, 3),
|
|
|
|
+(320923, '阜宁县', 320900, 3),
|
|
|
|
+(320924, '射阳县', 320900, 3),
|
|
|
|
+(320925, '建湖县', 320900, 3),
|
|
|
|
+(320981, '东台市', 320900, 3),
|
|
|
|
+(321000, '扬州市', 320000, 2),
|
|
|
|
+(321002, '广陵区', 321000, 3),
|
|
|
|
+(321003, '邗江区', 321000, 3),
|
|
|
|
+(321012, '江都区', 321000, 3),
|
|
|
|
+(321023, '宝应县', 321000, 3),
|
|
|
|
+(321081, '仪征市', 321000, 3),
|
|
|
|
+(321084, '高邮市', 321000, 3),
|
|
|
|
+(321100, '镇江市', 320000, 2),
|
|
|
|
+(321102, '京口区', 321100, 3),
|
|
|
|
+(321111, '润州区', 321100, 3),
|
|
|
|
+(321112, '丹徒区', 321100, 3),
|
|
|
|
+(321181, '丹阳市', 321100, 3),
|
|
|
|
+(321182, '扬中市', 321100, 3),
|
|
|
|
+(321183, '句容市', 321100, 3),
|
|
|
|
+(321200, '泰州市', 320000, 2),
|
|
|
|
+(321202, '海陵区', 321200, 3),
|
|
|
|
+(321203, '高港区', 321200, 3),
|
|
|
|
+(321204, '姜堰区', 321200, 3),
|
|
|
|
+(321281, '兴化市', 321200, 3),
|
|
|
|
+(321282, '靖江市', 321200, 3),
|
|
|
|
+(321283, '泰兴市', 321200, 3),
|
|
|
|
+(321300, '宿迁市', 320000, 2),
|
|
|
|
+(321302, '宿城区', 321300, 3),
|
|
|
|
+(321311, '宿豫区', 321300, 3),
|
|
|
|
+(321322, '沭阳县', 321300, 3),
|
|
|
|
+(321323, '泗阳县', 321300, 3),
|
|
|
|
+(321324, '泗洪县', 321300, 3),
|
|
|
|
+(330000, '浙江省', 0, 1),
|
|
|
|
+(330100, '杭州市', 330000, 2),
|
|
|
|
+(330102, '上城区', 330100, 3),
|
|
|
|
+(330103, '下城区', 330100, 3),
|
|
|
|
+(330104, '江干区', 330100, 3),
|
|
|
|
+(330105, '拱墅区', 330100, 3),
|
|
|
|
+(330106, '西湖区', 330100, 3),
|
|
|
|
+(330108, '滨江区', 330100, 3),
|
|
|
|
+(330109, '萧山区', 330100, 3),
|
|
|
|
+(330110, '余杭区', 330100, 3),
|
|
|
|
+(330111, '富阳区', 330100, 3),
|
|
|
|
+(330112, '临安区', 330100, 3),
|
|
|
|
+(330122, '桐庐县', 330100, 3),
|
|
|
|
+(330127, '淳安县', 330100, 3),
|
|
|
|
+(330182, '建德市', 330100, 3),
|
|
|
|
+(330200, '宁波市', 330000, 2),
|
|
|
|
+(330203, '海曙区', 330200, 3),
|
|
|
|
+(330205, '江北区', 330200, 3),
|
|
|
|
+(330206, '北仑区', 330200, 3),
|
|
|
|
+(330211, '镇海区', 330200, 3),
|
|
|
|
+(330212, '鄞州区', 330200, 3),
|
|
|
|
+(330213, '奉化区', 330200, 3),
|
|
|
|
+(330225, '象山县', 330200, 3),
|
|
|
|
+(330226, '宁海县', 330200, 3),
|
|
|
|
+(330281, '余姚市', 330200, 3),
|
|
|
|
+(330282, '慈溪市', 330200, 3),
|
|
|
|
+(330300, '温州市', 330000, 2),
|
|
|
|
+(330302, '鹿城区', 330300, 3),
|
|
|
|
+(330303, '龙湾区', 330300, 3),
|
|
|
|
+(330304, '瓯海区', 330300, 3),
|
|
|
|
+(330305, '洞头区', 330300, 3),
|
|
|
|
+(330324, '永嘉县', 330300, 3),
|
|
|
|
+(330326, '平阳县', 330300, 3),
|
|
|
|
+(330327, '苍南县', 330300, 3),
|
|
|
|
+(330328, '文成县', 330300, 3),
|
|
|
|
+(330329, '泰顺县', 330300, 3),
|
|
|
|
+(330381, '瑞安市', 330300, 3),
|
|
|
|
+(330382, '乐清市', 330300, 3),
|
|
|
|
+(330400, '嘉兴市', 330000, 2),
|
|
|
|
+(330402, '南湖区', 330400, 3),
|
|
|
|
+(330411, '秀洲区', 330400, 3),
|
|
|
|
+(330421, '嘉善县', 330400, 3),
|
|
|
|
+(330424, '海盐县', 330400, 3),
|
|
|
|
+(330481, '海宁市', 330400, 3),
|
|
|
|
+(330482, '平湖市', 330400, 3),
|
|
|
|
+(330483, '桐乡市', 330400, 3),
|
|
|
|
+(330500, '湖州市', 330000, 2),
|
|
|
|
+(330502, '吴兴区', 330500, 3),
|
|
|
|
+(330503, '南浔区', 330500, 3),
|
|
|
|
+(330521, '德清县', 330500, 3),
|
|
|
|
+(330522, '长兴县', 330500, 3),
|
|
|
|
+(330523, '安吉县', 330500, 3),
|
|
|
|
+(330600, '绍兴市', 330000, 2),
|
|
|
|
+(330602, '越城区', 330600, 3),
|
|
|
|
+(330603, '柯桥区', 330600, 3),
|
|
|
|
+(330604, '上虞区', 330600, 3),
|
|
|
|
+(330624, '新昌县', 330600, 3),
|
|
|
|
+(330681, '诸暨市', 330600, 3),
|
|
|
|
+(330683, '嵊州市', 330600, 3),
|
|
|
|
+(330700, '金华市', 330000, 2),
|
|
|
|
+(330702, '婺城区', 330700, 3),
|
|
|
|
+(330703, '金东区', 330700, 3),
|
|
|
|
+(330723, '武义县', 330700, 3),
|
|
|
|
+(330726, '浦江县', 330700, 3),
|
|
|
|
+(330727, '磐安县', 330700, 3),
|
|
|
|
+(330781, '兰溪市', 330700, 3),
|
|
|
|
+(330782, '义乌市', 330700, 3),
|
|
|
|
+(330783, '东阳市', 330700, 3),
|
|
|
|
+(330784, '永康市', 330700, 3),
|
|
|
|
+(330800, '衢州市', 330000, 2),
|
|
|
|
+(330802, '柯城区', 330800, 3),
|
|
|
|
+(330803, '衢江区', 330800, 3),
|
|
|
|
+(330822, '常山县', 330800, 3),
|
|
|
|
+(330824, '开化县', 330800, 3),
|
|
|
|
+(330825, '龙游县', 330800, 3),
|
|
|
|
+(330881, '江山市', 330800, 3),
|
|
|
|
+(330900, '舟山市', 330000, 2),
|
|
|
|
+(330902, '定海区', 330900, 3),
|
|
|
|
+(330903, '普陀区', 330900, 3),
|
|
|
|
+(330921, '岱山县', 330900, 3),
|
|
|
|
+(330922, '嵊泗县', 330900, 3),
|
|
|
|
+(331000, '台州市', 330000, 2),
|
|
|
|
+(331002, '椒江区', 331000, 3),
|
|
|
|
+(331003, '黄岩区', 331000, 3),
|
|
|
|
+(331004, '路桥区', 331000, 3),
|
|
|
|
+(331022, '三门县', 331000, 3),
|
|
|
|
+(331023, '天台县', 331000, 3),
|
|
|
|
+(331024, '仙居县', 331000, 3),
|
|
|
|
+(331081, '温岭市', 331000, 3),
|
|
|
|
+(331082, '临海市', 331000, 3),
|
|
|
|
+(331083, '玉环市', 331000, 3),
|
|
|
|
+(331100, '丽水市', 330000, 2),
|
|
|
|
+(331102, '莲都区', 331100, 3),
|
|
|
|
+(331121, '青田县', 331100, 3),
|
|
|
|
+(331122, '缙云县', 331100, 3),
|
|
|
|
+(331123, '遂昌县', 331100, 3),
|
|
|
|
+(331124, '松阳县', 331100, 3),
|
|
|
|
+(331125, '云和县', 331100, 3),
|
|
|
|
+(331126, '庆元县', 331100, 3),
|
|
|
|
+(331127, '景宁畲族自治县', 331100, 3),
|
|
|
|
+(331181, '龙泉市', 331100, 3),
|
|
|
|
+(340000, '安徽省', 0, 1),
|
|
|
|
+(340100, '合肥市', 340000, 2),
|
|
|
|
+(340102, '瑶海区', 340100, 3),
|
|
|
|
+(340103, '庐阳区', 340100, 3),
|
|
|
|
+(340104, '蜀山区', 340100, 3),
|
|
|
|
+(340111, '包河区', 340100, 3),
|
|
|
|
+(340121, '长丰县', 340100, 3),
|
|
|
|
+(340122, '肥东县', 340100, 3),
|
|
|
|
+(340123, '肥西县', 340100, 3),
|
|
|
|
+(340124, '庐江县', 340100, 3),
|
|
|
|
+(340181, '巢湖市', 340100, 3),
|
|
|
|
+(340200, '芜湖市', 340000, 2),
|
|
|
|
+(340202, '镜湖区', 340200, 3),
|
|
|
|
+(340203, '弋江区', 340200, 3),
|
|
|
|
+(340207, '鸠江区', 340200, 3),
|
|
|
|
+(340208, '三山区', 340200, 3),
|
|
|
|
+(340221, '芜湖县', 340200, 3),
|
|
|
|
+(340222, '繁昌县', 340200, 3),
|
|
|
|
+(340223, '南陵县', 340200, 3),
|
|
|
|
+(340225, '无为县', 340200, 3),
|
|
|
|
+(340300, '蚌埠市', 340000, 2),
|
|
|
|
+(340302, '龙子湖区', 340300, 3),
|
|
|
|
+(340303, '蚌山区', 340300, 3),
|
|
|
|
+(340304, '禹会区', 340300, 3),
|
|
|
|
+(340311, '淮上区', 340300, 3),
|
|
|
|
+(340321, '怀远县', 340300, 3),
|
|
|
|
+(340322, '五河县', 340300, 3),
|
|
|
|
+(340323, '固镇县', 340300, 3),
|
|
|
|
+(340400, '淮南市', 340000, 2),
|
|
|
|
+(340402, '大通区', 340400, 3),
|
|
|
|
+(340403, '田家庵区', 340400, 3),
|
|
|
|
+(340404, '谢家集区', 340400, 3),
|
|
|
|
+(340405, '八公山区', 340400, 3),
|
|
|
|
+(340406, '潘集区', 340400, 3),
|
|
|
|
+(340421, '凤台县', 340400, 3),
|
|
|
|
+(340422, '寿县', 340400, 3),
|
|
|
|
+(340500, '马鞍山市', 340000, 2),
|
|
|
|
+(340503, '花山区', 340500, 3),
|
|
|
|
+(340504, '雨山区', 340500, 3),
|
|
|
|
+(340506, '博望区', 340500, 3),
|
|
|
|
+(340521, '当涂县', 340500, 3),
|
|
|
|
+(340522, '含山县', 340500, 3),
|
|
|
|
+(340523, '和县', 340500, 3),
|
|
|
|
+(340600, '淮北市', 340000, 2),
|
|
|
|
+(340602, '杜集区', 340600, 3),
|
|
|
|
+(340603, '相山区', 340600, 3),
|
|
|
|
+(340604, '烈山区', 340600, 3),
|
|
|
|
+(340621, '濉溪县', 340600, 3),
|
|
|
|
+(340700, '铜陵市', 340000, 2),
|
|
|
|
+(340705, '铜官区', 340700, 3),
|
|
|
|
+(340706, '义安区', 340700, 3),
|
|
|
|
+(340711, '郊区', 340700, 3),
|
|
|
|
+(340722, '枞阳县', 340700, 3),
|
|
|
|
+(340800, '安庆市', 340000, 2),
|
|
|
|
+(340802, '迎江区', 340800, 3),
|
|
|
|
+(340803, '大观区', 340800, 3),
|
|
|
|
+(340811, '宜秀区', 340800, 3),
|
|
|
|
+(340822, '怀宁县', 340800, 3),
|
|
|
|
+(340824, '潜山县', 340800, 3),
|
|
|
|
+(340825, '太湖县', 340800, 3),
|
|
|
|
+(340826, '宿松县', 340800, 3),
|
|
|
|
+(340827, '望江县', 340800, 3),
|
|
|
|
+(340828, '岳西县', 340800, 3),
|
|
|
|
+(340881, '桐城市', 340800, 3),
|
|
|
|
+(341000, '黄山市', 340000, 2),
|
|
|
|
+(341002, '屯溪区', 341000, 3),
|
|
|
|
+(341003, '黄山区', 341000, 3),
|
|
|
|
+(341004, '徽州区', 341000, 3),
|
|
|
|
+(341021, '歙县', 341000, 3),
|
|
|
|
+(341022, '休宁县', 341000, 3),
|
|
|
|
+(341023, '黟县', 341000, 3),
|
|
|
|
+(341024, '祁门县', 341000, 3),
|
|
|
|
+(341100, '滁州市', 340000, 2),
|
|
|
|
+(341102, '琅琊区', 341100, 3),
|
|
|
|
+(341103, '南谯区', 341100, 3),
|
|
|
|
+(341122, '来安县', 341100, 3),
|
|
|
|
+(341124, '全椒县', 341100, 3),
|
|
|
|
+(341125, '定远县', 341100, 3),
|
|
|
|
+(341126, '凤阳县', 341100, 3),
|
|
|
|
+(341181, '天长市', 341100, 3),
|
|
|
|
+(341182, '明光市', 341100, 3),
|
|
|
|
+(341200, '阜阳市', 340000, 2),
|
|
|
|
+(341202, '颍州区', 341200, 3),
|
|
|
|
+(341203, '颍东区', 341200, 3),
|
|
|
|
+(341204, '颍泉区', 341200, 3),
|
|
|
|
+(341221, '临泉县', 341200, 3),
|
|
|
|
+(341222, '太和县', 341200, 3),
|
|
|
|
+(341225, '阜南县', 341200, 3),
|
|
|
|
+(341226, '颍上县', 341200, 3),
|
|
|
|
+(341282, '界首市', 341200, 3),
|
|
|
|
+(341300, '宿州市', 340000, 2),
|
|
|
|
+(341302, '埇桥区', 341300, 3),
|
|
|
|
+(341321, '砀山县', 341300, 3),
|
|
|
|
+(341322, '萧县', 341300, 3),
|
|
|
|
+(341323, '灵璧县', 341300, 3),
|
|
|
|
+(341324, '泗县', 341300, 3),
|
|
|
|
+(341500, '六安市', 340000, 2),
|
|
|
|
+(341502, '金安区', 341500, 3),
|
|
|
|
+(341503, '裕安区', 341500, 3),
|
|
|
|
+(341504, '叶集区', 341500, 3),
|
|
|
|
+(341522, '霍邱县', 341500, 3),
|
|
|
|
+(341523, '舒城县', 341500, 3),
|
|
|
|
+(341524, '金寨县', 341500, 3),
|
|
|
|
+(341525, '霍山县', 341500, 3),
|
|
|
|
+(341600, '亳州市', 340000, 2),
|
|
|
|
+(341602, '谯城区', 341600, 3),
|
|
|
|
+(341621, '涡阳县', 341600, 3),
|
|
|
|
+(341622, '蒙城县', 341600, 3),
|
|
|
|
+(341623, '利辛县', 341600, 3),
|
|
|
|
+(341700, '池州市', 340000, 2),
|
|
|
|
+(341702, '贵池区', 341700, 3),
|
|
|
|
+(341721, '东至县', 341700, 3),
|
|
|
|
+(341722, '石台县', 341700, 3),
|
|
|
|
+(341723, '青阳县', 341700, 3),
|
|
|
|
+(341800, '宣城市', 340000, 2),
|
|
|
|
+(341802, '宣州区', 341800, 3),
|
|
|
|
+(341821, '郎溪县', 341800, 3),
|
|
|
|
+(341822, '广德县', 341800, 3),
|
|
|
|
+(341823, '泾县', 341800, 3),
|
|
|
|
+(341824, '绩溪县', 341800, 3),
|
|
|
|
+(341825, '旌德县', 341800, 3),
|
|
|
|
+(341881, '宁国市', 341800, 3),
|
|
|
|
+(350000, '福建省', 0, 1),
|
|
|
|
+(350100, '福州市', 350000, 2),
|
|
|
|
+(350102, '鼓楼区', 350100, 3),
|
|
|
|
+(350103, '台江区', 350100, 3),
|
|
|
|
+(350104, '仓山区', 350100, 3),
|
|
|
|
+(350105, '马尾区', 350100, 3),
|
|
|
|
+(350111, '晋安区', 350100, 3),
|
|
|
|
+(350112, '长乐区', 350100, 3),
|
|
|
|
+(350121, '闽侯县', 350100, 3),
|
|
|
|
+(350122, '连江县', 350100, 3),
|
|
|
|
+(350123, '罗源县', 350100, 3),
|
|
|
|
+(350124, '闽清县', 350100, 3),
|
|
|
|
+(350125, '永泰县', 350100, 3),
|
|
|
|
+(350128, '平潭县', 350100, 3),
|
|
|
|
+(350181, '福清市', 350100, 3),
|
|
|
|
+(350200, '厦门市', 350000, 2),
|
|
|
|
+(350203, '思明区', 350200, 3),
|
|
|
|
+(350205, '海沧区', 350200, 3),
|
|
|
|
+(350206, '湖里区', 350200, 3),
|
|
|
|
+(350211, '集美区', 350200, 3),
|
|
|
|
+(350212, '同安区', 350200, 3),
|
|
|
|
+(350213, '翔安区', 350200, 3),
|
|
|
|
+(350300, '莆田市', 350000, 2),
|
|
|
|
+(350302, '城厢区', 350300, 3),
|
|
|
|
+(350303, '涵江区', 350300, 3),
|
|
|
|
+(350304, '荔城区', 350300, 3),
|
|
|
|
+(350305, '秀屿区', 350300, 3),
|
|
|
|
+(350322, '仙游县', 350300, 3),
|
|
|
|
+(350400, '三明市', 350000, 2),
|
|
|
|
+(350402, '梅列区', 350400, 3),
|
|
|
|
+(350403, '三元区', 350400, 3),
|
|
|
|
+(350421, '明溪县', 350400, 3),
|
|
|
|
+(350423, '清流县', 350400, 3),
|
|
|
|
+(350424, '宁化县', 350400, 3),
|
|
|
|
+(350425, '大田县', 350400, 3),
|
|
|
|
+(350426, '尤溪县', 350400, 3),
|
|
|
|
+(350427, '沙县', 350400, 3),
|
|
|
|
+(350428, '将乐县', 350400, 3),
|
|
|
|
+(350429, '泰宁县', 350400, 3),
|
|
|
|
+(350430, '建宁县', 350400, 3),
|
|
|
|
+(350481, '永安市', 350400, 3),
|
|
|
|
+(350500, '泉州市', 350000, 2),
|
|
|
|
+(350502, '鲤城区', 350500, 3),
|
|
|
|
+(350503, '丰泽区', 350500, 3),
|
|
|
|
+(350504, '洛江区', 350500, 3),
|
|
|
|
+(350505, '泉港区', 350500, 3),
|
|
|
|
+(350521, '惠安县', 350500, 3),
|
|
|
|
+(350524, '安溪县', 350500, 3),
|
|
|
|
+(350525, '永春县', 350500, 3),
|
|
|
|
+(350526, '德化县', 350500, 3),
|
|
|
|
+(350527, '金门县', 350500, 3),
|
|
|
|
+(350581, '石狮市', 350500, 3),
|
|
|
|
+(350582, '晋江市', 350500, 3),
|
|
|
|
+(350583, '南安市', 350500, 3),
|
|
|
|
+(350600, '漳州市', 350000, 2),
|
|
|
|
+(350602, '芗城区', 350600, 3),
|
|
|
|
+(350603, '龙文区', 350600, 3),
|
|
|
|
+(350622, '云霄县', 350600, 3),
|
|
|
|
+(350623, '漳浦县', 350600, 3),
|
|
|
|
+(350624, '诏安县', 350600, 3),
|
|
|
|
+(350625, '长泰县', 350600, 3),
|
|
|
|
+(350626, '东山县', 350600, 3),
|
|
|
|
+(350627, '南靖县', 350600, 3),
|
|
|
|
+(350628, '平和县', 350600, 3),
|
|
|
|
+(350629, '华安县', 350600, 3),
|
|
|
|
+(350681, '龙海市', 350600, 3),
|
|
|
|
+(350700, '南平市', 350000, 2),
|
|
|
|
+(350702, '延平区', 350700, 3),
|
|
|
|
+(350703, '建阳区', 350700, 3),
|
|
|
|
+(350721, '顺昌县', 350700, 3),
|
|
|
|
+(350722, '浦城县', 350700, 3),
|
|
|
|
+(350723, '光泽县', 350700, 3),
|
|
|
|
+(350724, '松溪县', 350700, 3),
|
|
|
|
+(350725, '政和县', 350700, 3),
|
|
|
|
+(350781, '邵武市', 350700, 3),
|
|
|
|
+(350782, '武夷山市', 350700, 3),
|
|
|
|
+(350783, '建瓯市', 350700, 3),
|
|
|
|
+(350800, '龙岩市', 350000, 2),
|
|
|
|
+(350802, '新罗区', 350800, 3),
|
|
|
|
+(350803, '永定区', 350800, 3),
|
|
|
|
+(350821, '长汀县', 350800, 3),
|
|
|
|
+(350823, '上杭县', 350800, 3),
|
|
|
|
+(350824, '武平县', 350800, 3),
|
|
|
|
+(350825, '连城县', 350800, 3),
|
|
|
|
+(350881, '漳平市', 350800, 3),
|
|
|
|
+(350900, '宁德市', 350000, 2),
|
|
|
|
+(350902, '蕉城区', 350900, 3),
|
|
|
|
+(350921, '霞浦县', 350900, 3),
|
|
|
|
+(350922, '古田县', 350900, 3),
|
|
|
|
+(350923, '屏南县', 350900, 3),
|
|
|
|
+(350924, '寿宁县', 350900, 3),
|
|
|
|
+(350925, '周宁县', 350900, 3),
|
|
|
|
+(350926, '柘荣县', 350900, 3),
|
|
|
|
+(350981, '福安市', 350900, 3),
|
|
|
|
+(350982, '福鼎市', 350900, 3),
|
|
|
|
+(360000, '江西省', 0, 1),
|
|
|
|
+(360100, '南昌市', 360000, 2),
|
|
|
|
+(360102, '东湖区', 360100, 3),
|
|
|
|
+(360103, '西湖区', 360100, 3),
|
|
|
|
+(360104, '青云谱区', 360100, 3),
|
|
|
|
+(360105, '湾里区', 360100, 3),
|
|
|
|
+(360111, '青山湖区', 360100, 3),
|
|
|
|
+(360112, '新建区', 360100, 3),
|
|
|
|
+(360121, '南昌县', 360100, 3),
|
|
|
|
+(360123, '安义县', 360100, 3),
|
|
|
|
+(360124, '进贤县', 360100, 3),
|
|
|
|
+(360200, '景德镇市', 360000, 2),
|
|
|
|
+(360202, '昌江区', 360200, 3),
|
|
|
|
+(360203, '珠山区', 360200, 3),
|
|
|
|
+(360222, '浮梁县', 360200, 3),
|
|
|
|
+(360281, '乐平市', 360200, 3),
|
|
|
|
+(360300, '萍乡市', 360000, 2),
|
|
|
|
+(360302, '安源区', 360300, 3),
|
|
|
|
+(360313, '湘东区', 360300, 3),
|
|
|
|
+(360321, '莲花县', 360300, 3),
|
|
|
|
+(360322, '上栗县', 360300, 3),
|
|
|
|
+(360323, '芦溪县', 360300, 3),
|
|
|
|
+(360400, '九江市', 360000, 2),
|
|
|
|
+(360402, '濂溪区', 360400, 3),
|
|
|
|
+(360403, '浔阳区', 360400, 3),
|
|
|
|
+(360404, '柴桑区', 360400, 3),
|
|
|
|
+(360423, '武宁县', 360400, 3),
|
|
|
|
+(360424, '修水县', 360400, 3),
|
|
|
|
+(360425, '永修县', 360400, 3),
|
|
|
|
+(360426, '德安县', 360400, 3),
|
|
|
|
+(360428, '都昌县', 360400, 3),
|
|
|
|
+(360429, '湖口县', 360400, 3),
|
|
|
|
+(360430, '彭泽县', 360400, 3),
|
|
|
|
+(360481, '瑞昌市', 360400, 3),
|
|
|
|
+(360482, '共青城市', 360400, 3),
|
|
|
|
+(360483, '庐山市', 360400, 3),
|
|
|
|
+(360500, '新余市', 360000, 2),
|
|
|
|
+(360502, '渝水区', 360500, 3),
|
|
|
|
+(360521, '分宜县', 360500, 3),
|
|
|
|
+(360600, '鹰潭市', 360000, 2),
|
|
|
|
+(360602, '月湖区', 360600, 3),
|
|
|
|
+(360622, '余江区', 360600, 3),
|
|
|
|
+(360681, '贵溪市', 360600, 3),
|
|
|
|
+(360700, '赣州市', 360000, 2),
|
|
|
|
+(360702, '章贡区', 360700, 3),
|
|
|
|
+(360703, '南康区', 360700, 3),
|
|
|
|
+(360704, '赣县区', 360700, 3),
|
|
|
|
+(360722, '信丰县', 360700, 3),
|
|
|
|
+(360723, '大余县', 360700, 3),
|
|
|
|
+(360724, '上犹县', 360700, 3),
|
|
|
|
+(360725, '崇义县', 360700, 3),
|
|
|
|
+(360726, '安远县', 360700, 3),
|
|
|
|
+(360727, '龙南县', 360700, 3),
|
|
|
|
+(360728, '定南县', 360700, 3),
|
|
|
|
+(360729, '全南县', 360700, 3),
|
|
|
|
+(360730, '宁都县', 360700, 3),
|
|
|
|
+(360731, '于都县', 360700, 3),
|
|
|
|
+(360732, '兴国县', 360700, 3),
|
|
|
|
+(360733, '会昌县', 360700, 3),
|
|
|
|
+(360734, '寻乌县', 360700, 3),
|
|
|
|
+(360735, '石城县', 360700, 3),
|
|
|
|
+(360781, '瑞金市', 360700, 3),
|
|
|
|
+(360800, '吉安市', 360000, 2),
|
|
|
|
+(360802, '吉州区', 360800, 3),
|
|
|
|
+(360803, '青原区', 360800, 3),
|
|
|
|
+(360821, '吉安县', 360800, 3),
|
|
|
|
+(360822, '吉水县', 360800, 3),
|
|
|
|
+(360823, '峡江县', 360800, 3),
|
|
|
|
+(360824, '新干县', 360800, 3),
|
|
|
|
+(360825, '永丰县', 360800, 3),
|
|
|
|
+(360826, '泰和县', 360800, 3),
|
|
|
|
+(360827, '遂川县', 360800, 3),
|
|
|
|
+(360828, '万安县', 360800, 3),
|
|
|
|
+(360829, '安福县', 360800, 3),
|
|
|
|
+(360830, '永新县', 360800, 3),
|
|
|
|
+(360881, '井冈山市', 360800, 3),
|
|
|
|
+(360900, '宜春市', 360000, 2),
|
|
|
|
+(360902, '袁州区', 360900, 3),
|
|
|
|
+(360921, '奉新县', 360900, 3),
|
|
|
|
+(360922, '万载县', 360900, 3),
|
|
|
|
+(360923, '上高县', 360900, 3),
|
|
|
|
+(360924, '宜丰县', 360900, 3),
|
|
|
|
+(360925, '靖安县', 360900, 3),
|
|
|
|
+(360926, '铜鼓县', 360900, 3),
|
|
|
|
+(360981, '丰城市', 360900, 3),
|
|
|
|
+(360982, '樟树市', 360900, 3),
|
|
|
|
+(360983, '高安市', 360900, 3),
|
|
|
|
+(361000, '抚州市', 360000, 2),
|
|
|
|
+(361002, '临川区', 361000, 3),
|
|
|
|
+(361003, '东乡区', 361000, 3),
|
|
|
|
+(361021, '南城县', 361000, 3),
|
|
|
|
+(361022, '黎川县', 361000, 3),
|
|
|
|
+(361023, '南丰县', 361000, 3),
|
|
|
|
+(361024, '崇仁县', 361000, 3),
|
|
|
|
+(361025, '乐安县', 361000, 3),
|
|
|
|
+(361026, '宜黄县', 361000, 3),
|
|
|
|
+(361027, '金溪县', 361000, 3),
|
|
|
|
+(361028, '资溪县', 361000, 3),
|
|
|
|
+(361030, '广昌县', 361000, 3),
|
|
|
|
+(361100, '上饶市', 360000, 2),
|
|
|
|
+(361102, '信州区', 361100, 3),
|
|
|
|
+(361103, '广丰区', 361100, 3),
|
|
|
|
+(361121, '上饶县', 361100, 3),
|
|
|
|
+(361123, '玉山县', 361100, 3),
|
|
|
|
+(361124, '铅山县', 361100, 3),
|
|
|
|
+(361125, '横峰县', 361100, 3),
|
|
|
|
+(361126, '弋阳县', 361100, 3),
|
|
|
|
+(361127, '余干县', 361100, 3),
|
|
|
|
+(361128, '鄱阳县', 361100, 3),
|
|
|
|
+(361129, '万年县', 361100, 3),
|
|
|
|
+(361130, '婺源县', 361100, 3),
|
|
|
|
+(361181, '德兴市', 361100, 3),
|
|
|
|
+(370000, '山东省', 0, 1),
|
|
|
|
+(370100, '济南市', 370000, 2),
|
|
|
|
+(370102, '历下区', 370100, 3),
|
|
|
|
+(370103, '市中区', 370100, 3),
|
|
|
|
+(370104, '槐荫区', 370100, 3),
|
|
|
|
+(370105, '天桥区', 370100, 3),
|
|
|
|
+(370112, '历城区', 370100, 3),
|
|
|
|
+(370113, '长清区', 370100, 3),
|
|
|
|
+(370114, '章丘区', 370100, 3),
|
|
|
|
+(370124, '平阴县', 370100, 3),
|
|
|
|
+(370125, '济阳县', 370100, 3),
|
|
|
|
+(370126, '商河县', 370100, 3),
|
|
|
|
+(370200, '青岛市', 370000, 2),
|
|
|
|
+(370202, '市南区', 370200, 3),
|
|
|
|
+(370203, '市北区', 370200, 3),
|
|
|
|
+(370211, '黄岛区', 370200, 3),
|
|
|
|
+(370212, '崂山区', 370200, 3),
|
|
|
|
+(370213, '李沧区', 370200, 3),
|
|
|
|
+(370214, '城阳区', 370200, 3),
|
|
|
|
+(370215, '即墨区', 370200, 3),
|
|
|
|
+(370281, '胶州市', 370200, 3),
|
|
|
|
+(370283, '平度市', 370200, 3),
|
|
|
|
+(370285, '莱西市', 370200, 3),
|
|
|
|
+(370300, '淄博市', 370000, 2),
|
|
|
|
+(370302, '淄川区', 370300, 3),
|
|
|
|
+(370303, '张店区', 370300, 3),
|
|
|
|
+(370304, '博山区', 370300, 3),
|
|
|
|
+(370305, '临淄区', 370300, 3),
|
|
|
|
+(370306, '周村区', 370300, 3),
|
|
|
|
+(370321, '桓台县', 370300, 3),
|
|
|
|
+(370322, '高青县', 370300, 3),
|
|
|
|
+(370323, '沂源县', 370300, 3),
|
|
|
|
+(370400, '枣庄市', 370000, 2),
|
|
|
|
+(370402, '市中区', 370400, 3),
|
|
|
|
+(370403, '薛城区', 370400, 3),
|
|
|
|
+(370404, '峄城区', 370400, 3),
|
|
|
|
+(370405, '台儿庄区', 370400, 3),
|
|
|
|
+(370406, '山亭区', 370400, 3),
|
|
|
|
+(370481, '滕州市', 370400, 3),
|
|
|
|
+(370500, '东营市', 370000, 2),
|
|
|
|
+(370502, '东营区', 370500, 3),
|
|
|
|
+(370503, '河口区', 370500, 3),
|
|
|
|
+(370505, '垦利区', 370500, 3),
|
|
|
|
+(370522, '利津县', 370500, 3),
|
|
|
|
+(370523, '广饶县', 370500, 3),
|
|
|
|
+(370600, '烟台市', 370000, 2),
|
|
|
|
+(370602, '芝罘区', 370600, 3),
|
|
|
|
+(370611, '福山区', 370600, 3),
|
|
|
|
+(370612, '牟平区', 370600, 3),
|
|
|
|
+(370613, '莱山区', 370600, 3),
|
|
|
|
+(370634, '长岛县', 370600, 3),
|
|
|
|
+(370681, '龙口市', 370600, 3),
|
|
|
|
+(370682, '莱阳市', 370600, 3),
|
|
|
|
+(370683, '莱州市', 370600, 3),
|
|
|
|
+(370684, '蓬莱市', 370600, 3),
|
|
|
|
+(370685, '招远市', 370600, 3),
|
|
|
|
+(370686, '栖霞市', 370600, 3),
|
|
|
|
+(370687, '海阳市', 370600, 3),
|
|
|
|
+(370700, '潍坊市', 370000, 2),
|
|
|
|
+(370702, '潍城区', 370700, 3),
|
|
|
|
+(370703, '寒亭区', 370700, 3),
|
|
|
|
+(370704, '坊子区', 370700, 3),
|
|
|
|
+(370705, '奎文区', 370700, 3),
|
|
|
|
+(370724, '临朐县', 370700, 3),
|
|
|
|
+(370725, '昌乐县', 370700, 3),
|
|
|
|
+(370781, '青州市', 370700, 3),
|
|
|
|
+(370782, '诸城市', 370700, 3),
|
|
|
|
+(370783, '寿光市', 370700, 3),
|
|
|
|
+(370784, '安丘市', 370700, 3),
|
|
|
|
+(370785, '高密市', 370700, 3),
|
|
|
|
+(370786, '昌邑市', 370700, 3),
|
|
|
|
+(370800, '济宁市', 370000, 2),
|
|
|
|
+(370811, '任城区', 370800, 3),
|
|
|
|
+(370812, '兖州区', 370800, 3),
|
|
|
|
+(370826, '微山县', 370800, 3),
|
|
|
|
+(370827, '鱼台县', 370800, 3),
|
|
|
|
+(370828, '金乡县', 370800, 3),
|
|
|
|
+(370829, '嘉祥县', 370800, 3),
|
|
|
|
+(370830, '汶上县', 370800, 3),
|
|
|
|
+(370831, '泗水县', 370800, 3),
|
|
|
|
+(370832, '梁山县', 370800, 3),
|
|
|
|
+(370881, '曲阜市', 370800, 3),
|
|
|
|
+(370883, '邹城市', 370800, 3),
|
|
|
|
+(370900, '泰安市', 370000, 2),
|
|
|
|
+(370902, '泰山区', 370900, 3),
|
|
|
|
+(370911, '岱岳区', 370900, 3),
|
|
|
|
+(370921, '宁阳县', 370900, 3),
|
|
|
|
+(370923, '东平县', 370900, 3),
|
|
|
|
+(370982, '新泰市', 370900, 3),
|
|
|
|
+(370983, '肥城市', 370900, 3),
|
|
|
|
+(371000, '威海市', 370000, 2),
|
|
|
|
+(371002, '环翠区', 371000, 3),
|
|
|
|
+(371003, '文登区', 371000, 3),
|
|
|
|
+(371082, '荣成市', 371000, 3),
|
|
|
|
+(371083, '乳山市', 371000, 3),
|
|
|
|
+(371100, '日照市', 370000, 2),
|
|
|
|
+(371102, '东港区', 371100, 3),
|
|
|
|
+(371103, '岚山区', 371100, 3),
|
|
|
|
+(371121, '五莲县', 371100, 3),
|
|
|
|
+(371122, '莒县', 371100, 3),
|
|
|
|
+(371200, '莱芜市', 370000, 2),
|
|
|
|
+(371202, '莱城区', 371200, 3),
|
|
|
|
+(371203, '钢城区', 371200, 3),
|
|
|
|
+(371300, '临沂市', 370000, 2),
|
|
|
|
+(371302, '兰山区', 371300, 3),
|
|
|
|
+(371311, '罗庄区', 371300, 3),
|
|
|
|
+(371312, '河东区', 371300, 3),
|
|
|
|
+(371321, '沂南县', 371300, 3),
|
|
|
|
+(371322, '郯城县', 371300, 3),
|
|
|
|
+(371323, '沂水县', 371300, 3),
|
|
|
|
+(371324, '兰陵县', 371300, 3),
|
|
|
|
+(371325, '费县', 371300, 3),
|
|
|
|
+(371326, '平邑县', 371300, 3),
|
|
|
|
+(371327, '莒南县', 371300, 3),
|
|
|
|
+(371328, '蒙阴县', 371300, 3),
|
|
|
|
+(371329, '临沭县', 371300, 3),
|
|
|
|
+(371400, '德州市', 370000, 2),
|
|
|
|
+(371402, '德城区', 371400, 3),
|
|
|
|
+(371403, '陵城区', 371400, 3),
|
|
|
|
+(371422, '宁津县', 371400, 3),
|
|
|
|
+(371423, '庆云县', 371400, 3),
|
|
|
|
+(371424, '临邑县', 371400, 3),
|
|
|
|
+(371425, '齐河县', 371400, 3),
|
|
|
|
+(371426, '平原县', 371400, 3),
|
|
|
|
+(371427, '夏津县', 371400, 3),
|
|
|
|
+(371428, '武城县', 371400, 3),
|
|
|
|
+(371481, '乐陵市', 371400, 3),
|
|
|
|
+(371482, '禹城市', 371400, 3),
|
|
|
|
+(371500, '聊城市', 370000, 2),
|
|
|
|
+(371502, '东昌府区', 371500, 3),
|
|
|
|
+(371521, '阳谷县', 371500, 3),
|
|
|
|
+(371522, '莘县', 371500, 3),
|
|
|
|
+(371523, '茌平县', 371500, 3),
|
|
|
|
+(371524, '东阿县', 371500, 3),
|
|
|
|
+(371525, '冠县', 371500, 3),
|
|
|
|
+(371526, '高唐县', 371500, 3),
|
|
|
|
+(371581, '临清市', 371500, 3),
|
|
|
|
+(371600, '滨州市', 370000, 2),
|
|
|
|
+(371602, '滨城区', 371600, 3),
|
|
|
|
+(371603, '沾化区', 371600, 3),
|
|
|
|
+(371621, '惠民县', 371600, 3),
|
|
|
|
+(371622, '阳信县', 371600, 3),
|
|
|
|
+(371623, '无棣县', 371600, 3),
|
|
|
|
+(371625, '博兴县', 371600, 3),
|
|
|
|
+(371626, '邹平县', 371600, 3),
|
|
|
|
+(371700, '菏泽市', 370000, 2),
|
|
|
|
+(371702, '牡丹区', 371700, 3),
|
|
|
|
+(371703, '定陶区', 371700, 3),
|
|
|
|
+(371721, '曹县', 371700, 3),
|
|
|
|
+(371722, '单县', 371700, 3),
|
|
|
|
+(371723, '成武县', 371700, 3),
|
|
|
|
+(371724, '巨野县', 371700, 3),
|
|
|
|
+(371725, '郓城县', 371700, 3),
|
|
|
|
+(371726, '鄄城县', 371700, 3),
|
|
|
|
+(371728, '东明县', 371700, 3),
|
|
|
|
+(410000, '河南省', 0, 1),
|
|
|
|
+(410100, '郑州市', 410000, 2),
|
|
|
|
+(410102, '中原区', 410100, 3),
|
|
|
|
+(410103, '二七区', 410100, 3),
|
|
|
|
+(410104, '管城回族区', 410100, 3),
|
|
|
|
+(410105, '金水区', 410100, 3),
|
|
|
|
+(410106, '上街区', 410100, 3),
|
|
|
|
+(410108, '惠济区', 410100, 3),
|
|
|
|
+(410122, '中牟县', 410100, 3),
|
|
|
|
+(410181, '巩义市', 410100, 3),
|
|
|
|
+(410182, '荥阳市', 410100, 3),
|
|
|
|
+(410183, '新密市', 410100, 3),
|
|
|
|
+(410184, '新郑市', 410100, 3),
|
|
|
|
+(410185, '登封市', 410100, 3),
|
|
|
|
+(410200, '开封市', 410000, 2),
|
|
|
|
+(410202, '龙亭区', 410200, 3),
|
|
|
|
+(410203, '顺河回族区', 410200, 3),
|
|
|
|
+(410204, '鼓楼区', 410200, 3),
|
|
|
|
+(410205, '禹王台区', 410200, 3),
|
|
|
|
+(410212, '祥符区', 410200, 3),
|
|
|
|
+(410221, '杞县', 410200, 3),
|
|
|
|
+(410222, '通许县', 410200, 3),
|
|
|
|
+(410223, '尉氏县', 410200, 3),
|
|
|
|
+(410225, '兰考县', 410200, 3),
|
|
|
|
+(410300, '洛阳市', 410000, 2),
|
|
|
|
+(410302, '老城区', 410300, 3),
|
|
|
|
+(410303, '西工区', 410300, 3),
|
|
|
|
+(410304, '瀍河回族区', 410300, 3),
|
|
|
|
+(410305, '涧西区', 410300, 3),
|
|
|
|
+(410306, '吉利区', 410300, 3),
|
|
|
|
+(410311, '洛龙区', 410300, 3),
|
|
|
|
+(410322, '孟津县', 410300, 3),
|
|
|
|
+(410323, '新安县', 410300, 3),
|
|
|
|
+(410324, '栾川县', 410300, 3),
|
|
|
|
+(410325, '嵩县', 410300, 3),
|
|
|
|
+(410326, '汝阳县', 410300, 3),
|
|
|
|
+(410327, '宜阳县', 410300, 3),
|
|
|
|
+(410328, '洛宁县', 410300, 3),
|
|
|
|
+(410329, '伊川县', 410300, 3),
|
|
|
|
+(410381, '偃师市', 410300, 3),
|
|
|
|
+(410400, '平顶山市', 410000, 2),
|
|
|
|
+(410402, '新华区', 410400, 3),
|
|
|
|
+(410403, '卫东区', 410400, 3),
|
|
|
|
+(410404, '石龙区', 410400, 3),
|
|
|
|
+(410411, '湛河区', 410400, 3),
|
|
|
|
+(410421, '宝丰县', 410400, 3),
|
|
|
|
+(410422, '叶县', 410400, 3),
|
|
|
|
+(410423, '鲁山县', 410400, 3),
|
|
|
|
+(410425, '郏县', 410400, 3),
|
|
|
|
+(410481, '舞钢市', 410400, 3),
|
|
|
|
+(410482, '汝州市', 410400, 3),
|
|
|
|
+(410500, '安阳市', 410000, 2),
|
|
|
|
+(410502, '文峰区', 410500, 3),
|
|
|
|
+(410503, '北关区', 410500, 3),
|
|
|
|
+(410505, '殷都区', 410500, 3),
|
|
|
|
+(410506, '龙安区', 410500, 3),
|
|
|
|
+(410522, '安阳县', 410500, 3),
|
|
|
|
+(410523, '汤阴县', 410500, 3),
|
|
|
|
+(410526, '滑县', 410500, 3),
|
|
|
|
+(410527, '内黄县', 410500, 3),
|
|
|
|
+(410581, '林州市', 410500, 3),
|
|
|
|
+(410600, '鹤壁市', 410000, 2),
|
|
|
|
+(410602, '鹤山区', 410600, 3),
|
|
|
|
+(410603, '山城区', 410600, 3),
|
|
|
|
+(410611, '淇滨区', 410600, 3),
|
|
|
|
+(410621, '浚县', 410600, 3),
|
|
|
|
+(410622, '淇县', 410600, 3),
|
|
|
|
+(410700, '新乡市', 410000, 2),
|
|
|
|
+(410702, '红旗区', 410700, 3),
|
|
|
|
+(410703, '卫滨区', 410700, 3),
|
|
|
|
+(410704, '凤泉区', 410700, 3),
|
|
|
|
+(410711, '牧野区', 410700, 3),
|
|
|
|
+(410721, '新乡县', 410700, 3),
|
|
|
|
+(410724, '获嘉县', 410700, 3),
|
|
|
|
+(410725, '原阳县', 410700, 3),
|
|
|
|
+(410726, '延津县', 410700, 3),
|
|
|
|
+(410727, '封丘县', 410700, 3),
|
|
|
|
+(410728, '长垣县', 410700, 3),
|
|
|
|
+(410781, '卫辉市', 410700, 3),
|
|
|
|
+(410782, '辉县市', 410700, 3),
|
|
|
|
+(410800, '焦作市', 410000, 2),
|
|
|
|
+(410802, '解放区', 410800, 3),
|
|
|
|
+(410803, '中站区', 410800, 3),
|
|
|
|
+(410804, '马村区', 410800, 3),
|
|
|
|
+(410811, '山阳区', 410800, 3),
|
|
|
|
+(410821, '修武县', 410800, 3),
|
|
|
|
+(410822, '博爱县', 410800, 3),
|
|
|
|
+(410823, '武陟县', 410800, 3),
|
|
|
|
+(410825, '温县', 410800, 3),
|
|
|
|
+(410882, '沁阳市', 410800, 3),
|
|
|
|
+(410883, '孟州市', 410800, 3),
|
|
|
|
+(410900, '濮阳市', 410000, 2),
|
|
|
|
+(410902, '华龙区', 410900, 3),
|
|
|
|
+(410922, '清丰县', 410900, 3),
|
|
|
|
+(410923, '南乐县', 410900, 3),
|
|
|
|
+(410926, '范县', 410900, 3),
|
|
|
|
+(410927, '台前县', 410900, 3),
|
|
|
|
+(410928, '濮阳县', 410900, 3),
|
|
|
|
+(411000, '许昌市', 410000, 2),
|
|
|
|
+(411002, '魏都区', 411000, 3),
|
|
|
|
+(411003, '建安区', 411000, 3),
|
|
|
|
+(411024, '鄢陵县', 411000, 3),
|
|
|
|
+(411025, '襄城县', 411000, 3),
|
|
|
|
+(411081, '禹州市', 411000, 3),
|
|
|
|
+(411082, '长葛市', 411000, 3),
|
|
|
|
+(411100, '漯河市', 410000, 2),
|
|
|
|
+(411102, '源汇区', 411100, 3),
|
|
|
|
+(411103, '郾城区', 411100, 3),
|
|
|
|
+(411104, '召陵区', 411100, 3),
|
|
|
|
+(411121, '舞阳县', 411100, 3),
|
|
|
|
+(411122, '临颍县', 411100, 3),
|
|
|
|
+(411200, '三门峡市', 410000, 2),
|
|
|
|
+(411202, '湖滨区', 411200, 3),
|
|
|
|
+(411203, '陕州区', 411200, 3),
|
|
|
|
+(411221, '渑池县', 411200, 3),
|
|
|
|
+(411224, '卢氏县', 411200, 3),
|
|
|
|
+(411281, '义马市', 411200, 3),
|
|
|
|
+(411282, '灵宝市', 411200, 3),
|
|
|
|
+(411300, '南阳市', 410000, 2),
|
|
|
|
+(411302, '宛城区', 411300, 3),
|
|
|
|
+(411303, '卧龙区', 411300, 3),
|
|
|
|
+(411321, '南召县', 411300, 3),
|
|
|
|
+(411322, '方城县', 411300, 3),
|
|
|
|
+(411323, '西峡县', 411300, 3),
|
|
|
|
+(411324, '镇平县', 411300, 3),
|
|
|
|
+(411325, '内乡县', 411300, 3),
|
|
|
|
+(411326, '淅川县', 411300, 3),
|
|
|
|
+(411327, '社旗县', 411300, 3),
|
|
|
|
+(411328, '唐河县', 411300, 3),
|
|
|
|
+(411329, '新野县', 411300, 3),
|
|
|
|
+(411330, '桐柏县', 411300, 3),
|
|
|
|
+(411381, '邓州市', 411300, 3),
|
|
|
|
+(411400, '商丘市', 410000, 2),
|
|
|
|
+(411402, '梁园区', 411400, 3),
|
|
|
|
+(411403, '睢阳区', 411400, 3),
|
|
|
|
+(411421, '民权县', 411400, 3),
|
|
|
|
+(411422, '睢县', 411400, 3),
|
|
|
|
+(411423, '宁陵县', 411400, 3),
|
|
|
|
+(411424, '柘城县', 411400, 3),
|
|
|
|
+(411425, '虞城县', 411400, 3),
|
|
|
|
+(411426, '夏邑县', 411400, 3),
|
|
|
|
+(411481, '永城市', 411400, 3),
|
|
|
|
+(411500, '信阳市', 410000, 2),
|
|
|
|
+(411502, '浉河区', 411500, 3),
|
|
|
|
+(411503, '平桥区', 411500, 3),
|
|
|
|
+(411521, '罗山县', 411500, 3),
|
|
|
|
+(411522, '光山县', 411500, 3),
|
|
|
|
+(411523, '新县', 411500, 3),
|
|
|
|
+(411524, '商城县', 411500, 3),
|
|
|
|
+(411525, '固始县', 411500, 3),
|
|
|
|
+(411526, '潢川县', 411500, 3),
|
|
|
|
+(411527, '淮滨县', 411500, 3),
|
|
|
|
+(411528, '息县', 411500, 3),
|
|
|
|
+(411600, '周口市', 410000, 2),
|
|
|
|
+(411602, '川汇区', 411600, 3),
|
|
|
|
+(411621, '扶沟县', 411600, 3),
|
|
|
|
+(411622, '西华县', 411600, 3),
|
|
|
|
+(411623, '商水县', 411600, 3),
|
|
|
|
+(411624, '沈丘县', 411600, 3),
|
|
|
|
+(411625, '郸城县', 411600, 3),
|
|
|
|
+(411626, '淮阳县', 411600, 3),
|
|
|
|
+(411627, '太康县', 411600, 3),
|
|
|
|
+(411628, '鹿邑县', 411600, 3),
|
|
|
|
+(411681, '项城市', 411600, 3),
|
|
|
|
+(411700, '驻马店市', 410000, 2),
|
|
|
|
+(411702, '驿城区', 411700, 3),
|
|
|
|
+(411721, '西平县', 411700, 3),
|
|
|
|
+(411722, '上蔡县', 411700, 3),
|
|
|
|
+(411723, '平舆县', 411700, 3),
|
|
|
|
+(411724, '正阳县', 411700, 3),
|
|
|
|
+(411725, '确山县', 411700, 3),
|
|
|
|
+(411726, '泌阳县', 411700, 3),
|
|
|
|
+(411727, '汝南县', 411700, 3),
|
|
|
|
+(411728, '遂平县', 411700, 3),
|
|
|
|
+(411729, '新蔡县', 411700, 3),
|
|
|
|
+(419000, '省直辖县级行政区划', 410000, 2),
|
|
|
|
+(419001, '济源市', 419000, 3),
|
|
|
|
+(420000, '湖北省', 0, 1),
|
|
|
|
+(420100, '武汉市', 420000, 2),
|
|
|
|
+(420102, '江岸区', 420100, 3),
|
|
|
|
+(420103, '江汉区', 420100, 3),
|
|
|
|
+(420104, '硚口区', 420100, 3),
|
|
|
|
+(420105, '汉阳区', 420100, 3),
|
|
|
|
+(420106, '武昌区', 420100, 3),
|
|
|
|
+(420107, '青山区', 420100, 3),
|
|
|
|
+(420111, '洪山区', 420100, 3),
|
|
|
|
+(420112, '东西湖区', 420100, 3),
|
|
|
|
+(420113, '汉南区', 420100, 3),
|
|
|
|
+(420114, '蔡甸区', 420100, 3),
|
|
|
|
+(420115, '江夏区', 420100, 3),
|
|
|
|
+(420116, '黄陂区', 420100, 3),
|
|
|
|
+(420117, '新洲区', 420100, 3),
|
|
|
|
+(420200, '黄石市', 420000, 2),
|
|
|
|
+(420202, '黄石港区', 420200, 3),
|
|
|
|
+(420203, '西塞山区', 420200, 3),
|
|
|
|
+(420204, '下陆区', 420200, 3),
|
|
|
|
+(420205, '铁山区', 420200, 3),
|
|
|
|
+(420222, '阳新县', 420200, 3),
|
|
|
|
+(420281, '大冶市', 420200, 3),
|
|
|
|
+(420300, '十堰市', 420000, 2),
|
|
|
|
+(420302, '茅箭区', 420300, 3),
|
|
|
|
+(420303, '张湾区', 420300, 3),
|
|
|
|
+(420304, '郧阳区', 420300, 3),
|
|
|
|
+(420322, '郧西县', 420300, 3),
|
|
|
|
+(420323, '竹山县', 420300, 3),
|
|
|
|
+(420324, '竹溪县', 420300, 3),
|
|
|
|
+(420325, '房县', 420300, 3),
|
|
|
|
+(420381, '丹江口市', 420300, 3),
|
|
|
|
+(420500, '宜昌市', 420000, 2),
|
|
|
|
+(420502, '西陵区', 420500, 3),
|
|
|
|
+(420503, '伍家岗区', 420500, 3),
|
|
|
|
+(420504, '点军区', 420500, 3),
|
|
|
|
+(420505, '猇亭区', 420500, 3),
|
|
|
|
+(420506, '夷陵区', 420500, 3),
|
|
|
|
+(420525, '远安县', 420500, 3),
|
|
|
|
+(420526, '兴山县', 420500, 3),
|
|
|
|
+(420527, '秭归县', 420500, 3),
|
|
|
|
+(420528, '长阳土家族自治县', 420500, 3),
|
|
|
|
+(420529, '五峰土家族自治县', 420500, 3),
|
|
|
|
+(420581, '宜都市', 420500, 3),
|
|
|
|
+(420582, '当阳市', 420500, 3),
|
|
|
|
+(420583, '枝江市', 420500, 3),
|
|
|
|
+(420600, '襄阳市', 420000, 2),
|
|
|
|
+(420602, '襄城区', 420600, 3),
|
|
|
|
+(420606, '樊城区', 420600, 3),
|
|
|
|
+(420607, '襄州区', 420600, 3),
|
|
|
|
+(420624, '南漳县', 420600, 3),
|
|
|
|
+(420625, '谷城县', 420600, 3),
|
|
|
|
+(420626, '保康县', 420600, 3),
|
|
|
|
+(420682, '老河口市', 420600, 3),
|
|
|
|
+(420683, '枣阳市', 420600, 3),
|
|
|
|
+(420684, '宜城市', 420600, 3),
|
|
|
|
+(420700, '鄂州市', 420000, 2),
|
|
|
|
+(420702, '梁子湖区', 420700, 3),
|
|
|
|
+(420703, '华容区', 420700, 3),
|
|
|
|
+(420704, '鄂城区', 420700, 3),
|
|
|
|
+(420800, '荆门市', 420000, 2),
|
|
|
|
+(420802, '东宝区', 420800, 3),
|
|
|
|
+(420804, '掇刀区', 420800, 3),
|
|
|
|
+(420821, '京山县', 420800, 3),
|
|
|
|
+(420822, '沙洋县', 420800, 3),
|
|
|
|
+(420881, '钟祥市', 420800, 3),
|
|
|
|
+(420900, '孝感市', 420000, 2),
|
|
|
|
+(420902, '孝南区', 420900, 3),
|
|
|
|
+(420921, '孝昌县', 420900, 3),
|
|
|
|
+(420922, '大悟县', 420900, 3),
|
|
|
|
+(420923, '云梦县', 420900, 3),
|
|
|
|
+(420981, '应城市', 420900, 3),
|
|
|
|
+(420982, '安陆市', 420900, 3),
|
|
|
|
+(420984, '汉川市', 420900, 3),
|
|
|
|
+(421000, '荆州市', 420000, 2),
|
|
|
|
+(421002, '沙市区', 421000, 3),
|
|
|
|
+(421003, '荆州区', 421000, 3),
|
|
|
|
+(421022, '公安县', 421000, 3),
|
|
|
|
+(421023, '监利县', 421000, 3),
|
|
|
|
+(421024, '江陵县', 421000, 3),
|
|
|
|
+(421081, '石首市', 421000, 3),
|
|
|
|
+(421083, '洪湖市', 421000, 3),
|
|
|
|
+(421087, '松滋市', 421000, 3),
|
|
|
|
+(421100, '黄冈市', 420000, 2),
|
|
|
|
+(421102, '黄州区', 421100, 3),
|
|
|
|
+(421121, '团风县', 421100, 3),
|
|
|
|
+(421122, '红安县', 421100, 3),
|
|
|
|
+(421123, '罗田县', 421100, 3),
|
|
|
|
+(421124, '英山县', 421100, 3),
|
|
|
|
+(421125, '浠水县', 421100, 3),
|
|
|
|
+(421126, '蕲春县', 421100, 3),
|
|
|
|
+(421127, '黄梅县', 421100, 3),
|
|
|
|
+(421181, '麻城市', 421100, 3),
|
|
|
|
+(421182, '武穴市', 421100, 3),
|
|
|
|
+(421200, '咸宁市', 420000, 2),
|
|
|
|
+(421202, '咸安区', 421200, 3),
|
|
|
|
+(421221, '嘉鱼县', 421200, 3),
|
|
|
|
+(421222, '通城县', 421200, 3),
|
|
|
|
+(421223, '崇阳县', 421200, 3),
|
|
|
|
+(421224, '通山县', 421200, 3),
|
|
|
|
+(421281, '赤壁市', 421200, 3),
|
|
|
|
+(421300, '随州市', 420000, 2),
|
|
|
|
+(421303, '曾都区', 421300, 3),
|
|
|
|
+(421321, '随县', 421300, 3),
|
|
|
|
+(421381, '广水市', 421300, 3),
|
|
|
|
+(422800, '恩施土家族苗族自治州', 420000, 2),
|
|
|
|
+(422801, '恩施市', 422800, 3),
|
|
|
|
+(422802, '利川市', 422800, 3),
|
|
|
|
+(422822, '建始县', 422800, 3),
|
|
|
|
+(422823, '巴东县', 422800, 3),
|
|
|
|
+(422825, '宣恩县', 422800, 3),
|
|
|
|
+(422826, '咸丰县', 422800, 3),
|
|
|
|
+(422827, '来凤县', 422800, 3),
|
|
|
|
+(422828, '鹤峰县', 422800, 3),
|
|
|
|
+(429000, '省直辖县级行政区划', 420000, 2),
|
|
|
|
+(429004, '仙桃市', 429000, 3),
|
|
|
|
+(429005, '潜江市', 429000, 3),
|
|
|
|
+(429006, '天门市', 429000, 3),
|
|
|
|
+(429021, '神农架林区', 429000, 3),
|
|
|
|
+(430000, '湖南省', 0, 1),
|
|
|
|
+(430100, '长沙市', 430000, 2),
|
|
|
|
+(430102, '芙蓉区', 430100, 3),
|
|
|
|
+(430103, '天心区', 430100, 3),
|
|
|
|
+(430104, '岳麓区', 430100, 3),
|
|
|
|
+(430105, '开福区', 430100, 3),
|
|
|
|
+(430111, '雨花区', 430100, 3),
|
|
|
|
+(430112, '望城区', 430100, 3),
|
|
|
|
+(430121, '长沙县', 430100, 3),
|
|
|
|
+(430181, '浏阳市', 430100, 3),
|
|
|
|
+(430182, '宁乡市', 430100, 3),
|
|
|
|
+(430200, '株洲市', 430000, 2),
|
|
|
|
+(430202, '荷塘区', 430200, 3),
|
|
|
|
+(430203, '芦淞区', 430200, 3),
|
|
|
|
+(430204, '石峰区', 430200, 3),
|
|
|
|
+(430211, '天元区', 430200, 3),
|
|
|
|
+(430221, '株洲县', 430200, 3),
|
|
|
|
+(430223, '攸县', 430200, 3),
|
|
|
|
+(430224, '茶陵县', 430200, 3),
|
|
|
|
+(430225, '炎陵县', 430200, 3),
|
|
|
|
+(430281, '醴陵市', 430200, 3),
|
|
|
|
+(430300, '湘潭市', 430000, 2),
|
|
|
|
+(430302, '雨湖区', 430300, 3),
|
|
|
|
+(430304, '岳塘区', 430300, 3),
|
|
|
|
+(430321, '湘潭县', 430300, 3),
|
|
|
|
+(430381, '湘乡市', 430300, 3),
|
|
|
|
+(430382, '韶山市', 430300, 3),
|
|
|
|
+(430400, '衡阳市', 430000, 2),
|
|
|
|
+(430405, '珠晖区', 430400, 3),
|
|
|
|
+(430406, '雁峰区', 430400, 3),
|
|
|
|
+(430407, '石鼓区', 430400, 3),
|
|
|
|
+(430408, '蒸湘区', 430400, 3),
|
|
|
|
+(430412, '南岳区', 430400, 3),
|
|
|
|
+(430421, '衡阳县', 430400, 3),
|
|
|
|
+(430422, '衡南县', 430400, 3),
|
|
|
|
+(430423, '衡山县', 430400, 3),
|
|
|
|
+(430424, '衡东县', 430400, 3),
|
|
|
|
+(430426, '祁东县', 430400, 3),
|
|
|
|
+(430481, '耒阳市', 430400, 3),
|
|
|
|
+(430482, '常宁市', 430400, 3),
|
|
|
|
+(430500, '邵阳市', 430000, 2),
|
|
|
|
+(430502, '双清区', 430500, 3),
|
|
|
|
+(430503, '大祥区', 430500, 3),
|
|
|
|
+(430511, '北塔区', 430500, 3),
|
|
|
|
+(430521, '邵东县', 430500, 3),
|
|
|
|
+(430522, '新邵县', 430500, 3),
|
|
|
|
+(430523, '邵阳县', 430500, 3),
|
|
|
|
+(430524, '隆回县', 430500, 3),
|
|
|
|
+(430525, '洞口县', 430500, 3),
|
|
|
|
+(430527, '绥宁县', 430500, 3),
|
|
|
|
+(430528, '新宁县', 430500, 3),
|
|
|
|
+(430529, '城步苗族自治县', 430500, 3),
|
|
|
|
+(430581, '武冈市', 430500, 3),
|
|
|
|
+(430600, '岳阳市', 430000, 2),
|
|
|
|
+(430602, '岳阳楼区', 430600, 3),
|
|
|
|
+(430603, '云溪区', 430600, 3),
|
|
|
|
+(430611, '君山区', 430600, 3),
|
|
|
|
+(430621, '岳阳县', 430600, 3),
|
|
|
|
+(430623, '华容县', 430600, 3),
|
|
|
|
+(430624, '湘阴县', 430600, 3),
|
|
|
|
+(430626, '平江县', 430600, 3),
|
|
|
|
+(430681, '汨罗市', 430600, 3),
|
|
|
|
+(430682, '临湘市', 430600, 3),
|
|
|
|
+(430700, '常德市', 430000, 2),
|
|
|
|
+(430702, '武陵区', 430700, 3),
|
|
|
|
+(430703, '鼎城区', 430700, 3),
|
|
|
|
+(430721, '安乡县', 430700, 3),
|
|
|
|
+(430722, '汉寿县', 430700, 3),
|
|
|
|
+(430723, '澧县', 430700, 3),
|
|
|
|
+(430724, '临澧县', 430700, 3),
|
|
|
|
+(430725, '桃源县', 430700, 3),
|
|
|
|
+(430726, '石门县', 430700, 3),
|
|
|
|
+(430781, '津市市', 430700, 3),
|
|
|
|
+(430800, '张家界市', 430000, 2),
|
|
|
|
+(430802, '永定区', 430800, 3),
|
|
|
|
+(430811, '武陵源区', 430800, 3),
|
|
|
|
+(430821, '慈利县', 430800, 3),
|
|
|
|
+(430822, '桑植县', 430800, 3),
|
|
|
|
+(430900, '益阳市', 430000, 2),
|
|
|
|
+(430902, '资阳区', 430900, 3),
|
|
|
|
+(430903, '赫山区', 430900, 3),
|
|
|
|
+(430921, '南县', 430900, 3),
|
|
|
|
+(430922, '桃江县', 430900, 3),
|
|
|
|
+(430923, '安化县', 430900, 3),
|
|
|
|
+(430981, '沅江市', 430900, 3),
|
|
|
|
+(431000, '郴州市', 430000, 2),
|
|
|
|
+(431002, '北湖区', 431000, 3),
|
|
|
|
+(431003, '苏仙区', 431000, 3),
|
|
|
|
+(431021, '桂阳县', 431000, 3),
|
|
|
|
+(431022, '宜章县', 431000, 3),
|
|
|
|
+(431023, '永兴县', 431000, 3),
|
|
|
|
+(431024, '嘉禾县', 431000, 3),
|
|
|
|
+(431025, '临武县', 431000, 3),
|
|
|
|
+(431026, '汝城县', 431000, 3),
|
|
|
|
+(431027, '桂东县', 431000, 3),
|
|
|
|
+(431028, '安仁县', 431000, 3),
|
|
|
|
+(431081, '资兴市', 431000, 3),
|
|
|
|
+(431100, '永州市', 430000, 2),
|
|
|
|
+(431102, '零陵区', 431100, 3),
|
|
|
|
+(431103, '冷水滩区', 431100, 3),
|
|
|
|
+(431121, '祁阳县', 431100, 3),
|
|
|
|
+(431122, '东安县', 431100, 3),
|
|
|
|
+(431123, '双牌县', 431100, 3),
|
|
|
|
+(431124, '道县', 431100, 3),
|
|
|
|
+(431125, '江永县', 431100, 3),
|
|
|
|
+(431126, '宁远县', 431100, 3),
|
|
|
|
+(431127, '蓝山县', 431100, 3),
|
|
|
|
+(431128, '新田县', 431100, 3),
|
|
|
|
+(431129, '江华瑶族自治县', 431100, 3);
|
|
|
|
+INSERT INTO `__PREFIX__shopro_area` (`id`, `name`, `pid`, `level`) VALUES
|
|
|
|
+(431200, '怀化市', 430000, 2),
|
|
|
|
+(431202, '鹤城区', 431200, 3),
|
|
|
|
+(431221, '中方县', 431200, 3),
|
|
|
|
+(431222, '沅陵县', 431200, 3),
|
|
|
|
+(431223, '辰溪县', 431200, 3),
|
|
|
|
+(431224, '溆浦县', 431200, 3),
|
|
|
|
+(431225, '会同县', 431200, 3),
|
|
|
|
+(431226, '麻阳苗族自治县', 431200, 3),
|
|
|
|
+(431227, '新晃侗族自治县', 431200, 3),
|
|
|
|
+(431228, '芷江侗族自治县', 431200, 3),
|
|
|
|
+(431229, '靖州苗族侗族自治县', 431200, 3),
|
|
|
|
+(431230, '通道侗族自治县', 431200, 3),
|
|
|
|
+(431281, '洪江市', 431200, 3),
|
|
|
|
+(431300, '娄底市', 430000, 2),
|
|
|
|
+(431302, '娄星区', 431300, 3),
|
|
|
|
+(431321, '双峰县', 431300, 3),
|
|
|
|
+(431322, '新化县', 431300, 3),
|
|
|
|
+(431381, '冷水江市', 431300, 3),
|
|
|
|
+(431382, '涟源市', 431300, 3),
|
|
|
|
+(433100, '湘西土家族苗族自治州', 430000, 2),
|
|
|
|
+(433101, '吉首市', 433100, 3),
|
|
|
|
+(433122, '泸溪县', 433100, 3),
|
|
|
|
+(433123, '凤凰县', 433100, 3),
|
|
|
|
+(433124, '花垣县', 433100, 3),
|
|
|
|
+(433125, '保靖县', 433100, 3),
|
|
|
|
+(433126, '古丈县', 433100, 3),
|
|
|
|
+(433127, '永顺县', 433100, 3),
|
|
|
|
+(433130, '龙山县', 433100, 3),
|
|
|
|
+(440000, '广东省', 0, 1),
|
|
|
|
+(440100, '广州市', 440000, 2),
|
|
|
|
+(440103, '荔湾区', 440100, 3),
|
|
|
|
+(440104, '越秀区', 440100, 3),
|
|
|
|
+(440105, '海珠区', 440100, 3),
|
|
|
|
+(440106, '天河区', 440100, 3),
|
|
|
|
+(440111, '白云区', 440100, 3),
|
|
|
|
+(440112, '黄埔区', 440100, 3),
|
|
|
|
+(440113, '番禺区', 440100, 3),
|
|
|
|
+(440114, '花都区', 440100, 3),
|
|
|
|
+(440115, '南沙区', 440100, 3),
|
|
|
|
+(440117, '从化区', 440100, 3),
|
|
|
|
+(440118, '增城区', 440100, 3),
|
|
|
|
+(440200, '韶关市', 440000, 2),
|
|
|
|
+(440203, '武江区', 440200, 3),
|
|
|
|
+(440204, '浈江区', 440200, 3),
|
|
|
|
+(440205, '曲江区', 440200, 3),
|
|
|
|
+(440222, '始兴县', 440200, 3),
|
|
|
|
+(440224, '仁化县', 440200, 3),
|
|
|
|
+(440229, '翁源县', 440200, 3),
|
|
|
|
+(440232, '乳源瑶族自治县', 440200, 3),
|
|
|
|
+(440233, '新丰县', 440200, 3),
|
|
|
|
+(440281, '乐昌市', 440200, 3),
|
|
|
|
+(440282, '南雄市', 440200, 3),
|
|
|
|
+(440300, '深圳市', 440000, 2),
|
|
|
|
+(440303, '罗湖区', 440300, 3),
|
|
|
|
+(440304, '福田区', 440300, 3),
|
|
|
|
+(440305, '南山区', 440300, 3),
|
|
|
|
+(440306, '宝安区', 440300, 3),
|
|
|
|
+(440307, '龙岗区', 440300, 3),
|
|
|
|
+(440308, '盐田区', 440300, 3),
|
|
|
|
+(440309, '龙华区', 440300, 3),
|
|
|
|
+(440310, '坪山区', 440300, 3),
|
|
|
|
+(440400, '珠海市', 440000, 2),
|
|
|
|
+(440402, '香洲区', 440400, 3),
|
|
|
|
+(440403, '斗门区', 440400, 3),
|
|
|
|
+(440404, '金湾区', 440400, 3),
|
|
|
|
+(440500, '汕头市', 440000, 2),
|
|
|
|
+(440507, '龙湖区', 440500, 3),
|
|
|
|
+(440511, '金平区', 440500, 3),
|
|
|
|
+(440512, '濠江区', 440500, 3),
|
|
|
|
+(440513, '潮阳区', 440500, 3),
|
|
|
|
+(440514, '潮南区', 440500, 3),
|
|
|
|
+(440515, '澄海区', 440500, 3),
|
|
|
|
+(440523, '南澳县', 440500, 3),
|
|
|
|
+(440600, '佛山市', 440000, 2),
|
|
|
|
+(440604, '禅城区', 440600, 3),
|
|
|
|
+(440605, '南海区', 440600, 3),
|
|
|
|
+(440606, '顺德区', 440600, 3),
|
|
|
|
+(440607, '三水区', 440600, 3),
|
|
|
|
+(440608, '高明区', 440600, 3),
|
|
|
|
+(440700, '江门市', 440000, 2),
|
|
|
|
+(440703, '蓬江区', 440700, 3),
|
|
|
|
+(440704, '江海区', 440700, 3),
|
|
|
|
+(440705, '新会区', 440700, 3),
|
|
|
|
+(440781, '台山市', 440700, 3),
|
|
|
|
+(440783, '开平市', 440700, 3),
|
|
|
|
+(440784, '鹤山市', 440700, 3),
|
|
|
|
+(440785, '恩平市', 440700, 3),
|
|
|
|
+(440800, '湛江市', 440000, 2),
|
|
|
|
+(440802, '赤坎区', 440800, 3),
|
|
|
|
+(440803, '霞山区', 440800, 3),
|
|
|
|
+(440804, '坡头区', 440800, 3),
|
|
|
|
+(440811, '麻章区', 440800, 3),
|
|
|
|
+(440823, '遂溪县', 440800, 3),
|
|
|
|
+(440825, '徐闻县', 440800, 3),
|
|
|
|
+(440881, '廉江市', 440800, 3),
|
|
|
|
+(440882, '雷州市', 440800, 3),
|
|
|
|
+(440883, '吴川市', 440800, 3),
|
|
|
|
+(440900, '茂名市', 440000, 2),
|
|
|
|
+(440902, '茂南区', 440900, 3),
|
|
|
|
+(440904, '电白区', 440900, 3),
|
|
|
|
+(440981, '高州市', 440900, 3),
|
|
|
|
+(440982, '化州市', 440900, 3),
|
|
|
|
+(440983, '信宜市', 440900, 3),
|
|
|
|
+(441200, '肇庆市', 440000, 2),
|
|
|
|
+(441202, '端州区', 441200, 3),
|
|
|
|
+(441203, '鼎湖区', 441200, 3),
|
|
|
|
+(441204, '高要区', 441200, 3),
|
|
|
|
+(441223, '广宁县', 441200, 3),
|
|
|
|
+(441224, '怀集县', 441200, 3),
|
|
|
|
+(441225, '封开县', 441200, 3),
|
|
|
|
+(441226, '德庆县', 441200, 3),
|
|
|
|
+(441284, '四会市', 441200, 3),
|
|
|
|
+(441300, '惠州市', 440000, 2),
|
|
|
|
+(441302, '惠城区', 441300, 3),
|
|
|
|
+(441303, '惠阳区', 441300, 3),
|
|
|
|
+(441322, '博罗县', 441300, 3),
|
|
|
|
+(441323, '惠东县', 441300, 3),
|
|
|
|
+(441324, '龙门县', 441300, 3),
|
|
|
|
+(441400, '梅州市', 440000, 2),
|
|
|
|
+(441402, '梅江区', 441400, 3),
|
|
|
|
+(441403, '梅县区', 441400, 3),
|
|
|
|
+(441422, '大埔县', 441400, 3),
|
|
|
|
+(441423, '丰顺县', 441400, 3),
|
|
|
|
+(441424, '五华县', 441400, 3),
|
|
|
|
+(441426, '平远县', 441400, 3),
|
|
|
|
+(441427, '蕉岭县', 441400, 3),
|
|
|
|
+(441481, '兴宁市', 441400, 3),
|
|
|
|
+(441500, '汕尾市', 440000, 2),
|
|
|
|
+(441502, '城区', 441500, 3),
|
|
|
|
+(441521, '海丰县', 441500, 3),
|
|
|
|
+(441523, '陆河县', 441500, 3),
|
|
|
|
+(441581, '陆丰市', 441500, 3),
|
|
|
|
+(441600, '河源市', 440000, 2),
|
|
|
|
+(441602, '源城区', 441600, 3),
|
|
|
|
+(441621, '紫金县', 441600, 3),
|
|
|
|
+(441622, '龙川县', 441600, 3),
|
|
|
|
+(441623, '连平县', 441600, 3),
|
|
|
|
+(441624, '和平县', 441600, 3),
|
|
|
|
+(441625, '东源县', 441600, 3),
|
|
|
|
+(441700, '阳江市', 440000, 2),
|
|
|
|
+(441702, '江城区', 441700, 3),
|
|
|
|
+(441704, '阳东区', 441700, 3),
|
|
|
|
+(441721, '阳西县', 441700, 3),
|
|
|
|
+(441781, '阳春市', 441700, 3),
|
|
|
|
+(441800, '清远市', 440000, 2),
|
|
|
|
+(441802, '清城区', 441800, 3),
|
|
|
|
+(441803, '清新区', 441800, 3),
|
|
|
|
+(441821, '佛冈县', 441800, 3),
|
|
|
|
+(441823, '阳山县', 441800, 3),
|
|
|
|
+(441825, '连山壮族瑶族自治县', 441800, 3),
|
|
|
|
+(441826, '连南瑶族自治县', 441800, 3),
|
|
|
|
+(441881, '英德市', 441800, 3),
|
|
|
|
+(441882, '连州市', 441800, 3),
|
|
|
|
+(441900, '东莞市', 440000, 2),
|
|
|
|
+(441901, '东城街道', 441900, 3),
|
|
|
|
+(441902, '南城街道', 441900, 3),
|
|
|
|
+(441903, '万江街道', 441900, 3),
|
|
|
|
+(441904, '莞城街道', 441900, 3),
|
|
|
|
+(441905, '石碣镇', 441900, 3),
|
|
|
|
+(441906, '石龙镇', 441900, 3),
|
|
|
|
+(441907, '茶山镇', 441900, 3),
|
|
|
|
+(441908, '石排镇', 441900, 3),
|
|
|
|
+(441909, '企石镇', 441900, 3),
|
|
|
|
+(441910, '横沥镇', 441900, 3),
|
|
|
|
+(441911, '桥头镇', 441900, 3),
|
|
|
|
+(441912, '谢岗镇', 441900, 3),
|
|
|
|
+(441913, '东坑镇', 441900, 3),
|
|
|
|
+(441914, '常平镇', 441900, 3),
|
|
|
|
+(441915, '寮步镇', 441900, 3),
|
|
|
|
+(441916, '樟木头镇', 441900, 3),
|
|
|
|
+(441917, '大朗镇', 441900, 3),
|
|
|
|
+(441918, '黄江镇', 441900, 3),
|
|
|
|
+(441919, '清溪镇', 441900, 3),
|
|
|
|
+(441920, '塘厦镇', 441900, 3),
|
|
|
|
+(441921, '凤岗镇', 441900, 3),
|
|
|
|
+(441922, '大岭山镇', 441900, 3),
|
|
|
|
+(441923, '长安镇', 441900, 3),
|
|
|
|
+(441924, '虎门镇', 441900, 3),
|
|
|
|
+(441925, '厚街镇', 441900, 3),
|
|
|
|
+(441926, '沙田镇', 441900, 3),
|
|
|
|
+(441927, '道滘镇', 441900, 3),
|
|
|
|
+(441928, '洪梅镇', 441900, 3),
|
|
|
|
+(441929, '麻涌镇', 441900, 3),
|
|
|
|
+(441930, '望牛墩镇', 441900, 3),
|
|
|
|
+(441931, '中堂镇', 441900, 3),
|
|
|
|
+(441932, '高埗镇', 441900, 3),
|
|
|
|
+(441933, '松山湖管委会', 441900, 3),
|
|
|
|
+(441934, '虎门港管委会', 441900, 3),
|
|
|
|
+(441935, '东莞生态园', 441900, 3),
|
|
|
|
+(442000, '中山市', 440000, 2),
|
|
|
|
+(442001, '石岐区街道', 442000, 3),
|
|
|
|
+(442002, '东区街道', 442000, 3),
|
|
|
|
+(442003, '火炬开发区', 442000, 3),
|
|
|
|
+(442004, '西区街道', 442000, 3),
|
|
|
|
+(442005, '南区街道', 442000, 3),
|
|
|
|
+(442006, '五桂山街道', 442000, 3),
|
|
|
|
+(442007, '小榄镇', 442000, 3),
|
|
|
|
+(442008, '黄圃镇', 442000, 3),
|
|
|
|
+(442009, '民众镇', 442000, 3),
|
|
|
|
+(442010, '东凤镇', 442000, 3),
|
|
|
|
+(442011, '东升镇', 442000, 3),
|
|
|
|
+(442012, '古镇镇', 442000, 3),
|
|
|
|
+(442013, '沙溪镇', 442000, 3),
|
|
|
|
+(442014, '坦洲镇', 442000, 3),
|
|
|
|
+(442015, '港口镇', 442000, 3),
|
|
|
|
+(442016, '三角镇', 442000, 3),
|
|
|
|
+(442017, '横栏镇', 442000, 3),
|
|
|
|
+(442018, '南头镇', 442000, 3),
|
|
|
|
+(442019, '阜沙镇', 442000, 3),
|
|
|
|
+(442020, '南朗镇', 442000, 3),
|
|
|
|
+(442021, '三乡镇', 442000, 3),
|
|
|
|
+(442022, '板芙镇', 442000, 3),
|
|
|
|
+(442023, '大涌镇', 442000, 3),
|
|
|
|
+(442024, '神湾镇', 442000, 3),
|
|
|
|
+(445100, '潮州市', 440000, 2),
|
|
|
|
+(445102, '湘桥区', 445100, 3),
|
|
|
|
+(445103, '潮安区', 445100, 3),
|
|
|
|
+(445122, '饶平县', 445100, 3),
|
|
|
|
+(445200, '揭阳市', 440000, 2),
|
|
|
|
+(445202, '榕城区', 445200, 3),
|
|
|
|
+(445203, '揭东区', 445200, 3),
|
|
|
|
+(445222, '揭西县', 445200, 3),
|
|
|
|
+(445224, '惠来县', 445200, 3),
|
|
|
|
+(445281, '普宁市', 445200, 3),
|
|
|
|
+(445300, '云浮市', 440000, 2),
|
|
|
|
+(445302, '云城区', 445300, 3),
|
|
|
|
+(445303, '云安区', 445300, 3),
|
|
|
|
+(445321, '新兴县', 445300, 3),
|
|
|
|
+(445322, '郁南县', 445300, 3),
|
|
|
|
+(445381, '罗定市', 445300, 3),
|
|
|
|
+(450000, '广西壮族自治区', 0, 1),
|
|
|
|
+(450100, '南宁市', 450000, 2),
|
|
|
|
+(450102, '兴宁区', 450100, 3),
|
|
|
|
+(450103, '青秀区', 450100, 3),
|
|
|
|
+(450105, '江南区', 450100, 3),
|
|
|
|
+(450107, '西乡塘区', 450100, 3),
|
|
|
|
+(450108, '良庆区', 450100, 3),
|
|
|
|
+(450109, '邕宁区', 450100, 3),
|
|
|
|
+(450110, '武鸣区', 450100, 3),
|
|
|
|
+(450123, '隆安县', 450100, 3),
|
|
|
|
+(450124, '马山县', 450100, 3),
|
|
|
|
+(450125, '上林县', 450100, 3),
|
|
|
|
+(450126, '宾阳县', 450100, 3),
|
|
|
|
+(450127, '横县', 450100, 3),
|
|
|
|
+(450200, '柳州市', 450000, 2),
|
|
|
|
+(450202, '城中区', 450200, 3),
|
|
|
|
+(450203, '鱼峰区', 450200, 3),
|
|
|
|
+(450204, '柳南区', 450200, 3),
|
|
|
|
+(450205, '柳北区', 450200, 3),
|
|
|
|
+(450206, '柳江区', 450200, 3),
|
|
|
|
+(450222, '柳城县', 450200, 3),
|
|
|
|
+(450223, '鹿寨县', 450200, 3),
|
|
|
|
+(450224, '融安县', 450200, 3),
|
|
|
|
+(450225, '融水苗族自治县', 450200, 3),
|
|
|
|
+(450226, '三江侗族自治县', 450200, 3),
|
|
|
|
+(450300, '桂林市', 450000, 2),
|
|
|
|
+(450302, '秀峰区', 450300, 3),
|
|
|
|
+(450303, '叠彩区', 450300, 3),
|
|
|
|
+(450304, '象山区', 450300, 3),
|
|
|
|
+(450305, '七星区', 450300, 3),
|
|
|
|
+(450311, '雁山区', 450300, 3),
|
|
|
|
+(450312, '临桂区', 450300, 3),
|
|
|
|
+(450321, '阳朔县', 450300, 3),
|
|
|
|
+(450323, '灵川县', 450300, 3),
|
|
|
|
+(450324, '全州县', 450300, 3),
|
|
|
|
+(450325, '兴安县', 450300, 3),
|
|
|
|
+(450326, '永福县', 450300, 3),
|
|
|
|
+(450327, '灌阳县', 450300, 3),
|
|
|
|
+(450328, '龙胜各族自治县', 450300, 3),
|
|
|
|
+(450329, '资源县', 450300, 3),
|
|
|
|
+(450330, '平乐县', 450300, 3),
|
|
|
|
+(450331, '荔浦县', 450300, 3),
|
|
|
|
+(450332, '恭城瑶族自治县', 450300, 3),
|
|
|
|
+(450400, '梧州市', 450000, 2),
|
|
|
|
+(450403, '万秀区', 450400, 3),
|
|
|
|
+(450405, '长洲区', 450400, 3),
|
|
|
|
+(450406, '龙圩区', 450400, 3),
|
|
|
|
+(450421, '苍梧县', 450400, 3),
|
|
|
|
+(450422, '藤县', 450400, 3),
|
|
|
|
+(450423, '蒙山县', 450400, 3),
|
|
|
|
+(450481, '岑溪市', 450400, 3),
|
|
|
|
+(450500, '北海市', 450000, 2),
|
|
|
|
+(450502, '海城区', 450500, 3),
|
|
|
|
+(450503, '银海区', 450500, 3),
|
|
|
|
+(450512, '铁山港区', 450500, 3),
|
|
|
|
+(450521, '合浦县', 450500, 3),
|
|
|
|
+(450600, '防城港市', 450000, 2),
|
|
|
|
+(450602, '港口区', 450600, 3),
|
|
|
|
+(450603, '防城区', 450600, 3),
|
|
|
|
+(450621, '上思县', 450600, 3),
|
|
|
|
+(450681, '东兴市', 450600, 3),
|
|
|
|
+(450700, '钦州市', 450000, 2),
|
|
|
|
+(450702, '钦南区', 450700, 3),
|
|
|
|
+(450703, '钦北区', 450700, 3),
|
|
|
|
+(450721, '灵山县', 450700, 3),
|
|
|
|
+(450722, '浦北县', 450700, 3),
|
|
|
|
+(450800, '贵港市', 450000, 2),
|
|
|
|
+(450802, '港北区', 450800, 3),
|
|
|
|
+(450803, '港南区', 450800, 3),
|
|
|
|
+(450804, '覃塘区', 450800, 3),
|
|
|
|
+(450821, '平南县', 450800, 3),
|
|
|
|
+(450881, '桂平市', 450800, 3),
|
|
|
|
+(450900, '玉林市', 450000, 2),
|
|
|
|
+(450902, '玉州区', 450900, 3),
|
|
|
|
+(450903, '福绵区', 450900, 3),
|
|
|
|
+(450921, '容县', 450900, 3),
|
|
|
|
+(450922, '陆川县', 450900, 3),
|
|
|
|
+(450923, '博白县', 450900, 3),
|
|
|
|
+(450924, '兴业县', 450900, 3),
|
|
|
|
+(450981, '北流市', 450900, 3),
|
|
|
|
+(451000, '百色市', 450000, 2),
|
|
|
|
+(451002, '右江区', 451000, 3),
|
|
|
|
+(451021, '田阳县', 451000, 3),
|
|
|
|
+(451022, '田东县', 451000, 3),
|
|
|
|
+(451023, '平果县', 451000, 3),
|
|
|
|
+(451024, '德保县', 451000, 3),
|
|
|
|
+(451026, '那坡县', 451000, 3),
|
|
|
|
+(451027, '凌云县', 451000, 3),
|
|
|
|
+(451028, '乐业县', 451000, 3),
|
|
|
|
+(451029, '田林县', 451000, 3),
|
|
|
|
+(451030, '西林县', 451000, 3),
|
|
|
|
+(451031, '隆林各族自治县', 451000, 3),
|
|
|
|
+(451081, '靖西市', 451000, 3),
|
|
|
|
+(451100, '贺州市', 450000, 2),
|
|
|
|
+(451102, '八步区', 451100, 3),
|
|
|
|
+(451103, '平桂区', 451100, 3),
|
|
|
|
+(451121, '昭平县', 451100, 3),
|
|
|
|
+(451122, '钟山县', 451100, 3),
|
|
|
|
+(451123, '富川瑶族自治县', 451100, 3),
|
|
|
|
+(451200, '河池市', 450000, 2),
|
|
|
|
+(451202, '金城江区', 451200, 3),
|
|
|
|
+(451203, '宜州区', 451200, 3),
|
|
|
|
+(451221, '南丹县', 451200, 3),
|
|
|
|
+(451222, '天峨县', 451200, 3),
|
|
|
|
+(451223, '凤山县', 451200, 3),
|
|
|
|
+(451224, '东兰县', 451200, 3),
|
|
|
|
+(451225, '罗城仫佬族自治县', 451200, 3),
|
|
|
|
+(451226, '环江毛南族自治县', 451200, 3),
|
|
|
|
+(451227, '巴马瑶族自治县', 451200, 3),
|
|
|
|
+(451228, '都安瑶族自治县', 451200, 3),
|
|
|
|
+(451229, '大化瑶族自治县', 451200, 3),
|
|
|
|
+(451300, '来宾市', 450000, 2),
|
|
|
|
+(451302, '兴宾区', 451300, 3),
|
|
|
|
+(451321, '忻城县', 451300, 3),
|
|
|
|
+(451322, '象州县', 451300, 3),
|
|
|
|
+(451323, '武宣县', 451300, 3),
|
|
|
|
+(451324, '金秀瑶族自治县', 451300, 3),
|
|
|
|
+(451381, '合山市', 451300, 3),
|
|
|
|
+(451400, '崇左市', 450000, 2),
|
|
|
|
+(451402, '江州区', 451400, 3),
|
|
|
|
+(451421, '扶绥县', 451400, 3),
|
|
|
|
+(451422, '宁明县', 451400, 3),
|
|
|
|
+(451423, '龙州县', 451400, 3),
|
|
|
|
+(451424, '大新县', 451400, 3),
|
|
|
|
+(451425, '天等县', 451400, 3),
|
|
|
|
+(451481, '凭祥市', 451400, 3),
|
|
|
|
+(460000, '海南省', 0, 1),
|
|
|
|
+(460100, '海口市', 460000, 2),
|
|
|
|
+(460105, '秀英区', 460100, 3),
|
|
|
|
+(460106, '龙华区', 460100, 3),
|
|
|
|
+(460107, '琼山区', 460100, 3),
|
|
|
|
+(460108, '美兰区', 460100, 3),
|
|
|
|
+(460200, '三亚市', 460000, 2),
|
|
|
|
+(460202, '海棠区', 460200, 3),
|
|
|
|
+(460203, '吉阳区', 460200, 3),
|
|
|
|
+(460204, '天涯区', 460200, 3),
|
|
|
|
+(460205, '崖州区', 460200, 3),
|
|
|
|
+(460300, '三沙市', 460000, 2),
|
|
|
|
+(460321, '西沙群岛', 460300, 3),
|
|
|
|
+(460322, '南沙群岛', 460300, 3),
|
|
|
|
+(460323, '中沙群岛的岛礁及其海域', 460300, 3),
|
|
|
|
+(460400, '儋州市', 460000, 2),
|
|
|
|
+(460401, '那大镇', 460400, 3),
|
|
|
|
+(460402, '和庆镇', 460400, 3),
|
|
|
|
+(460403, '南丰镇', 460400, 3),
|
|
|
|
+(460404, '大成镇', 460400, 3),
|
|
|
|
+(460405, '雅星镇', 460400, 3),
|
|
|
|
+(460406, '兰洋镇', 460400, 3),
|
|
|
|
+(460407, '光村镇', 460400, 3),
|
|
|
|
+(460408, '木棠镇', 460400, 3),
|
|
|
|
+(460409, '海头镇', 460400, 3),
|
|
|
|
+(460410, '峨蔓镇', 460400, 3),
|
|
|
|
+(460411, '三都镇', 460400, 3),
|
|
|
|
+(460412, '王五镇', 460400, 3),
|
|
|
|
+(460413, '白马井镇', 460400, 3),
|
|
|
|
+(460414, '中和镇', 460400, 3),
|
|
|
|
+(460415, '排浦镇', 460400, 3),
|
|
|
|
+(460416, '东成镇', 460400, 3),
|
|
|
|
+(460417, '新州镇', 460400, 3),
|
|
|
|
+(460418, '国营西培农场', 460400, 3),
|
|
|
|
+(460419, '国营西联农场', 460400, 3),
|
|
|
|
+(460420, '国营蓝洋农场', 460400, 3),
|
|
|
|
+(460421, '国营八一农场', 460400, 3),
|
|
|
|
+(460422, '洋浦经济开发区', 460400, 3),
|
|
|
|
+(460423, '华南热作学院', 460400, 3),
|
|
|
|
+(460424, '红岭农场', 460400, 3),
|
|
|
|
+(469000, '省直辖县级行政区划', 460000, 2),
|
|
|
|
+(469001, '五指山市', 469000, 3),
|
|
|
|
+(469002, '琼海市', 469000, 3),
|
|
|
|
+(469005, '文昌市', 469000, 3),
|
|
|
|
+(469006, '万宁市', 469000, 3),
|
|
|
|
+(469007, '东方市', 469000, 3),
|
|
|
|
+(469021, '定安县', 469000, 3),
|
|
|
|
+(469022, '屯昌县', 469000, 3),
|
|
|
|
+(469023, '澄迈县', 469000, 3),
|
|
|
|
+(469024, '临高县', 469000, 3),
|
|
|
|
+(469025, '白沙黎族自治县', 469000, 3),
|
|
|
|
+(469026, '昌江黎族自治县', 469000, 3),
|
|
|
|
+(469027, '乐东黎族自治县', 469000, 3),
|
|
|
|
+(469028, '陵水黎族自治县', 469000, 3),
|
|
|
|
+(469029, '保亭黎族苗族自治县', 469000, 3),
|
|
|
|
+(469030, '琼中黎族苗族自治县', 469000, 3),
|
|
|
|
+(500000, '重庆市', 0, 1),
|
|
|
|
+(500100, '重庆市', 500000, 2),
|
|
|
|
+(500101, '万州区', 500100, 3),
|
|
|
|
+(500102, '涪陵区', 500100, 3),
|
|
|
|
+(500103, '渝中区', 500100, 3),
|
|
|
|
+(500104, '大渡口区', 500100, 3),
|
|
|
|
+(500105, '江北区', 500100, 3),
|
|
|
|
+(500106, '沙坪坝区', 500100, 3),
|
|
|
|
+(500107, '九龙坡区', 500100, 3),
|
|
|
|
+(500108, '南岸区', 500100, 3),
|
|
|
|
+(500109, '北碚区', 500100, 3),
|
|
|
|
+(500110, '綦江区', 500100, 3),
|
|
|
|
+(500111, '大足区', 500100, 3),
|
|
|
|
+(500112, '渝北区', 500100, 3),
|
|
|
|
+(500113, '巴南区', 500100, 3),
|
|
|
|
+(500114, '黔江区', 500100, 3),
|
|
|
|
+(500115, '长寿区', 500100, 3),
|
|
|
|
+(500116, '江津区', 500100, 3),
|
|
|
|
+(500117, '合川区', 500100, 3),
|
|
|
|
+(500118, '永川区', 500100, 3),
|
|
|
|
+(500119, '南川区', 500100, 3),
|
|
|
|
+(500120, '璧山区', 500100, 3),
|
|
|
|
+(500151, '铜梁区', 500100, 3),
|
|
|
|
+(500152, '潼南区', 500100, 3),
|
|
|
|
+(500153, '荣昌区', 500100, 3),
|
|
|
|
+(500154, '开州区', 500100, 3),
|
|
|
|
+(500155, '梁平区', 500100, 3),
|
|
|
|
+(500156, '武隆区', 500100, 3),
|
|
|
|
+(500200, '县', 500000, 2),
|
|
|
|
+(500229, '城口县', 500200, 3),
|
|
|
|
+(500230, '丰都县', 500200, 3),
|
|
|
|
+(500231, '垫江县', 500200, 3),
|
|
|
|
+(500233, '忠县', 500200, 3),
|
|
|
|
+(500235, '云阳县', 500200, 3),
|
|
|
|
+(500236, '奉节县', 500200, 3),
|
|
|
|
+(500237, '巫山县', 500200, 3),
|
|
|
|
+(500238, '巫溪县', 500200, 3),
|
|
|
|
+(500240, '石柱土家族自治县', 500200, 3),
|
|
|
|
+(500241, '秀山土家族苗族自治县', 500200, 3),
|
|
|
|
+(500242, '酉阳土家族苗族自治县', 500200, 3),
|
|
|
|
+(500243, '彭水苗族土家族自治县', 500200, 3),
|
|
|
|
+(510000, '四川省', 0, 1),
|
|
|
|
+(510100, '成都市', 510000, 2),
|
|
|
|
+(510104, '锦江区', 510100, 3),
|
|
|
|
+(510105, '青羊区', 510100, 3),
|
|
|
|
+(510106, '金牛区', 510100, 3),
|
|
|
|
+(510107, '武侯区', 510100, 3),
|
|
|
|
+(510108, '成华区', 510100, 3),
|
|
|
|
+(510112, '龙泉驿区', 510100, 3),
|
|
|
|
+(510113, '青白江区', 510100, 3),
|
|
|
|
+(510114, '新都区', 510100, 3),
|
|
|
|
+(510115, '温江区', 510100, 3),
|
|
|
|
+(510116, '双流区', 510100, 3),
|
|
|
|
+(510117, '郫都区', 510100, 3),
|
|
|
|
+(510121, '金堂县', 510100, 3),
|
|
|
|
+(510129, '大邑县', 510100, 3),
|
|
|
|
+(510131, '蒲江县', 510100, 3),
|
|
|
|
+(510132, '新津县', 510100, 3),
|
|
|
|
+(510181, '都江堰市', 510100, 3),
|
|
|
|
+(510182, '彭州市', 510100, 3),
|
|
|
|
+(510183, '邛崃市', 510100, 3),
|
|
|
|
+(510184, '崇州市', 510100, 3),
|
|
|
|
+(510185, '简阳市', 510100, 3),
|
|
|
|
+(510300, '自贡市', 510000, 2),
|
|
|
|
+(510302, '自流井区', 510300, 3),
|
|
|
|
+(510303, '贡井区', 510300, 3),
|
|
|
|
+(510304, '大安区', 510300, 3),
|
|
|
|
+(510311, '沿滩区', 510300, 3),
|
|
|
|
+(510321, '荣县', 510300, 3),
|
|
|
|
+(510322, '富顺县', 510300, 3),
|
|
|
|
+(510400, '攀枝花市', 510000, 2),
|
|
|
|
+(510402, '东区', 510400, 3),
|
|
|
|
+(510403, '西区', 510400, 3),
|
|
|
|
+(510411, '仁和区', 510400, 3),
|
|
|
|
+(510421, '米易县', 510400, 3),
|
|
|
|
+(510422, '盐边县', 510400, 3),
|
|
|
|
+(510500, '泸州市', 510000, 2),
|
|
|
|
+(510502, '江阳区', 510500, 3),
|
|
|
|
+(510503, '纳溪区', 510500, 3),
|
|
|
|
+(510504, '龙马潭区', 510500, 3),
|
|
|
|
+(510521, '泸县', 510500, 3),
|
|
|
|
+(510522, '合江县', 510500, 3),
|
|
|
|
+(510524, '叙永县', 510500, 3),
|
|
|
|
+(510525, '古蔺县', 510500, 3),
|
|
|
|
+(510600, '德阳市', 510000, 2),
|
|
|
|
+(510603, '旌阳区', 510600, 3),
|
|
|
|
+(510604, '罗江区', 510600, 3),
|
|
|
|
+(510623, '中江县', 510600, 3),
|
|
|
|
+(510681, '广汉市', 510600, 3),
|
|
|
|
+(510682, '什邡市', 510600, 3),
|
|
|
|
+(510683, '绵竹市', 510600, 3),
|
|
|
|
+(510700, '绵阳市', 510000, 2),
|
|
|
|
+(510703, '涪城区', 510700, 3),
|
|
|
|
+(510704, '游仙区', 510700, 3),
|
|
|
|
+(510705, '安州区', 510700, 3),
|
|
|
|
+(510722, '三台县', 510700, 3),
|
|
|
|
+(510723, '盐亭县', 510700, 3),
|
|
|
|
+(510725, '梓潼县', 510700, 3),
|
|
|
|
+(510726, '北川羌族自治县', 510700, 3),
|
|
|
|
+(510727, '平武县', 510700, 3),
|
|
|
|
+(510781, '江油市', 510700, 3),
|
|
|
|
+(510800, '广元市', 510000, 2),
|
|
|
|
+(510802, '利州区', 510800, 3),
|
|
|
|
+(510811, '昭化区', 510800, 3),
|
|
|
|
+(510812, '朝天区', 510800, 3),
|
|
|
|
+(510821, '旺苍县', 510800, 3),
|
|
|
|
+(510822, '青川县', 510800, 3),
|
|
|
|
+(510823, '剑阁县', 510800, 3),
|
|
|
|
+(510824, '苍溪县', 510800, 3),
|
|
|
|
+(510900, '遂宁市', 510000, 2),
|
|
|
|
+(510903, '船山区', 510900, 3),
|
|
|
|
+(510904, '安居区', 510900, 3),
|
|
|
|
+(510921, '蓬溪县', 510900, 3),
|
|
|
|
+(510922, '射洪县', 510900, 3),
|
|
|
|
+(510923, '大英县', 510900, 3),
|
|
|
|
+(511000, '内江市', 510000, 2),
|
|
|
|
+(511002, '市中区', 511000, 3),
|
|
|
|
+(511011, '东兴区', 511000, 3),
|
|
|
|
+(511024, '威远县', 511000, 3),
|
|
|
|
+(511025, '资中县', 511000, 3),
|
|
|
|
+(511083, '隆昌市', 511000, 3),
|
|
|
|
+(511100, '乐山市', 510000, 2),
|
|
|
|
+(511102, '市中区', 511100, 3),
|
|
|
|
+(511111, '沙湾区', 511100, 3),
|
|
|
|
+(511112, '五通桥区', 511100, 3),
|
|
|
|
+(511113, '金口河区', 511100, 3),
|
|
|
|
+(511123, '犍为县', 511100, 3),
|
|
|
|
+(511124, '井研县', 511100, 3),
|
|
|
|
+(511126, '夹江县', 511100, 3),
|
|
|
|
+(511129, '沐川县', 511100, 3),
|
|
|
|
+(511132, '峨边彝族自治县', 511100, 3),
|
|
|
|
+(511133, '马边彝族自治县', 511100, 3),
|
|
|
|
+(511181, '峨眉山市', 511100, 3),
|
|
|
|
+(511300, '南充市', 510000, 2),
|
|
|
|
+(511302, '顺庆区', 511300, 3),
|
|
|
|
+(511303, '高坪区', 511300, 3),
|
|
|
|
+(511304, '嘉陵区', 511300, 3),
|
|
|
|
+(511321, '南部县', 511300, 3),
|
|
|
|
+(511322, '营山县', 511300, 3),
|
|
|
|
+(511323, '蓬安县', 511300, 3),
|
|
|
|
+(511324, '仪陇县', 511300, 3),
|
|
|
|
+(511325, '西充县', 511300, 3),
|
|
|
|
+(511381, '阆中市', 511300, 3),
|
|
|
|
+(511400, '眉山市', 510000, 2),
|
|
|
|
+(511402, '东坡区', 511400, 3),
|
|
|
|
+(511403, '彭山区', 511400, 3),
|
|
|
|
+(511421, '仁寿县', 511400, 3),
|
|
|
|
+(511423, '洪雅县', 511400, 3),
|
|
|
|
+(511424, '丹棱县', 511400, 3),
|
|
|
|
+(511425, '青神县', 511400, 3),
|
|
|
|
+(511500, '宜宾市', 510000, 2),
|
|
|
|
+(511502, '翠屏区', 511500, 3),
|
|
|
|
+(511503, '南溪区', 511500, 3),
|
|
|
|
+(511521, '宜宾县', 511500, 3),
|
|
|
|
+(511523, '江安县', 511500, 3),
|
|
|
|
+(511524, '长宁县', 511500, 3),
|
|
|
|
+(511525, '高县', 511500, 3),
|
|
|
|
+(511526, '珙县', 511500, 3),
|
|
|
|
+(511527, '筠连县', 511500, 3),
|
|
|
|
+(511528, '兴文县', 511500, 3),
|
|
|
|
+(511529, '屏山县', 511500, 3),
|
|
|
|
+(511600, '广安市', 510000, 2),
|
|
|
|
+(511602, '广安区', 511600, 3),
|
|
|
|
+(511603, '前锋区', 511600, 3),
|
|
|
|
+(511621, '岳池县', 511600, 3),
|
|
|
|
+(511622, '武胜县', 511600, 3),
|
|
|
|
+(511623, '邻水县', 511600, 3),
|
|
|
|
+(511681, '华蓥市', 511600, 3),
|
|
|
|
+(511700, '达州市', 510000, 2),
|
|
|
|
+(511702, '通川区', 511700, 3),
|
|
|
|
+(511703, '达川区', 511700, 3),
|
|
|
|
+(511722, '宣汉县', 511700, 3),
|
|
|
|
+(511723, '开江县', 511700, 3),
|
|
|
|
+(511724, '大竹县', 511700, 3),
|
|
|
|
+(511725, '渠县', 511700, 3),
|
|
|
|
+(511781, '万源市', 511700, 3),
|
|
|
|
+(511800, '雅安市', 510000, 2),
|
|
|
|
+(511802, '雨城区', 511800, 3),
|
|
|
|
+(511803, '名山区', 511800, 3),
|
|
|
|
+(511822, '荥经县', 511800, 3),
|
|
|
|
+(511823, '汉源县', 511800, 3),
|
|
|
|
+(511824, '石棉县', 511800, 3),
|
|
|
|
+(511825, '天全县', 511800, 3),
|
|
|
|
+(511826, '芦山县', 511800, 3),
|
|
|
|
+(511827, '宝兴县', 511800, 3),
|
|
|
|
+(511900, '巴中市', 510000, 2),
|
|
|
|
+(511902, '巴州区', 511900, 3),
|
|
|
|
+(511903, '恩阳区', 511900, 3),
|
|
|
|
+(511921, '通江县', 511900, 3),
|
|
|
|
+(511922, '南江县', 511900, 3),
|
|
|
|
+(511923, '平昌县', 511900, 3),
|
|
|
|
+(512000, '资阳市', 510000, 2),
|
|
|
|
+(512002, '雁江区', 512000, 3),
|
|
|
|
+(512021, '安岳县', 512000, 3),
|
|
|
|
+(512022, '乐至县', 512000, 3),
|
|
|
|
+(513200, '阿坝藏族羌族自治州', 510000, 2),
|
|
|
|
+(513201, '马尔康市', 513200, 3),
|
|
|
|
+(513221, '汶川县', 513200, 3),
|
|
|
|
+(513222, '理县', 513200, 3),
|
|
|
|
+(513223, '茂县', 513200, 3),
|
|
|
|
+(513224, '松潘县', 513200, 3),
|
|
|
|
+(513225, '九寨沟县', 513200, 3),
|
|
|
|
+(513226, '金川县', 513200, 3),
|
|
|
|
+(513227, '小金县', 513200, 3),
|
|
|
|
+(513228, '黑水县', 513200, 3),
|
|
|
|
+(513230, '壤塘县', 513200, 3),
|
|
|
|
+(513231, '阿坝县', 513200, 3),
|
|
|
|
+(513232, '若尔盖县', 513200, 3),
|
|
|
|
+(513233, '红原县', 513200, 3),
|
|
|
|
+(513300, '甘孜藏族自治州', 510000, 2),
|
|
|
|
+(513301, '康定市', 513300, 3),
|
|
|
|
+(513322, '泸定县', 513300, 3),
|
|
|
|
+(513323, '丹巴县', 513300, 3),
|
|
|
|
+(513324, '九龙县', 513300, 3),
|
|
|
|
+(513325, '雅江县', 513300, 3),
|
|
|
|
+(513326, '道孚县', 513300, 3),
|
|
|
|
+(513327, '炉霍县', 513300, 3),
|
|
|
|
+(513328, '甘孜县', 513300, 3),
|
|
|
|
+(513329, '新龙县', 513300, 3),
|
|
|
|
+(513330, '德格县', 513300, 3),
|
|
|
|
+(513331, '白玉县', 513300, 3),
|
|
|
|
+(513332, '石渠县', 513300, 3),
|
|
|
|
+(513333, '色达县', 513300, 3),
|
|
|
|
+(513334, '理塘县', 513300, 3),
|
|
|
|
+(513335, '巴塘县', 513300, 3),
|
|
|
|
+(513336, '乡城县', 513300, 3),
|
|
|
|
+(513337, '稻城县', 513300, 3),
|
|
|
|
+(513338, '得荣县', 513300, 3),
|
|
|
|
+(513400, '凉山彝族自治州', 510000, 2),
|
|
|
|
+(513401, '西昌市', 513400, 3),
|
|
|
|
+(513422, '木里藏族自治县', 513400, 3),
|
|
|
|
+(513423, '盐源县', 513400, 3),
|
|
|
|
+(513424, '德昌县', 513400, 3),
|
|
|
|
+(513425, '会理县', 513400, 3),
|
|
|
|
+(513426, '会东县', 513400, 3),
|
|
|
|
+(513427, '宁南县', 513400, 3),
|
|
|
|
+(513428, '普格县', 513400, 3),
|
|
|
|
+(513429, '布拖县', 513400, 3),
|
|
|
|
+(513430, '金阳县', 513400, 3),
|
|
|
|
+(513431, '昭觉县', 513400, 3),
|
|
|
|
+(513432, '喜德县', 513400, 3),
|
|
|
|
+(513433, '冕宁县', 513400, 3),
|
|
|
|
+(513434, '越西县', 513400, 3),
|
|
|
|
+(513435, '甘洛县', 513400, 3),
|
|
|
|
+(513436, '美姑县', 513400, 3),
|
|
|
|
+(513437, '雷波县', 513400, 3),
|
|
|
|
+(520000, '贵州省', 0, 1),
|
|
|
|
+(520100, '贵阳市', 520000, 2),
|
|
|
|
+(520102, '南明区', 520100, 3),
|
|
|
|
+(520103, '云岩区', 520100, 3),
|
|
|
|
+(520111, '花溪区', 520100, 3),
|
|
|
|
+(520112, '乌当区', 520100, 3),
|
|
|
|
+(520113, '白云区', 520100, 3),
|
|
|
|
+(520115, '观山湖区', 520100, 3),
|
|
|
|
+(520121, '开阳县', 520100, 3),
|
|
|
|
+(520122, '息烽县', 520100, 3),
|
|
|
|
+(520123, '修文县', 520100, 3),
|
|
|
|
+(520181, '清镇市', 520100, 3),
|
|
|
|
+(520200, '六盘水市', 520000, 2),
|
|
|
|
+(520201, '钟山区', 520200, 3),
|
|
|
|
+(520203, '六枝特区', 520200, 3),
|
|
|
|
+(520221, '水城县', 520200, 3),
|
|
|
|
+(520281, '盘州市', 520200, 3),
|
|
|
|
+(520300, '遵义市', 520000, 2),
|
|
|
|
+(520302, '红花岗区', 520300, 3),
|
|
|
|
+(520303, '汇川区', 520300, 3),
|
|
|
|
+(520304, '播州区', 520300, 3),
|
|
|
|
+(520322, '桐梓县', 520300, 3),
|
|
|
|
+(520323, '绥阳县', 520300, 3),
|
|
|
|
+(520324, '正安县', 520300, 3),
|
|
|
|
+(520325, '道真仡佬族苗族自治县', 520300, 3),
|
|
|
|
+(520326, '务川仡佬族苗族自治县', 520300, 3),
|
|
|
|
+(520327, '凤冈县', 520300, 3),
|
|
|
|
+(520328, '湄潭县', 520300, 3),
|
|
|
|
+(520329, '余庆县', 520300, 3),
|
|
|
|
+(520330, '习水县', 520300, 3),
|
|
|
|
+(520381, '赤水市', 520300, 3),
|
|
|
|
+(520382, '仁怀市', 520300, 3),
|
|
|
|
+(520400, '安顺市', 520000, 2),
|
|
|
|
+(520402, '西秀区', 520400, 3),
|
|
|
|
+(520403, '平坝区', 520400, 3),
|
|
|
|
+(520422, '普定县', 520400, 3),
|
|
|
|
+(520423, '镇宁布依族苗族自治县', 520400, 3),
|
|
|
|
+(520424, '关岭布依族苗族自治县', 520400, 3),
|
|
|
|
+(520425, '紫云苗族布依族自治县', 520400, 3),
|
|
|
|
+(520500, '毕节市', 520000, 2),
|
|
|
|
+(520502, '七星关区', 520500, 3),
|
|
|
|
+(520521, '大方县', 520500, 3),
|
|
|
|
+(520522, '黔西县', 520500, 3),
|
|
|
|
+(520523, '金沙县', 520500, 3),
|
|
|
|
+(520524, '织金县', 520500, 3),
|
|
|
|
+(520525, '纳雍县', 520500, 3),
|
|
|
|
+(520526, '威宁彝族回族苗族自治县', 520500, 3),
|
|
|
|
+(520527, '赫章县', 520500, 3),
|
|
|
|
+(520600, '铜仁市', 520000, 2),
|
|
|
|
+(520602, '碧江区', 520600, 3),
|
|
|
|
+(520603, '万山区', 520600, 3),
|
|
|
|
+(520621, '江口县', 520600, 3),
|
|
|
|
+(520622, '玉屏侗族自治县', 520600, 3),
|
|
|
|
+(520623, '石阡县', 520600, 3),
|
|
|
|
+(520624, '思南县', 520600, 3),
|
|
|
|
+(520625, '印江土家族苗族自治县', 520600, 3),
|
|
|
|
+(520626, '德江县', 520600, 3),
|
|
|
|
+(520627, '沿河土家族自治县', 520600, 3),
|
|
|
|
+(520628, '松桃苗族自治县', 520600, 3),
|
|
|
|
+(522300, '黔西南布依族苗族自治州', 520000, 2),
|
|
|
|
+(522301, '兴义市', 522300, 3),
|
|
|
|
+(522322, '兴仁县', 522300, 3),
|
|
|
|
+(522323, '普安县', 522300, 3),
|
|
|
|
+(522324, '晴隆县', 522300, 3),
|
|
|
|
+(522325, '贞丰县', 522300, 3),
|
|
|
|
+(522326, '望谟县', 522300, 3),
|
|
|
|
+(522327, '册亨县', 522300, 3),
|
|
|
|
+(522328, '安龙县', 522300, 3),
|
|
|
|
+(522600, '黔东南苗族侗族自治州', 520000, 2),
|
|
|
|
+(522601, '凯里市', 522600, 3),
|
|
|
|
+(522622, '黄平县', 522600, 3),
|
|
|
|
+(522623, '施秉县', 522600, 3),
|
|
|
|
+(522624, '三穗县', 522600, 3),
|
|
|
|
+(522625, '镇远县', 522600, 3),
|
|
|
|
+(522626, '岑巩县', 522600, 3),
|
|
|
|
+(522627, '天柱县', 522600, 3),
|
|
|
|
+(522628, '锦屏县', 522600, 3),
|
|
|
|
+(522629, '剑河县', 522600, 3),
|
|
|
|
+(522630, '台江县', 522600, 3),
|
|
|
|
+(522631, '黎平县', 522600, 3),
|
|
|
|
+(522632, '榕江县', 522600, 3),
|
|
|
|
+(522633, '从江县', 522600, 3),
|
|
|
|
+(522634, '雷山县', 522600, 3),
|
|
|
|
+(522635, '麻江县', 522600, 3),
|
|
|
|
+(522636, '丹寨县', 522600, 3),
|
|
|
|
+(522700, '黔南布依族苗族自治州', 520000, 2),
|
|
|
|
+(522701, '都匀市', 522700, 3),
|
|
|
|
+(522702, '福泉市', 522700, 3),
|
|
|
|
+(522722, '荔波县', 522700, 3),
|
|
|
|
+(522723, '贵定县', 522700, 3),
|
|
|
|
+(522725, '瓮安县', 522700, 3),
|
|
|
|
+(522726, '独山县', 522700, 3),
|
|
|
|
+(522727, '平塘县', 522700, 3),
|
|
|
|
+(522728, '罗甸县', 522700, 3),
|
|
|
|
+(522729, '长顺县', 522700, 3),
|
|
|
|
+(522730, '龙里县', 522700, 3),
|
|
|
|
+(522731, '惠水县', 522700, 3),
|
|
|
|
+(522732, '三都水族自治县', 522700, 3),
|
|
|
|
+(530000, '云南省', 0, 1),
|
|
|
|
+(530100, '昆明市', 530000, 2),
|
|
|
|
+(530102, '五华区', 530100, 3),
|
|
|
|
+(530103, '盘龙区', 530100, 3),
|
|
|
|
+(530111, '官渡区', 530100, 3),
|
|
|
|
+(530112, '西山区', 530100, 3),
|
|
|
|
+(530113, '东川区', 530100, 3),
|
|
|
|
+(530114, '呈贡区', 530100, 3),
|
|
|
|
+(530115, '晋宁区', 530100, 3),
|
|
|
|
+(530124, '富民县', 530100, 3),
|
|
|
|
+(530125, '宜良县', 530100, 3),
|
|
|
|
+(530126, '石林彝族自治县', 530100, 3),
|
|
|
|
+(530127, '嵩明县', 530100, 3),
|
|
|
|
+(530128, '禄劝彝族苗族自治县', 530100, 3),
|
|
|
|
+(530129, '寻甸回族彝族自治县', 530100, 3),
|
|
|
|
+(530181, '安宁市', 530100, 3),
|
|
|
|
+(530300, '曲靖市', 530000, 2),
|
|
|
|
+(530302, '麒麟区', 530300, 3),
|
|
|
|
+(530303, '沾益区', 530300, 3),
|
|
|
|
+(530321, '马龙县', 530300, 3),
|
|
|
|
+(530322, '陆良县', 530300, 3),
|
|
|
|
+(530323, '师宗县', 530300, 3),
|
|
|
|
+(530324, '罗平县', 530300, 3),
|
|
|
|
+(530325, '富源县', 530300, 3),
|
|
|
|
+(530326, '会泽县', 530300, 3),
|
|
|
|
+(530381, '宣威市', 530300, 3),
|
|
|
|
+(530400, '玉溪市', 530000, 2),
|
|
|
|
+(530402, '红塔区', 530400, 3),
|
|
|
|
+(530403, '江川区', 530400, 3),
|
|
|
|
+(530422, '澄江县', 530400, 3),
|
|
|
|
+(530423, '通海县', 530400, 3),
|
|
|
|
+(530424, '华宁县', 530400, 3),
|
|
|
|
+(530425, '易门县', 530400, 3),
|
|
|
|
+(530426, '峨山彝族自治县', 530400, 3),
|
|
|
|
+(530427, '新平彝族傣族自治县', 530400, 3),
|
|
|
|
+(530428, '元江哈尼族彝族傣族自治县', 530400, 3),
|
|
|
|
+(530500, '保山市', 530000, 2),
|
|
|
|
+(530502, '隆阳区', 530500, 3),
|
|
|
|
+(530521, '施甸县', 530500, 3),
|
|
|
|
+(530523, '龙陵县', 530500, 3),
|
|
|
|
+(530524, '昌宁县', 530500, 3),
|
|
|
|
+(530581, '腾冲市', 530500, 3),
|
|
|
|
+(530600, '昭通市', 530000, 2),
|
|
|
|
+(530602, '昭阳区', 530600, 3),
|
|
|
|
+(530621, '鲁甸县', 530600, 3),
|
|
|
|
+(530622, '巧家县', 530600, 3),
|
|
|
|
+(530623, '盐津县', 530600, 3),
|
|
|
|
+(530624, '大关县', 530600, 3),
|
|
|
|
+(530625, '永善县', 530600, 3),
|
|
|
|
+(530626, '绥江县', 530600, 3),
|
|
|
|
+(530627, '镇雄县', 530600, 3),
|
|
|
|
+(530628, '彝良县', 530600, 3),
|
|
|
|
+(530629, '威信县', 530600, 3),
|
|
|
|
+(530630, '水富县', 530600, 3),
|
|
|
|
+(530700, '丽江市', 530000, 2),
|
|
|
|
+(530702, '古城区', 530700, 3),
|
|
|
|
+(530721, '玉龙纳西族自治县', 530700, 3),
|
|
|
|
+(530722, '永胜县', 530700, 3),
|
|
|
|
+(530723, '华坪县', 530700, 3),
|
|
|
|
+(530724, '宁蒗彝族自治县', 530700, 3),
|
|
|
|
+(530800, '普洱市', 530000, 2),
|
|
|
|
+(530802, '思茅区', 530800, 3),
|
|
|
|
+(530821, '宁洱哈尼族彝族自治县', 530800, 3),
|
|
|
|
+(530822, '墨江哈尼族自治县', 530800, 3),
|
|
|
|
+(530823, '景东彝族自治县', 530800, 3),
|
|
|
|
+(530824, '景谷傣族彝族自治县', 530800, 3),
|
|
|
|
+(530825, '镇沅彝族哈尼族拉祜族自治县', 530800, 3),
|
|
|
|
+(530826, '江城哈尼族彝族自治县', 530800, 3),
|
|
|
|
+(530827, '孟连傣族拉祜族佤族自治县', 530800, 3),
|
|
|
|
+(530828, '澜沧拉祜族自治县', 530800, 3),
|
|
|
|
+(530829, '西盟佤族自治县', 530800, 3),
|
|
|
|
+(530900, '临沧市', 530000, 2),
|
|
|
|
+(530902, '临翔区', 530900, 3),
|
|
|
|
+(530921, '凤庆县', 530900, 3),
|
|
|
|
+(530922, '云县', 530900, 3),
|
|
|
|
+(530923, '永德县', 530900, 3),
|
|
|
|
+(530924, '镇康县', 530900, 3),
|
|
|
|
+(530925, '双江拉祜族佤族布朗族傣族自治县', 530900, 3),
|
|
|
|
+(530926, '耿马傣族佤族自治县', 530900, 3),
|
|
|
|
+(530927, '沧源佤族自治县', 530900, 3),
|
|
|
|
+(532300, '楚雄彝族自治州', 530000, 2),
|
|
|
|
+(532301, '楚雄市', 532300, 3),
|
|
|
|
+(532322, '双柏县', 532300, 3),
|
|
|
|
+(532323, '牟定县', 532300, 3),
|
|
|
|
+(532324, '南华县', 532300, 3),
|
|
|
|
+(532325, '姚安县', 532300, 3),
|
|
|
|
+(532326, '大姚县', 532300, 3),
|
|
|
|
+(532327, '永仁县', 532300, 3),
|
|
|
|
+(532328, '元谋县', 532300, 3),
|
|
|
|
+(532329, '武定县', 532300, 3),
|
|
|
|
+(532331, '禄丰县', 532300, 3),
|
|
|
|
+(532500, '红河哈尼族彝族自治州', 530000, 2),
|
|
|
|
+(532501, '个旧市', 532500, 3),
|
|
|
|
+(532502, '开远市', 532500, 3),
|
|
|
|
+(532503, '蒙自市', 532500, 3),
|
|
|
|
+(532504, '弥勒市', 532500, 3),
|
|
|
|
+(532523, '屏边苗族自治县', 532500, 3),
|
|
|
|
+(532524, '建水县', 532500, 3),
|
|
|
|
+(532525, '石屏县', 532500, 3),
|
|
|
|
+(532527, '泸西县', 532500, 3),
|
|
|
|
+(532528, '元阳县', 532500, 3),
|
|
|
|
+(532529, '红河县', 532500, 3),
|
|
|
|
+(532530, '金平苗族瑶族傣族自治县', 532500, 3),
|
|
|
|
+(532531, '绿春县', 532500, 3),
|
|
|
|
+(532532, '河口瑶族自治县', 532500, 3),
|
|
|
|
+(532600, '文山壮族苗族自治州', 530000, 2),
|
|
|
|
+(532601, '文山市', 532600, 3),
|
|
|
|
+(532622, '砚山县', 532600, 3),
|
|
|
|
+(532623, '西畴县', 532600, 3),
|
|
|
|
+(532624, '麻栗坡县', 532600, 3),
|
|
|
|
+(532625, '马关县', 532600, 3),
|
|
|
|
+(532626, '丘北县', 532600, 3),
|
|
|
|
+(532627, '广南县', 532600, 3),
|
|
|
|
+(532628, '富宁县', 532600, 3),
|
|
|
|
+(532800, '西双版纳傣族自治州', 530000, 2),
|
|
|
|
+(532801, '景洪市', 532800, 3),
|
|
|
|
+(532822, '勐海县', 532800, 3),
|
|
|
|
+(532823, '勐腊县', 532800, 3),
|
|
|
|
+(532900, '大理白族自治州', 530000, 2),
|
|
|
|
+(532901, '大理市', 532900, 3),
|
|
|
|
+(532922, '漾濞彝族自治县', 532900, 3),
|
|
|
|
+(532923, '祥云县', 532900, 3),
|
|
|
|
+(532924, '宾川县', 532900, 3),
|
|
|
|
+(532925, '弥渡县', 532900, 3),
|
|
|
|
+(532926, '南涧彝族自治县', 532900, 3),
|
|
|
|
+(532927, '巍山彝族回族自治县', 532900, 3),
|
|
|
|
+(532928, '永平县', 532900, 3),
|
|
|
|
+(532929, '云龙县', 532900, 3),
|
|
|
|
+(532930, '洱源县', 532900, 3),
|
|
|
|
+(532931, '剑川县', 532900, 3),
|
|
|
|
+(532932, '鹤庆县', 532900, 3),
|
|
|
|
+(533100, '德宏傣族景颇族自治州', 530000, 2),
|
|
|
|
+(533102, '瑞丽市', 533100, 3),
|
|
|
|
+(533103, '芒市', 533100, 3),
|
|
|
|
+(533122, '梁河县', 533100, 3),
|
|
|
|
+(533123, '盈江县', 533100, 3),
|
|
|
|
+(533124, '陇川县', 533100, 3),
|
|
|
|
+(533300, '怒江傈僳族自治州', 530000, 2),
|
|
|
|
+(533301, '泸水市', 533300, 3),
|
|
|
|
+(533323, '福贡县', 533300, 3),
|
|
|
|
+(533324, '贡山独龙族怒族自治县', 533300, 3),
|
|
|
|
+(533325, '兰坪白族普米族自治县', 533300, 3),
|
|
|
|
+(533400, '迪庆藏族自治州', 530000, 2),
|
|
|
|
+(533401, '香格里拉市', 533400, 3),
|
|
|
|
+(533422, '德钦县', 533400, 3),
|
|
|
|
+(533423, '维西傈僳族自治县', 533400, 3),
|
|
|
|
+(540000, '西藏自治区', 0, 1),
|
|
|
|
+(540100, '拉萨市', 540000, 2),
|
|
|
|
+(540102, '城关区', 540100, 3),
|
|
|
|
+(540103, '堆龙德庆区', 540100, 3),
|
|
|
|
+(540104, '达孜区', 540100, 3),
|
|
|
|
+(540121, '林周县', 540100, 3),
|
|
|
|
+(540122, '当雄县', 540100, 3),
|
|
|
|
+(540123, '尼木县', 540100, 3),
|
|
|
|
+(540124, '曲水县', 540100, 3),
|
|
|
|
+(540127, '墨竹工卡县', 540100, 3),
|
|
|
|
+(540200, '日喀则市', 540000, 2),
|
|
|
|
+(540202, '桑珠孜区', 540200, 3),
|
|
|
|
+(540221, '南木林县', 540200, 3),
|
|
|
|
+(540222, '江孜县', 540200, 3),
|
|
|
|
+(540223, '定日县', 540200, 3),
|
|
|
|
+(540224, '萨迦县', 540200, 3),
|
|
|
|
+(540225, '拉孜县', 540200, 3),
|
|
|
|
+(540226, '昂仁县', 540200, 3),
|
|
|
|
+(540227, '谢通门县', 540200, 3),
|
|
|
|
+(540228, '白朗县', 540200, 3),
|
|
|
|
+(540229, '仁布县', 540200, 3),
|
|
|
|
+(540230, '康马县', 540200, 3),
|
|
|
|
+(540231, '定结县', 540200, 3),
|
|
|
|
+(540232, '仲巴县', 540200, 3),
|
|
|
|
+(540233, '亚东县', 540200, 3),
|
|
|
|
+(540234, '吉隆县', 540200, 3),
|
|
|
|
+(540235, '聂拉木县', 540200, 3),
|
|
|
|
+(540236, '萨嘎县', 540200, 3),
|
|
|
|
+(540237, '岗巴县', 540200, 3),
|
|
|
|
+(540300, '昌都市', 540000, 2),
|
|
|
|
+(540302, '卡若区', 540300, 3),
|
|
|
|
+(540321, '江达县', 540300, 3),
|
|
|
|
+(540322, '贡觉县', 540300, 3),
|
|
|
|
+(540323, '类乌齐县', 540300, 3),
|
|
|
|
+(540324, '丁青县', 540300, 3),
|
|
|
|
+(540325, '察雅县', 540300, 3),
|
|
|
|
+(540326, '八宿县', 540300, 3),
|
|
|
|
+(540327, '左贡县', 540300, 3),
|
|
|
|
+(540328, '芒康县', 540300, 3),
|
|
|
|
+(540329, '洛隆县', 540300, 3),
|
|
|
|
+(540330, '边坝县', 540300, 3),
|
|
|
|
+(540400, '林芝市', 540000, 2),
|
|
|
|
+(540402, '巴宜区', 540400, 3),
|
|
|
|
+(540421, '工布江达县', 540400, 3),
|
|
|
|
+(540422, '米林县', 540400, 3),
|
|
|
|
+(540423, '墨脱县', 540400, 3),
|
|
|
|
+(540424, '波密县', 540400, 3),
|
|
|
|
+(540425, '察隅县', 540400, 3),
|
|
|
|
+(540426, '朗县', 540400, 3),
|
|
|
|
+(540500, '山南市', 540000, 2),
|
|
|
|
+(540502, '乃东区', 540500, 3),
|
|
|
|
+(540521, '扎囊县', 540500, 3),
|
|
|
|
+(540522, '贡嘎县', 540500, 3),
|
|
|
|
+(540523, '桑日县', 540500, 3),
|
|
|
|
+(540524, '琼结县', 540500, 3),
|
|
|
|
+(540525, '曲松县', 540500, 3),
|
|
|
|
+(540526, '措美县', 540500, 3),
|
|
|
|
+(540527, '洛扎县', 540500, 3),
|
|
|
|
+(540528, '加查县', 540500, 3),
|
|
|
|
+(540529, '隆子县', 540500, 3),
|
|
|
|
+(540530, '错那县', 540500, 3),
|
|
|
|
+(540531, '浪卡子县', 540500, 3),
|
|
|
|
+(542400, '那曲地区', 540000, 2),
|
|
|
|
+(542421, '那曲县', 542400, 3),
|
|
|
|
+(542422, '嘉黎县', 542400, 3),
|
|
|
|
+(542423, '比如县', 542400, 3),
|
|
|
|
+(542424, '聂荣县', 542400, 3),
|
|
|
|
+(542425, '安多县', 542400, 3),
|
|
|
|
+(542426, '申扎县', 542400, 3),
|
|
|
|
+(542427, '索县', 542400, 3),
|
|
|
|
+(542428, '班戈县', 542400, 3),
|
|
|
|
+(542429, '巴青县', 542400, 3),
|
|
|
|
+(542430, '尼玛县', 542400, 3),
|
|
|
|
+(542431, '双湖县', 542400, 3),
|
|
|
|
+(542500, '阿里地区', 540000, 2),
|
|
|
|
+(542521, '普兰县', 542500, 3),
|
|
|
|
+(542522, '札达县', 542500, 3),
|
|
|
|
+(542523, '噶尔县', 542500, 3),
|
|
|
|
+(542524, '日土县', 542500, 3),
|
|
|
|
+(542525, '革吉县', 542500, 3),
|
|
|
|
+(542526, '改则县', 542500, 3),
|
|
|
|
+(542527, '措勤县', 542500, 3),
|
|
|
|
+(610000, '陕西省', 0, 1),
|
|
|
|
+(610100, '西安市', 610000, 2),
|
|
|
|
+(610102, '新城区', 610100, 3),
|
|
|
|
+(610103, '碑林区', 610100, 3),
|
|
|
|
+(610104, '莲湖区', 610100, 3),
|
|
|
|
+(610111, '灞桥区', 610100, 3),
|
|
|
|
+(610112, '未央区', 610100, 3),
|
|
|
|
+(610113, '雁塔区', 610100, 3),
|
|
|
|
+(610114, '阎良区', 610100, 3),
|
|
|
|
+(610115, '临潼区', 610100, 3),
|
|
|
|
+(610116, '长安区', 610100, 3),
|
|
|
|
+(610117, '高陵区', 610100, 3),
|
|
|
|
+(610118, '鄠邑区', 610100, 3),
|
|
|
|
+(610122, '蓝田县', 610100, 3),
|
|
|
|
+(610124, '周至县', 610100, 3),
|
|
|
|
+(610200, '铜川市', 610000, 2),
|
|
|
|
+(610202, '王益区', 610200, 3),
|
|
|
|
+(610203, '印台区', 610200, 3),
|
|
|
|
+(610204, '耀州区', 610200, 3),
|
|
|
|
+(610222, '宜君县', 610200, 3),
|
|
|
|
+(610300, '宝鸡市', 610000, 2),
|
|
|
|
+(610302, '渭滨区', 610300, 3),
|
|
|
|
+(610303, '金台区', 610300, 3),
|
|
|
|
+(610304, '陈仓区', 610300, 3),
|
|
|
|
+(610322, '凤翔县', 610300, 3),
|
|
|
|
+(610323, '岐山县', 610300, 3),
|
|
|
|
+(610324, '扶风县', 610300, 3),
|
|
|
|
+(610326, '眉县', 610300, 3),
|
|
|
|
+(610327, '陇县', 610300, 3),
|
|
|
|
+(610328, '千阳县', 610300, 3),
|
|
|
|
+(610329, '麟游县', 610300, 3),
|
|
|
|
+(610330, '凤县', 610300, 3),
|
|
|
|
+(610331, '太白县', 610300, 3),
|
|
|
|
+(610400, '咸阳市', 610000, 2),
|
|
|
|
+(610402, '秦都区', 610400, 3),
|
|
|
|
+(610403, '杨陵区', 610400, 3),
|
|
|
|
+(610404, '渭城区', 610400, 3),
|
|
|
|
+(610422, '三原县', 610400, 3),
|
|
|
|
+(610423, '泾阳县', 610400, 3),
|
|
|
|
+(610424, '乾县', 610400, 3),
|
|
|
|
+(610425, '礼泉县', 610400, 3),
|
|
|
|
+(610426, '永寿县', 610400, 3),
|
|
|
|
+(610427, '彬州市', 610400, 3),
|
|
|
|
+(610428, '长武县', 610400, 3),
|
|
|
|
+(610429, '旬邑县', 610400, 3),
|
|
|
|
+(610430, '淳化县', 610400, 3),
|
|
|
|
+(610431, '武功县', 610400, 3),
|
|
|
|
+(610481, '兴平市', 610400, 3),
|
|
|
|
+(610500, '渭南市', 610000, 2),
|
|
|
|
+(610502, '临渭区', 610500, 3),
|
|
|
|
+(610503, '华州区', 610500, 3),
|
|
|
|
+(610522, '潼关县', 610500, 3),
|
|
|
|
+(610523, '大荔县', 610500, 3),
|
|
|
|
+(610524, '合阳县', 610500, 3),
|
|
|
|
+(610525, '澄城县', 610500, 3),
|
|
|
|
+(610526, '蒲城县', 610500, 3),
|
|
|
|
+(610527, '白水县', 610500, 3),
|
|
|
|
+(610528, '富平县', 610500, 3),
|
|
|
|
+(610581, '韩城市', 610500, 3),
|
|
|
|
+(610582, '华阴市', 610500, 3),
|
|
|
|
+(610600, '延安市', 610000, 2),
|
|
|
|
+(610602, '宝塔区', 610600, 3),
|
|
|
|
+(610603, '安塞区', 610600, 3),
|
|
|
|
+(610621, '延长县', 610600, 3),
|
|
|
|
+(610622, '延川县', 610600, 3),
|
|
|
|
+(610623, '子长县', 610600, 3),
|
|
|
|
+(610625, '志丹县', 610600, 3),
|
|
|
|
+(610626, '吴起县', 610600, 3),
|
|
|
|
+(610627, '甘泉县', 610600, 3),
|
|
|
|
+(610628, '富县', 610600, 3),
|
|
|
|
+(610629, '洛川县', 610600, 3),
|
|
|
|
+(610630, '宜川县', 610600, 3),
|
|
|
|
+(610631, '黄龙县', 610600, 3),
|
|
|
|
+(610632, '黄陵县', 610600, 3),
|
|
|
|
+(610700, '汉中市', 610000, 2),
|
|
|
|
+(610702, '汉台区', 610700, 3),
|
|
|
|
+(610703, '南郑区', 610700, 3),
|
|
|
|
+(610722, '城固县', 610700, 3),
|
|
|
|
+(610723, '洋县', 610700, 3),
|
|
|
|
+(610724, '西乡县', 610700, 3),
|
|
|
|
+(610725, '勉县', 610700, 3),
|
|
|
|
+(610726, '宁强县', 610700, 3),
|
|
|
|
+(610727, '略阳县', 610700, 3),
|
|
|
|
+(610728, '镇巴县', 610700, 3),
|
|
|
|
+(610729, '留坝县', 610700, 3),
|
|
|
|
+(610730, '佛坪县', 610700, 3),
|
|
|
|
+(610800, '榆林市', 610000, 2),
|
|
|
|
+(610802, '榆阳区', 610800, 3),
|
|
|
|
+(610803, '横山区', 610800, 3),
|
|
|
|
+(610822, '府谷县', 610800, 3),
|
|
|
|
+(610824, '靖边县', 610800, 3),
|
|
|
|
+(610825, '定边县', 610800, 3),
|
|
|
|
+(610826, '绥德县', 610800, 3),
|
|
|
|
+(610827, '米脂县', 610800, 3),
|
|
|
|
+(610828, '佳县', 610800, 3),
|
|
|
|
+(610829, '吴堡县', 610800, 3),
|
|
|
|
+(610830, '清涧县', 610800, 3),
|
|
|
|
+(610831, '子洲县', 610800, 3),
|
|
|
|
+(610881, '神木市', 610800, 3),
|
|
|
|
+(610900, '安康市', 610000, 2),
|
|
|
|
+(610902, '汉滨区', 610900, 3),
|
|
|
|
+(610921, '汉阴县', 610900, 3),
|
|
|
|
+(610922, '石泉县', 610900, 3),
|
|
|
|
+(610923, '宁陕县', 610900, 3),
|
|
|
|
+(610924, '紫阳县', 610900, 3),
|
|
|
|
+(610925, '岚皋县', 610900, 3),
|
|
|
|
+(610926, '平利县', 610900, 3),
|
|
|
|
+(610927, '镇坪县', 610900, 3),
|
|
|
|
+(610928, '旬阳县', 610900, 3),
|
|
|
|
+(610929, '白河县', 610900, 3),
|
|
|
|
+(611000, '商洛市', 610000, 2),
|
|
|
|
+(611002, '商州区', 611000, 3),
|
|
|
|
+(611021, '洛南县', 611000, 3),
|
|
|
|
+(611022, '丹凤县', 611000, 3),
|
|
|
|
+(611023, '商南县', 611000, 3),
|
|
|
|
+(611024, '山阳县', 611000, 3),
|
|
|
|
+(611025, '镇安县', 611000, 3),
|
|
|
|
+(611026, '柞水县', 611000, 3),
|
|
|
|
+(620000, '甘肃省', 0, 1),
|
|
|
|
+(620100, '兰州市', 620000, 2),
|
|
|
|
+(620102, '城关区', 620100, 3),
|
|
|
|
+(620103, '七里河区', 620100, 3),
|
|
|
|
+(620104, '西固区', 620100, 3),
|
|
|
|
+(620105, '安宁区', 620100, 3),
|
|
|
|
+(620111, '红古区', 620100, 3),
|
|
|
|
+(620121, '永登县', 620100, 3),
|
|
|
|
+(620122, '皋兰县', 620100, 3),
|
|
|
|
+(620123, '榆中县', 620100, 3),
|
|
|
|
+(620200, '嘉峪关市', 620000, 2),
|
|
|
|
+(620201, '雄关区', 620200, 3),
|
|
|
|
+(620202, '镜铁区', 620200, 3),
|
|
|
|
+(620203, '长城区', 620200, 3),
|
|
|
|
+(620300, '金昌市', 620000, 2),
|
|
|
|
+(620302, '金川区', 620300, 3),
|
|
|
|
+(620321, '永昌县', 620300, 3),
|
|
|
|
+(620400, '白银市', 620000, 2),
|
|
|
|
+(620402, '白银区', 620400, 3),
|
|
|
|
+(620403, '平川区', 620400, 3),
|
|
|
|
+(620421, '靖远县', 620400, 3),
|
|
|
|
+(620422, '会宁县', 620400, 3),
|
|
|
|
+(620423, '景泰县', 620400, 3),
|
|
|
|
+(620500, '天水市', 620000, 2),
|
|
|
|
+(620502, '秦州区', 620500, 3),
|
|
|
|
+(620503, '麦积区', 620500, 3),
|
|
|
|
+(620521, '清水县', 620500, 3),
|
|
|
|
+(620522, '秦安县', 620500, 3),
|
|
|
|
+(620523, '甘谷县', 620500, 3),
|
|
|
|
+(620524, '武山县', 620500, 3),
|
|
|
|
+(620525, '张家川回族自治县', 620500, 3),
|
|
|
|
+(620600, '武威市', 620000, 2),
|
|
|
|
+(620602, '凉州区', 620600, 3),
|
|
|
|
+(620621, '民勤县', 620600, 3),
|
|
|
|
+(620622, '古浪县', 620600, 3),
|
|
|
|
+(620623, '天祝藏族自治县', 620600, 3),
|
|
|
|
+(620700, '张掖市', 620000, 2),
|
|
|
|
+(620702, '甘州区', 620700, 3),
|
|
|
|
+(620721, '肃南裕固族自治县', 620700, 3),
|
|
|
|
+(620722, '民乐县', 620700, 3),
|
|
|
|
+(620723, '临泽县', 620700, 3),
|
|
|
|
+(620724, '高台县', 620700, 3),
|
|
|
|
+(620725, '山丹县', 620700, 3),
|
|
|
|
+(620800, '平凉市', 620000, 2),
|
|
|
|
+(620802, '崆峒区', 620800, 3),
|
|
|
|
+(620821, '泾川县', 620800, 3),
|
|
|
|
+(620822, '灵台县', 620800, 3),
|
|
|
|
+(620823, '崇信县', 620800, 3),
|
|
|
|
+(620824, '华亭县', 620800, 3),
|
|
|
|
+(620825, '庄浪县', 620800, 3),
|
|
|
|
+(620826, '静宁县', 620800, 3),
|
|
|
|
+(620900, '酒泉市', 620000, 2),
|
|
|
|
+(620902, '肃州区', 620900, 3),
|
|
|
|
+(620921, '金塔县', 620900, 3),
|
|
|
|
+(620922, '瓜州县', 620900, 3),
|
|
|
|
+(620923, '肃北蒙古族自治县', 620900, 3),
|
|
|
|
+(620924, '阿克塞哈萨克族自治县', 620900, 3),
|
|
|
|
+(620981, '玉门市', 620900, 3),
|
|
|
|
+(620982, '敦煌市', 620900, 3),
|
|
|
|
+(621000, '庆阳市', 620000, 2),
|
|
|
|
+(621002, '西峰区', 621000, 3),
|
|
|
|
+(621021, '庆城县', 621000, 3),
|
|
|
|
+(621022, '环县', 621000, 3),
|
|
|
|
+(621023, '华池县', 621000, 3),
|
|
|
|
+(621024, '合水县', 621000, 3),
|
|
|
|
+(621025, '正宁县', 621000, 3),
|
|
|
|
+(621026, '宁县', 621000, 3),
|
|
|
|
+(621027, '镇原县', 621000, 3),
|
|
|
|
+(621100, '定西市', 620000, 2),
|
|
|
|
+(621102, '安定区', 621100, 3),
|
|
|
|
+(621121, '通渭县', 621100, 3),
|
|
|
|
+(621122, '陇西县', 621100, 3),
|
|
|
|
+(621123, '渭源县', 621100, 3),
|
|
|
|
+(621124, '临洮县', 621100, 3),
|
|
|
|
+(621125, '漳县', 621100, 3),
|
|
|
|
+(621126, '岷县', 621100, 3),
|
|
|
|
+(621200, '陇南市', 620000, 2),
|
|
|
|
+(621202, '武都区', 621200, 3),
|
|
|
|
+(621221, '成县', 621200, 3),
|
|
|
|
+(621222, '文县', 621200, 3),
|
|
|
|
+(621223, '宕昌县', 621200, 3),
|
|
|
|
+(621224, '康县', 621200, 3),
|
|
|
|
+(621225, '西和县', 621200, 3),
|
|
|
|
+(621226, '礼县', 621200, 3),
|
|
|
|
+(621227, '徽县', 621200, 3),
|
|
|
|
+(621228, '两当县', 621200, 3),
|
|
|
|
+(622900, '临夏回族自治州', 620000, 2),
|
|
|
|
+(622901, '临夏市', 622900, 3),
|
|
|
|
+(622921, '临夏县', 622900, 3),
|
|
|
|
+(622922, '康乐县', 622900, 3),
|
|
|
|
+(622923, '永靖县', 622900, 3),
|
|
|
|
+(622924, '广河县', 622900, 3),
|
|
|
|
+(622925, '和政县', 622900, 3),
|
|
|
|
+(622926, '东乡族自治县', 622900, 3),
|
|
|
|
+(622927, '积石山保安族东乡族撒拉族自治县', 622900, 3),
|
|
|
|
+(623000, '甘南藏族自治州', 620000, 2),
|
|
|
|
+(623001, '合作市', 623000, 3),
|
|
|
|
+(623021, '临潭县', 623000, 3),
|
|
|
|
+(623022, '卓尼县', 623000, 3),
|
|
|
|
+(623023, '舟曲县', 623000, 3),
|
|
|
|
+(623024, '迭部县', 623000, 3),
|
|
|
|
+(623025, '玛曲县', 623000, 3),
|
|
|
|
+(623026, '碌曲县', 623000, 3),
|
|
|
|
+(623027, '夏河县', 623000, 3),
|
|
|
|
+(630000, '青海省', 0, 1),
|
|
|
|
+(630100, '西宁市', 630000, 2),
|
|
|
|
+(630102, '城东区', 630100, 3),
|
|
|
|
+(630103, '城中区', 630100, 3),
|
|
|
|
+(630104, '城西区', 630100, 3),
|
|
|
|
+(630105, '城北区', 630100, 3),
|
|
|
|
+(630121, '大通回族土族自治县', 630100, 3),
|
|
|
|
+(630122, '湟中县', 630100, 3),
|
|
|
|
+(630123, '湟源县', 630100, 3),
|
|
|
|
+(630200, '海东市', 630000, 2),
|
|
|
|
+(630202, '乐都区', 630200, 3),
|
|
|
|
+(630203, '平安区', 630200, 3),
|
|
|
|
+(630222, '民和回族土族自治县', 630200, 3),
|
|
|
|
+(630223, '互助土族自治县', 630200, 3),
|
|
|
|
+(630224, '化隆回族自治县', 630200, 3),
|
|
|
|
+(630225, '循化撒拉族自治县', 630200, 3),
|
|
|
|
+(632200, '海北藏族自治州', 630000, 2),
|
|
|
|
+(632221, '门源回族自治县', 632200, 3),
|
|
|
|
+(632222, '祁连县', 632200, 3),
|
|
|
|
+(632223, '海晏县', 632200, 3),
|
|
|
|
+(632224, '刚察县', 632200, 3),
|
|
|
|
+(632300, '黄南藏族自治州', 630000, 2),
|
|
|
|
+(632321, '同仁县', 632300, 3),
|
|
|
|
+(632322, '尖扎县', 632300, 3),
|
|
|
|
+(632323, '泽库县', 632300, 3),
|
|
|
|
+(632324, '河南蒙古族自治县', 632300, 3),
|
|
|
|
+(632500, '海南藏族自治州', 630000, 2),
|
|
|
|
+(632521, '共和县', 632500, 3),
|
|
|
|
+(632522, '同德县', 632500, 3),
|
|
|
|
+(632523, '贵德县', 632500, 3),
|
|
|
|
+(632524, '兴海县', 632500, 3),
|
|
|
|
+(632525, '贵南县', 632500, 3),
|
|
|
|
+(632600, '果洛藏族自治州', 630000, 2),
|
|
|
|
+(632621, '玛沁县', 632600, 3),
|
|
|
|
+(632622, '班玛县', 632600, 3),
|
|
|
|
+(632623, '甘德县', 632600, 3),
|
|
|
|
+(632624, '达日县', 632600, 3),
|
|
|
|
+(632625, '久治县', 632600, 3),
|
|
|
|
+(632626, '玛多县', 632600, 3),
|
|
|
|
+(632700, '玉树藏族自治州', 630000, 2),
|
|
|
|
+(632701, '玉树市', 632700, 3),
|
|
|
|
+(632722, '杂多县', 632700, 3),
|
|
|
|
+(632723, '称多县', 632700, 3),
|
|
|
|
+(632724, '治多县', 632700, 3),
|
|
|
|
+(632725, '囊谦县', 632700, 3),
|
|
|
|
+(632726, '曲麻莱县', 632700, 3),
|
|
|
|
+(632800, '海西蒙古族藏族自治州', 630000, 2),
|
|
|
|
+(632801, '格尔木市', 632800, 3),
|
|
|
|
+(632802, '德令哈市', 632800, 3),
|
|
|
|
+(632821, '乌兰县', 632800, 3),
|
|
|
|
+(632822, '都兰县', 632800, 3),
|
|
|
|
+(632823, '天峻县', 632800, 3),
|
|
|
|
+(632824, '冷湖行政委员会', 632800, 3),
|
|
|
|
+(632825, '大柴旦行政委员会', 632800, 3),
|
|
|
|
+(632826, '茫崖行政委员会', 632800, 3),
|
|
|
|
+(640000, '宁夏回族自治区', 0, 1),
|
|
|
|
+(640100, '银川市', 640000, 2),
|
|
|
|
+(640104, '兴庆区', 640100, 3),
|
|
|
|
+(640105, '西夏区', 640100, 3),
|
|
|
|
+(640106, '金凤区', 640100, 3),
|
|
|
|
+(640121, '永宁县', 640100, 3),
|
|
|
|
+(640122, '贺兰县', 640100, 3),
|
|
|
|
+(640181, '灵武市', 640100, 3),
|
|
|
|
+(640200, '石嘴山市', 640000, 2),
|
|
|
|
+(640202, '大武口区', 640200, 3),
|
|
|
|
+(640205, '惠农区', 640200, 3),
|
|
|
|
+(640221, '平罗县', 640200, 3),
|
|
|
|
+(640300, '吴忠市', 640000, 2),
|
|
|
|
+(640302, '利通区', 640300, 3),
|
|
|
|
+(640303, '红寺堡区', 640300, 3),
|
|
|
|
+(640323, '盐池县', 640300, 3),
|
|
|
|
+(640324, '同心县', 640300, 3),
|
|
|
|
+(640381, '青铜峡市', 640300, 3),
|
|
|
|
+(640400, '固原市', 640000, 2),
|
|
|
|
+(640402, '原州区', 640400, 3),
|
|
|
|
+(640422, '西吉县', 640400, 3),
|
|
|
|
+(640423, '隆德县', 640400, 3),
|
|
|
|
+(640424, '泾源县', 640400, 3),
|
|
|
|
+(640425, '彭阳县', 640400, 3),
|
|
|
|
+(640500, '中卫市', 640000, 2),
|
|
|
|
+(640502, '沙坡头区', 640500, 3),
|
|
|
|
+(640521, '中宁县', 640500, 3),
|
|
|
|
+(640522, '海原县', 640500, 3),
|
|
|
|
+(650000, '新疆维吾尔自治区', 0, 1),
|
|
|
|
+(650100, '乌鲁木齐市', 650000, 2),
|
|
|
|
+(650102, '天山区', 650100, 3),
|
|
|
|
+(650103, '沙依巴克区', 650100, 3),
|
|
|
|
+(650104, '新市区', 650100, 3),
|
|
|
|
+(650105, '水磨沟区', 650100, 3),
|
|
|
|
+(650106, '头屯河区', 650100, 3),
|
|
|
|
+(650107, '达坂城区', 650100, 3),
|
|
|
|
+(650109, '米东区', 650100, 3),
|
|
|
|
+(650121, '乌鲁木齐县', 650100, 3),
|
|
|
|
+(650200, '克拉玛依市', 650000, 2),
|
|
|
|
+(650202, '独山子区', 650200, 3),
|
|
|
|
+(650203, '克拉玛依区', 650200, 3),
|
|
|
|
+(650204, '白碱滩区', 650200, 3),
|
|
|
|
+(650205, '乌尔禾区', 650200, 3),
|
|
|
|
+(650400, '吐鲁番市', 650000, 2),
|
|
|
|
+(650402, '高昌区', 650400, 3),
|
|
|
|
+(650421, '鄯善县', 650400, 3),
|
|
|
|
+(650422, '托克逊县', 650400, 3),
|
|
|
|
+(650500, '哈密市', 650000, 2),
|
|
|
|
+(650502, '伊州区', 650500, 3),
|
|
|
|
+(650521, '巴里坤哈萨克自治县', 650500, 3),
|
|
|
|
+(650522, '伊吾县', 650500, 3),
|
|
|
|
+(652300, '昌吉回族自治州', 650000, 2),
|
|
|
|
+(652301, '昌吉市', 652300, 3),
|
|
|
|
+(652302, '阜康市', 652300, 3),
|
|
|
|
+(652323, '呼图壁县', 652300, 3),
|
|
|
|
+(652324, '玛纳斯县', 652300, 3),
|
|
|
|
+(652325, '奇台县', 652300, 3),
|
|
|
|
+(652327, '吉木萨尔县', 652300, 3),
|
|
|
|
+(652328, '木垒哈萨克自治县', 652300, 3),
|
|
|
|
+(652700, '博尔塔拉蒙古自治州', 650000, 2),
|
|
|
|
+(652701, '博乐市', 652700, 3),
|
|
|
|
+(652702, '阿拉山口市', 652700, 3),
|
|
|
|
+(652722, '精河县', 652700, 3),
|
|
|
|
+(652723, '温泉县', 652700, 3),
|
|
|
|
+(652800, '巴音郭楞蒙古自治州', 650000, 2),
|
|
|
|
+(652801, '库尔勒市', 652800, 3),
|
|
|
|
+(652822, '轮台县', 652800, 3),
|
|
|
|
+(652823, '尉犁县', 652800, 3),
|
|
|
|
+(652824, '若羌县', 652800, 3),
|
|
|
|
+(652825, '且末县', 652800, 3),
|
|
|
|
+(652826, '焉耆回族自治县', 652800, 3),
|
|
|
|
+(652827, '和静县', 652800, 3),
|
|
|
|
+(652828, '和硕县', 652800, 3),
|
|
|
|
+(652829, '博湖县', 652800, 3),
|
|
|
|
+(652900, '阿克苏地区', 650000, 2),
|
|
|
|
+(652901, '阿克苏市', 652900, 3),
|
|
|
|
+(652922, '温宿县', 652900, 3),
|
|
|
|
+(652923, '库车县', 652900, 3),
|
|
|
|
+(652924, '沙雅县', 652900, 3),
|
|
|
|
+(652925, '新和县', 652900, 3),
|
|
|
|
+(652926, '拜城县', 652900, 3),
|
|
|
|
+(652927, '乌什县', 652900, 3),
|
|
|
|
+(652928, '阿瓦提县', 652900, 3),
|
|
|
|
+(652929, '柯坪县', 652900, 3),
|
|
|
|
+(653000, '克孜勒苏柯尔克孜自治州', 650000, 2),
|
|
|
|
+(653001, '阿图什市', 653000, 3),
|
|
|
|
+(653022, '阿克陶县', 653000, 3),
|
|
|
|
+(653023, '阿合奇县', 653000, 3),
|
|
|
|
+(653024, '乌恰县', 653000, 3),
|
|
|
|
+(653100, '喀什地区', 650000, 2),
|
|
|
|
+(653101, '喀什市', 653100, 3),
|
|
|
|
+(653121, '疏附县', 653100, 3),
|
|
|
|
+(653122, '疏勒县', 653100, 3),
|
|
|
|
+(653123, '英吉沙县', 653100, 3),
|
|
|
|
+(653124, '泽普县', 653100, 3),
|
|
|
|
+(653125, '莎车县', 653100, 3),
|
|
|
|
+(653126, '叶城县', 653100, 3),
|
|
|
|
+(653127, '麦盖提县', 653100, 3),
|
|
|
|
+(653128, '岳普湖县', 653100, 3),
|
|
|
|
+(653129, '伽师县', 653100, 3),
|
|
|
|
+(653130, '巴楚县', 653100, 3),
|
|
|
|
+(653131, '塔什库尔干塔吉克自治县', 653100, 3),
|
|
|
|
+(653200, '和田地区', 650000, 2),
|
|
|
|
+(653201, '和田市', 653200, 3),
|
|
|
|
+(653221, '和田县', 653200, 3),
|
|
|
|
+(653222, '墨玉县', 653200, 3),
|
|
|
|
+(653223, '皮山县', 653200, 3),
|
|
|
|
+(653224, '洛浦县', 653200, 3),
|
|
|
|
+(653225, '策勒县', 653200, 3),
|
|
|
|
+(653226, '于田县', 653200, 3),
|
|
|
|
+(653227, '民丰县', 653200, 3),
|
|
|
|
+(654000, '伊犁哈萨克自治州', 650000, 2),
|
|
|
|
+(654002, '伊宁市', 654000, 3),
|
|
|
|
+(654003, '奎屯市', 654000, 3),
|
|
|
|
+(654004, '霍尔果斯市', 654000, 3),
|
|
|
|
+(654021, '伊宁县', 654000, 3),
|
|
|
|
+(654022, '察布查尔锡伯自治县', 654000, 3),
|
|
|
|
+(654023, '霍城县', 654000, 3),
|
|
|
|
+(654024, '巩留县', 654000, 3),
|
|
|
|
+(654025, '新源县', 654000, 3),
|
|
|
|
+(654026, '昭苏县', 654000, 3),
|
|
|
|
+(654027, '特克斯县', 654000, 3),
|
|
|
|
+(654028, '尼勒克县', 654000, 3),
|
|
|
|
+(654200, '塔城地区', 650000, 2),
|
|
|
|
+(654201, '塔城市', 654200, 3),
|
|
|
|
+(654202, '乌苏市', 654200, 3),
|
|
|
|
+(654221, '额敏县', 654200, 3),
|
|
|
|
+(654223, '沙湾县', 654200, 3),
|
|
|
|
+(654224, '托里县', 654200, 3),
|
|
|
|
+(654225, '裕民县', 654200, 3),
|
|
|
|
+(654226, '和布克赛尔蒙古自治县', 654200, 3),
|
|
|
|
+(654300, '阿勒泰地区', 650000, 2),
|
|
|
|
+(654301, '阿勒泰市', 654300, 3),
|
|
|
|
+(654321, '布尔津县', 654300, 3),
|
|
|
|
+(654322, '富蕴县', 654300, 3),
|
|
|
|
+(654323, '福海县', 654300, 3),
|
|
|
|
+(654324, '哈巴河县', 654300, 3),
|
|
|
|
+(654325, '青河县', 654300, 3),
|
|
|
|
+(654326, '吉木乃县', 654300, 3),
|
|
|
|
+(659000, '自治区直辖县级行政区划', 650000, 2),
|
|
|
|
+(659001, '石河子市', 659000, 3),
|
|
|
|
+(659002, '阿拉尔市', 659000, 3),
|
|
|
|
+(659003, '图木舒克市', 659000, 3),
|
|
|
|
+(659004, '五家渠市', 659000, 3),
|
|
|
|
+(659005, '北屯市', 659000, 3),
|
|
|
|
+(659006, '铁门关市', 659000, 3),
|
|
|
|
+(659007, '双河市', 659000, 3),
|
|
|
|
+(659008, '可克达拉市', 659000, 3),
|
|
|
|
+(659009, '昆玉市', 659000, 3),
|
|
|
|
+(710000, '台湾省', 0, 1),
|
|
|
|
+(710100, '台北市', 710000, 2),
|
|
|
|
+(710101, '中正区', 710100, 3),
|
|
|
|
+(710102, '大同区', 710100, 3),
|
|
|
|
+(710103, '中山区', 710100, 3),
|
|
|
|
+(710104, '松山区', 710100, 3),
|
|
|
|
+(710105, '大安区', 710100, 3),
|
|
|
|
+(710106, '万华区', 710100, 3),
|
|
|
|
+(710107, '信义区', 710100, 3),
|
|
|
|
+(710108, '士林区', 710100, 3),
|
|
|
|
+(710109, '北投区', 710100, 3),
|
|
|
|
+(710110, '内湖区', 710100, 3),
|
|
|
|
+(710111, '南港区', 710100, 3),
|
|
|
|
+(710112, '文山区', 710100, 3),
|
|
|
|
+(710200, '高雄市', 710000, 2),
|
|
|
|
+(710201, '新兴区', 710200, 3),
|
|
|
|
+(710202, '前金区', 710200, 3),
|
|
|
|
+(710203, '苓雅区', 710200, 3),
|
|
|
|
+(710204, '盐埕区', 710200, 3),
|
|
|
|
+(710205, '鼓山区', 710200, 3),
|
|
|
|
+(710206, '旗津区', 710200, 3),
|
|
|
|
+(710207, '前镇区', 710200, 3),
|
|
|
|
+(710208, '三民区', 710200, 3),
|
|
|
|
+(710209, '左营区', 710200, 3),
|
|
|
|
+(710210, '楠梓区', 710200, 3),
|
|
|
|
+(710211, '小港区', 710200, 3),
|
|
|
|
+(710242, '仁武区', 710200, 3),
|
|
|
|
+(710243, '大社区', 710200, 3),
|
|
|
|
+(710244, '冈山区', 710200, 3),
|
|
|
|
+(710245, '路竹区', 710200, 3),
|
|
|
|
+(710246, '阿莲区', 710200, 3),
|
|
|
|
+(710247, '田寮区', 710200, 3),
|
|
|
|
+(710248, '燕巢区', 710200, 3),
|
|
|
|
+(710249, '桥头区', 710200, 3),
|
|
|
|
+(710250, '梓官区', 710200, 3),
|
|
|
|
+(710251, '弥陀区', 710200, 3),
|
|
|
|
+(710252, '永安区', 710200, 3),
|
|
|
|
+(710253, '湖内区', 710200, 3),
|
|
|
|
+(710254, '凤山区', 710200, 3),
|
|
|
|
+(710255, '大寮区', 710200, 3),
|
|
|
|
+(710256, '林园区', 710200, 3),
|
|
|
|
+(710257, '鸟松区', 710200, 3),
|
|
|
|
+(710258, '大树区', 710200, 3),
|
|
|
|
+(710259, '旗山区', 710200, 3),
|
|
|
|
+(710260, '美浓区', 710200, 3),
|
|
|
|
+(710261, '六龟区', 710200, 3),
|
|
|
|
+(710262, '内门区', 710200, 3),
|
|
|
|
+(710263, '杉林区', 710200, 3),
|
|
|
|
+(710264, '甲仙区', 710200, 3),
|
|
|
|
+(710265, '桃源区', 710200, 3),
|
|
|
|
+(710266, '那玛夏区', 710200, 3),
|
|
|
|
+(710267, '茂林区', 710200, 3),
|
|
|
|
+(710268, '茄萣区', 710200, 3),
|
|
|
|
+(710300, '台南市', 710000, 2),
|
|
|
|
+(710301, '中西区', 710300, 3),
|
|
|
|
+(710302, '东区', 710300, 3),
|
|
|
|
+(710303, '南区', 710300, 3),
|
|
|
|
+(710304, '北区', 710300, 3),
|
|
|
|
+(710305, '安平区', 710300, 3),
|
|
|
|
+(710306, '安南区', 710300, 3),
|
|
|
|
+(710339, '永康区', 710300, 3),
|
|
|
|
+(710340, '归仁区', 710300, 3),
|
|
|
|
+(710341, '新化区', 710300, 3),
|
|
|
|
+(710342, '左镇区', 710300, 3),
|
|
|
|
+(710343, '玉井区', 710300, 3),
|
|
|
|
+(710344, '楠西区', 710300, 3),
|
|
|
|
+(710345, '南化区', 710300, 3),
|
|
|
|
+(710346, '仁德区', 710300, 3),
|
|
|
|
+(710347, '关庙区', 710300, 3),
|
|
|
|
+(710348, '龙崎区', 710300, 3),
|
|
|
|
+(710349, '官田区', 710300, 3),
|
|
|
|
+(710350, '麻豆区', 710300, 3),
|
|
|
|
+(710351, '佳里区', 710300, 3),
|
|
|
|
+(710352, '西港区', 710300, 3),
|
|
|
|
+(710353, '七股区', 710300, 3),
|
|
|
|
+(710354, '将军区', 710300, 3),
|
|
|
|
+(710355, '学甲区', 710300, 3),
|
|
|
|
+(710356, '北门区', 710300, 3),
|
|
|
|
+(710357, '新营区', 710300, 3),
|
|
|
|
+(710358, '后壁区', 710300, 3),
|
|
|
|
+(710359, '白河区', 710300, 3),
|
|
|
|
+(710360, '东山区', 710300, 3),
|
|
|
|
+(710361, '六甲区', 710300, 3),
|
|
|
|
+(710362, '下营区', 710300, 3),
|
|
|
|
+(710363, '柳营区', 710300, 3),
|
|
|
|
+(710364, '盐水区', 710300, 3),
|
|
|
|
+(710365, '善化区', 710300, 3),
|
|
|
|
+(710366, '大内区', 710300, 3),
|
|
|
|
+(710367, '山上区', 710300, 3),
|
|
|
|
+(710368, '新市区', 710300, 3),
|
|
|
|
+(710369, '安定区', 710300, 3),
|
|
|
|
+(710400, '台中市', 710000, 2),
|
|
|
|
+(710401, '中区', 710400, 3),
|
|
|
|
+(710402, '东区', 710400, 3),
|
|
|
|
+(710403, '南区', 710400, 3),
|
|
|
|
+(710404, '西区', 710400, 3),
|
|
|
|
+(710405, '北区', 710400, 3),
|
|
|
|
+(710406, '北屯区', 710400, 3),
|
|
|
|
+(710407, '西屯区', 710400, 3),
|
|
|
|
+(710408, '南屯区', 710400, 3),
|
|
|
|
+(710431, '太平区', 710400, 3),
|
|
|
|
+(710432, '大里区', 710400, 3),
|
|
|
|
+(710433, '雾峰区', 710400, 3),
|
|
|
|
+(710434, '乌日区', 710400, 3),
|
|
|
|
+(710435, '丰原区', 710400, 3),
|
|
|
|
+(710436, '后里区', 710400, 3),
|
|
|
|
+(710437, '石冈区', 710400, 3),
|
|
|
|
+(710438, '东势区', 710400, 3),
|
|
|
|
+(710439, '和平区', 710400, 3),
|
|
|
|
+(710440, '新社区', 710400, 3),
|
|
|
|
+(710441, '潭子区', 710400, 3),
|
|
|
|
+(710442, '大雅区', 710400, 3),
|
|
|
|
+(710443, '神冈区', 710400, 3),
|
|
|
|
+(710444, '大肚区', 710400, 3),
|
|
|
|
+(710445, '沙鹿区', 710400, 3),
|
|
|
|
+(710446, '龙井区', 710400, 3),
|
|
|
|
+(710447, '梧栖区', 710400, 3),
|
|
|
|
+(710448, '清水区', 710400, 3),
|
|
|
|
+(710449, '大甲区', 710400, 3),
|
|
|
|
+(710450, '外埔区', 710400, 3),
|
|
|
|
+(710451, '大安区', 710400, 3),
|
|
|
|
+(710600, '南投县', 710000, 2),
|
|
|
|
+(710614, '南投市', 710600, 3),
|
|
|
|
+(710615, '中寮乡', 710600, 3),
|
|
|
|
+(710616, '草屯镇', 710600, 3),
|
|
|
|
+(710617, '国姓乡', 710600, 3),
|
|
|
|
+(710618, '埔里镇', 710600, 3),
|
|
|
|
+(710619, '仁爱乡', 710600, 3),
|
|
|
|
+(710620, '名间乡', 710600, 3),
|
|
|
|
+(710621, '集集镇', 710600, 3),
|
|
|
|
+(710622, '水里乡', 710600, 3),
|
|
|
|
+(710623, '鱼池乡', 710600, 3),
|
|
|
|
+(710624, '信义乡', 710600, 3),
|
|
|
|
+(710625, '竹山镇', 710600, 3),
|
|
|
|
+(710626, '鹿谷乡', 710600, 3),
|
|
|
|
+(710700, '基隆市', 710000, 2),
|
|
|
|
+(710701, '仁爱区', 710700, 3),
|
|
|
|
+(710702, '信义区', 710700, 3),
|
|
|
|
+(710703, '中正区', 710700, 3),
|
|
|
|
+(710704, '中山区', 710700, 3),
|
|
|
|
+(710705, '安乐区', 710700, 3),
|
|
|
|
+(710706, '暖暖区', 710700, 3),
|
|
|
|
+(710707, '七堵区', 710700, 3),
|
|
|
|
+(710800, '新竹市', 710000, 2),
|
|
|
|
+(710801, '东区', 710800, 3),
|
|
|
|
+(710802, '北区', 710800, 3),
|
|
|
|
+(710803, '香山区', 710800, 3),
|
|
|
|
+(710900, '嘉义市', 710000, 2),
|
|
|
|
+(710901, '东区', 710900, 3),
|
|
|
|
+(710902, '西区', 710900, 3),
|
|
|
|
+(711100, '新北市', 710000, 2),
|
|
|
|
+(711130, '万里区', 711100, 3),
|
|
|
|
+(711131, '金山区', 711100, 3),
|
|
|
|
+(711132, '板桥区', 711100, 3),
|
|
|
|
+(711133, '汐止区', 711100, 3),
|
|
|
|
+(711134, '深坑区', 711100, 3),
|
|
|
|
+(711135, '石碇区', 711100, 3),
|
|
|
|
+(711136, '瑞芳区', 711100, 3),
|
|
|
|
+(711137, '平溪区', 711100, 3),
|
|
|
|
+(711138, '双溪区', 711100, 3),
|
|
|
|
+(711139, '贡寮区', 711100, 3),
|
|
|
|
+(711140, '新店区', 711100, 3),
|
|
|
|
+(711141, '坪林区', 711100, 3),
|
|
|
|
+(711142, '乌来区', 711100, 3),
|
|
|
|
+(711143, '永和区', 711100, 3),
|
|
|
|
+(711144, '中和区', 711100, 3),
|
|
|
|
+(711145, '土城区', 711100, 3),
|
|
|
|
+(711146, '三峡区', 711100, 3),
|
|
|
|
+(711147, '树林区', 711100, 3),
|
|
|
|
+(711148, '莺歌区', 711100, 3),
|
|
|
|
+(711149, '三重区', 711100, 3),
|
|
|
|
+(711150, '新庄区', 711100, 3),
|
|
|
|
+(711151, '泰山区', 711100, 3),
|
|
|
|
+(711152, '林口区', 711100, 3),
|
|
|
|
+(711153, '芦洲区', 711100, 3),
|
|
|
|
+(711154, '五股区', 711100, 3),
|
|
|
|
+(711155, '八里区', 711100, 3),
|
|
|
|
+(711156, '淡水区', 711100, 3),
|
|
|
|
+(711157, '三芝区', 711100, 3),
|
|
|
|
+(711158, '石门区', 711100, 3),
|
|
|
|
+(711200, '宜兰县', 710000, 2),
|
|
|
|
+(711214, '宜兰市', 711200, 3),
|
|
|
|
+(711215, '头城镇', 711200, 3),
|
|
|
|
+(711216, '礁溪乡', 711200, 3),
|
|
|
|
+(711217, '壮围乡', 711200, 3),
|
|
|
|
+(711218, '员山乡', 711200, 3),
|
|
|
|
+(711219, '罗东镇', 711200, 3),
|
|
|
|
+(711220, '三星乡', 711200, 3),
|
|
|
|
+(711221, '大同乡', 711200, 3),
|
|
|
|
+(711222, '五结乡', 711200, 3),
|
|
|
|
+(711223, '冬山乡', 711200, 3),
|
|
|
|
+(711224, '苏澳镇', 711200, 3),
|
|
|
|
+(711225, '南澳乡', 711200, 3),
|
|
|
|
+(711300, '新竹县', 710000, 2),
|
|
|
|
+(711314, '竹北市', 711300, 3),
|
|
|
|
+(711315, '湖口乡', 711300, 3),
|
|
|
|
+(711316, '新丰乡', 711300, 3),
|
|
|
|
+(711317, '新埔镇', 711300, 3),
|
|
|
|
+(711318, '关西镇', 711300, 3),
|
|
|
|
+(711319, '芎林乡', 711300, 3),
|
|
|
|
+(711320, '宝山乡', 711300, 3),
|
|
|
|
+(711321, '竹东镇', 711300, 3),
|
|
|
|
+(711322, '五峰乡', 711300, 3),
|
|
|
|
+(711323, '横山乡', 711300, 3),
|
|
|
|
+(711324, '尖石乡', 711300, 3),
|
|
|
|
+(711325, '北埔乡', 711300, 3),
|
|
|
|
+(711326, '峨眉乡', 711300, 3),
|
|
|
|
+(711400, '桃园市', 710000, 2),
|
|
|
|
+(711414, '中坜区', 711400, 3),
|
|
|
|
+(711415, '平镇区', 711400, 3),
|
|
|
|
+(711416, '龙潭区', 711400, 3),
|
|
|
|
+(711417, '杨梅区', 711400, 3),
|
|
|
|
+(711418, '新屋区', 711400, 3),
|
|
|
|
+(711419, '观音区', 711400, 3),
|
|
|
|
+(711420, '桃园区', 711400, 3),
|
|
|
|
+(711421, '龟山区', 711400, 3),
|
|
|
|
+(711422, '八德区', 711400, 3),
|
|
|
|
+(711423, '大溪区', 711400, 3),
|
|
|
|
+(711424, '复兴区', 711400, 3),
|
|
|
|
+(711425, '大园区', 711400, 3),
|
|
|
|
+(711426, '芦竹区', 711400, 3),
|
|
|
|
+(711500, '苗栗县', 710000, 2),
|
|
|
|
+(711519, '竹南镇', 711500, 3),
|
|
|
|
+(711520, '头份市', 711500, 3),
|
|
|
|
+(711521, '三湾乡', 711500, 3),
|
|
|
|
+(711522, '南庄乡', 711500, 3),
|
|
|
|
+(711523, '狮潭乡', 711500, 3),
|
|
|
|
+(711524, '后龙镇', 711500, 3),
|
|
|
|
+(711525, '通霄镇', 711500, 3),
|
|
|
|
+(711526, '苑里镇', 711500, 3),
|
|
|
|
+(711527, '苗栗市', 711500, 3),
|
|
|
|
+(711528, '造桥乡', 711500, 3),
|
|
|
|
+(711529, '头屋乡', 711500, 3),
|
|
|
|
+(711530, '公馆乡', 711500, 3),
|
|
|
|
+(711531, '大湖乡', 711500, 3),
|
|
|
|
+(711532, '泰安乡', 711500, 3),
|
|
|
|
+(711533, '铜锣乡', 711500, 3),
|
|
|
|
+(711534, '三义乡', 711500, 3),
|
|
|
|
+(711535, '西湖乡', 711500, 3),
|
|
|
|
+(711536, '卓兰镇', 711500, 3),
|
|
|
|
+(711700, '彰化县', 710000, 2),
|
|
|
|
+(711727, '彰化市', 711700, 3),
|
|
|
|
+(711728, '芬园乡', 711700, 3),
|
|
|
|
+(711729, '花坛乡', 711700, 3),
|
|
|
|
+(711730, '秀水乡', 711700, 3),
|
|
|
|
+(711731, '鹿港镇', 711700, 3),
|
|
|
|
+(711732, '福兴乡', 711700, 3),
|
|
|
|
+(711733, '线西乡', 711700, 3),
|
|
|
|
+(711734, '和美镇', 711700, 3),
|
|
|
|
+(711735, '伸港乡', 711700, 3),
|
|
|
|
+(711736, '员林市', 711700, 3),
|
|
|
|
+(711737, '社头乡', 711700, 3),
|
|
|
|
+(711738, '永靖乡', 711700, 3),
|
|
|
|
+(711739, '埔心乡', 711700, 3),
|
|
|
|
+(711740, '溪湖镇', 711700, 3),
|
|
|
|
+(711741, '大村乡', 711700, 3),
|
|
|
|
+(711742, '埔盐乡', 711700, 3),
|
|
|
|
+(711743, '田中镇', 711700, 3),
|
|
|
|
+(711744, '北斗镇', 711700, 3),
|
|
|
|
+(711745, '田尾乡', 711700, 3),
|
|
|
|
+(711746, '埤头乡', 711700, 3),
|
|
|
|
+(711747, '溪州乡', 711700, 3),
|
|
|
|
+(711748, '竹塘乡', 711700, 3),
|
|
|
|
+(711749, '二林镇', 711700, 3),
|
|
|
|
+(711750, '大城乡', 711700, 3),
|
|
|
|
+(711751, '芳苑乡', 711700, 3),
|
|
|
|
+(711752, '二水乡', 711700, 3),
|
|
|
|
+(711900, '嘉义县', 710000, 2),
|
|
|
|
+(711919, '番路乡', 711900, 3),
|
|
|
|
+(711920, '梅山乡', 711900, 3),
|
|
|
|
+(711921, '竹崎乡', 711900, 3),
|
|
|
|
+(711922, '阿里山乡', 711900, 3),
|
|
|
|
+(711923, '中埔乡', 711900, 3),
|
|
|
|
+(711924, '大埔乡', 711900, 3),
|
|
|
|
+(711925, '水上乡', 711900, 3),
|
|
|
|
+(711926, '鹿草乡', 711900, 3),
|
|
|
|
+(711927, '太保市', 711900, 3),
|
|
|
|
+(711928, '朴子市', 711900, 3),
|
|
|
|
+(711929, '东石乡', 711900, 3),
|
|
|
|
+(711930, '六脚乡', 711900, 3),
|
|
|
|
+(711931, '新港乡', 711900, 3),
|
|
|
|
+(711932, '民雄乡', 711900, 3),
|
|
|
|
+(711933, '大林镇', 711900, 3),
|
|
|
|
+(711934, '溪口乡', 711900, 3),
|
|
|
|
+(711935, '义竹乡', 711900, 3),
|
|
|
|
+(711936, '布袋镇', 711900, 3),
|
|
|
|
+(712100, '云林县', 710000, 2),
|
|
|
|
+(712121, '斗南镇', 712100, 3),
|
|
|
|
+(712122, '大埤乡', 712100, 3),
|
|
|
|
+(712123, '虎尾镇', 712100, 3),
|
|
|
|
+(712124, '土库镇', 712100, 3),
|
|
|
|
+(712125, '褒忠乡', 712100, 3),
|
|
|
|
+(712126, '东势乡', 712100, 3),
|
|
|
|
+(712127, '台西乡', 712100, 3),
|
|
|
|
+(712128, '仑背乡', 712100, 3),
|
|
|
|
+(712129, '麦寮乡', 712100, 3),
|
|
|
|
+(712130, '斗六市', 712100, 3),
|
|
|
|
+(712131, '林内乡', 712100, 3),
|
|
|
|
+(712132, '古坑乡', 712100, 3),
|
|
|
|
+(712133, '莿桐乡', 712100, 3),
|
|
|
|
+(712134, '西螺镇', 712100, 3),
|
|
|
|
+(712135, '二仑乡', 712100, 3),
|
|
|
|
+(712136, '北港镇', 712100, 3),
|
|
|
|
+(712137, '水林乡', 712100, 3),
|
|
|
|
+(712138, '口湖乡', 712100, 3),
|
|
|
|
+(712139, '四湖乡', 712100, 3),
|
|
|
|
+(712140, '元长乡', 712100, 3),
|
|
|
|
+(712400, '屏东县', 710000, 2),
|
|
|
|
+(712434, '屏东市', 712400, 3),
|
|
|
|
+(712435, '三地门乡', 712400, 3),
|
|
|
|
+(712436, '雾台乡', 712400, 3),
|
|
|
|
+(712437, '玛家乡', 712400, 3),
|
|
|
|
+(712438, '九如乡', 712400, 3),
|
|
|
|
+(712439, '里港乡', 712400, 3),
|
|
|
|
+(712440, '高树乡', 712400, 3),
|
|
|
|
+(712441, '盐埔乡', 712400, 3),
|
|
|
|
+(712442, '长治乡', 712400, 3),
|
|
|
|
+(712443, '麟洛乡', 712400, 3),
|
|
|
|
+(712444, '竹田乡', 712400, 3),
|
|
|
|
+(712445, '内埔乡', 712400, 3),
|
|
|
|
+(712446, '万丹乡', 712400, 3),
|
|
|
|
+(712447, '潮州镇', 712400, 3),
|
|
|
|
+(712448, '泰武乡', 712400, 3),
|
|
|
|
+(712449, '来义乡', 712400, 3),
|
|
|
|
+(712450, '万峦乡', 712400, 3),
|
|
|
|
+(712451, '崁顶乡', 712400, 3),
|
|
|
|
+(712452, '新埤乡', 712400, 3),
|
|
|
|
+(712453, '南州乡', 712400, 3),
|
|
|
|
+(712454, '林边乡', 712400, 3),
|
|
|
|
+(712455, '东港镇', 712400, 3),
|
|
|
|
+(712456, '琉球乡', 712400, 3),
|
|
|
|
+(712457, '佳冬乡', 712400, 3),
|
|
|
|
+(712458, '新园乡', 712400, 3),
|
|
|
|
+(712459, '枋寮乡', 712400, 3),
|
|
|
|
+(712460, '枋山乡', 712400, 3),
|
|
|
|
+(712461, '春日乡', 712400, 3),
|
|
|
|
+(712462, '狮子乡', 712400, 3),
|
|
|
|
+(712463, '车城乡', 712400, 3),
|
|
|
|
+(712464, '牡丹乡', 712400, 3),
|
|
|
|
+(712465, '恒春镇', 712400, 3),
|
|
|
|
+(712466, '满州乡', 712400, 3),
|
|
|
|
+(712500, '台东县', 710000, 2),
|
|
|
|
+(712517, '台东市', 712500, 3),
|
|
|
|
+(712518, '绿岛乡', 712500, 3),
|
|
|
|
+(712519, '兰屿乡', 712500, 3),
|
|
|
|
+(712520, '延平乡', 712500, 3),
|
|
|
|
+(712521, '卑南乡', 712500, 3),
|
|
|
|
+(712522, '鹿野乡', 712500, 3),
|
|
|
|
+(712523, '关山镇', 712500, 3),
|
|
|
|
+(712524, '海端乡', 712500, 3),
|
|
|
|
+(712525, '池上乡', 712500, 3),
|
|
|
|
+(712526, '东河乡', 712500, 3),
|
|
|
|
+(712527, '成功镇', 712500, 3),
|
|
|
|
+(712528, '长滨乡', 712500, 3),
|
|
|
|
+(712529, '金峰乡', 712500, 3),
|
|
|
|
+(712530, '大武乡', 712500, 3),
|
|
|
|
+(712531, '达仁乡', 712500, 3),
|
|
|
|
+(712532, '太麻里乡', 712500, 3),
|
|
|
|
+(712600, '花莲县', 710000, 2),
|
|
|
|
+(712615, '花莲市', 712600, 3),
|
|
|
|
+(712616, '新城乡', 712600, 3),
|
|
|
|
+(712618, '秀林乡', 712600, 3),
|
|
|
|
+(712619, '吉安乡', 712600, 3),
|
|
|
|
+(712620, '寿丰乡', 712600, 3),
|
|
|
|
+(712621, '凤林镇', 712600, 3),
|
|
|
|
+(712622, '光复乡', 712600, 3),
|
|
|
|
+(712623, '丰滨乡', 712600, 3),
|
|
|
|
+(712624, '瑞穗乡', 712600, 3),
|
|
|
|
+(712625, '万荣乡', 712600, 3),
|
|
|
|
+(712626, '玉里镇', 712600, 3),
|
|
|
|
+(712627, '卓溪乡', 712600, 3),
|
|
|
|
+(712628, '富里乡', 712600, 3),
|
|
|
|
+(712700, '澎湖县', 710000, 2),
|
|
|
|
+(712707, '马公市', 712700, 3),
|
|
|
|
+(712708, '西屿乡', 712700, 3),
|
|
|
|
+(712709, '望安乡', 712700, 3),
|
|
|
|
+(712710, '七美乡', 712700, 3),
|
|
|
|
+(712711, '白沙乡', 712700, 3),
|
|
|
|
+(712712, '湖西乡', 712700, 3),
|
|
|
|
+(810000, '香港特别行政区', 0, 1),
|
|
|
|
+(810100, '香港特别行政区', 810000, 2),
|
|
|
|
+(810101, '中西区', 810100, 3),
|
|
|
|
+(810102, '东区', 810100, 3),
|
|
|
|
+(810103, '九龙城区', 810100, 3),
|
|
|
|
+(810104, '观塘区', 810100, 3),
|
|
|
|
+(810105, '南区', 810100, 3),
|
|
|
|
+(810106, '深水埗区', 810100, 3),
|
|
|
|
+(810107, '湾仔区', 810100, 3),
|
|
|
|
+(810108, '黄大仙区', 810100, 3),
|
|
|
|
+(810109, '油尖旺区', 810100, 3),
|
|
|
|
+(810110, '离岛区', 810100, 3),
|
|
|
|
+(810111, '葵青区', 810100, 3),
|
|
|
|
+(810112, '北区', 810100, 3),
|
|
|
|
+(810113, '西贡区', 810100, 3),
|
|
|
|
+(810114, '沙田区', 810100, 3),
|
|
|
|
+(810115, '屯门区', 810100, 3),
|
|
|
|
+(810116, '大埔区', 810100, 3),
|
|
|
|
+(810117, '荃湾区', 810100, 3),
|
|
|
|
+(810118, '元朗区', 810100, 3),
|
|
|
|
+(820000, '澳门特别行政区', 0, 1),
|
|
|
|
+(820100, '澳门特别行政区', 820000, 2),
|
|
|
|
+(820101, '澳门半岛', 820100, 3),
|
|
|
|
+(820102, '凼仔', 820100, 3),
|
|
|
|
+(820103, '路凼城', 820100, 3),
|
|
|
|
+(820104, '路环', 820100, 3);
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_cart` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) DEFAULT NULL COMMENT '用户',
|
|
|
|
+ `goods_id` int(11) DEFAULT NULL,
|
|
|
|
+ `goods_num` int(11) DEFAULT NULL,
|
|
|
|
+ `sku_price_id` int(11) DEFAULT NULL COMMENT '规格',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL,
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL,
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL,
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='购物车';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_category` (
|
|
|
|
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `name` varchar(30) NOT NULL DEFAULT '',
|
|
|
|
+ `type` varchar(30) NOT NULL DEFAULT '' COMMENT '栏目类型',
|
|
|
|
+ `image` varchar(100) NOT NULL DEFAULT '' COMMENT '图片',
|
|
|
|
+ `pid` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '父ID',
|
|
|
|
+ `weigh` int(10) NOT NULL DEFAULT '0' COMMENT '权重',
|
|
|
|
+ `description` varchar(255) NOT NULL DEFAULT '' COMMENT '描述',
|
|
|
|
+ `status` varchar(30) NOT NULL DEFAULT '' COMMENT '状态',
|
|
|
|
+ `createtime` int(10) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
+ KEY `pid` (`pid`) USING BTREE,
|
|
|
|
+ KEY `weigh_id` (`weigh`,`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商城分类表';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_config` (
|
|
|
|
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `name` varchar(30) NOT NULL DEFAULT '' COMMENT '变量名',
|
|
|
|
+ `group` varchar(30) NOT NULL DEFAULT '' COMMENT '分组',
|
|
|
|
+ `title` varchar(100) NOT NULL DEFAULT '' COMMENT '变量标题',
|
|
|
|
+ `tip` varchar(100) NOT NULL DEFAULT '' COMMENT '变量描述',
|
|
|
|
+ `type` varchar(30) NOT NULL DEFAULT '' COMMENT '类型:string,text,int,bool,array,datetime,date,file',
|
|
|
|
+ `value` longtext NOT NULL COMMENT '变量值',
|
|
|
|
+ `content` longtext DEFAULT NULL COMMENT '变量字典数据',
|
|
|
|
+ `rule` varchar(100) NOT NULL DEFAULT '' COMMENT '验证规则',
|
|
|
|
+ `extend` varchar(255) NOT NULL DEFAULT '' COMMENT '扩展属性',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
+ UNIQUE KEY `name` (`name`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商城配置';
|
|
|
|
+
|
|
|
|
+INSERT INTO `__PREFIX__shopro_config` (`id`, `name`, `group`, `title`, `tip`, `type`, `value`, `content`, `rule`, `extend`) VALUES
|
|
|
|
+(1, 'shopro', 'basic', '商城信息', '', 'array', '{\"name\":\"Shopro\",\"domain\":\"https://m.shopro.top/\",\"version\":\"1.3.0\",\"logo\":\"http://file.shopro.top/uploads/20200410/d5b2c163e9a23d78c7205d9ab5d7e47c.png\",\"copyright\":[\"星品科技Shopro版权所有\",\"Copyright 2020-2021\"],\"user_protocol\":1,\"privacy_protocol\":2,\"about_us\":3}', NULL, '', ''),
|
|
|
|
+(2, 'user', 'basic', '会员配置', '', 'array', '{\"nickname\":\"Shopro-\",\"avatar\":\"http://file.shopro.top/uploads/20200410/default-avatar.png\",\"group_id\":\"1\"}', NULL, '', ''),
|
|
|
|
+(3, 'share', 'basic', '分享配置', '', 'array', '{\"title\":\"邀请有好礼\",\"image\":\"http://file.shopro.top/uploads/20200410/4be7c944935a0fd6fc890f0214e6c3e0.jpeg\",\"goods_poster_bg\":\"http://file.shopro.top/uploads/20200410/ab863760d809b0d0bfdf5eed24fecb61.png\",\"user_poster_bg\":\"http://file.shopro.top/uploads/20200410/000fada6ece566b12ccfc348861fedf6.png\",\"groupon_poster_bg\":\"http://file.shopro.top/uploads/20200410/c65b86f0ffb7f334fe7ca7528d2bb44a.png\"}', NULL, '', ''),
|
|
|
|
+(4, 'score', 'basic', '积分配置', '', 'array', '{\"everyday\":\"1\",\"until_day\":\"1\",\"inc_value\":\"7\"}', NULL, '', ''),
|
|
|
|
+(5, 'withdraw', 'basic', '提现配置', '', 'array', '{\"methods\":[\"wechat\",\"alipay\",\"bank\"],\"wechat_alipay_auto\":\"0\",\"service_fee\":\"0.03\",\"min\":\"100\",\"max\":\"1000\"}', NULL, '', ''),
|
|
|
|
+(6, 'order', 'basic', '商城配置', '', 'array', '{\"order_auto_close\":\"15\",\"order_auto_confirm\":\"6\",\"order_auto_comment\":\"3\",\"order_comment_content\":\"客户默认好评~\",\"goods\":{\"stock_warning\":\"20\"}}', NULL, '', ''),
|
|
|
|
+(7, 'services', 'basic', '第三方服务', '', 'array', '{\"amap\":{\"appkey\":\"654b72d9fd8a1*********6156be7f\"},\"express\":{\"ebusiness_id\":\"1655***\",\"type\":\"free\",\"appkey\":\"af70d0-******-3eda4ae78fb2\",\"jd_code\":\"001K1***50\",\"Sender\":{\"Name\":\"\",\"Mobile\":\"\",\"ProvinceName\":\"\",\"CityName\":\"\",\"ExpAreaName\":\"\",\"Address\":\"\"},\"PayType\":1,\"ExpType\":1,\"CustomerName\":\"\",\"CustomerPwd\":\"\",\"ShipperCode\":\"\"}}', NULL, '', ''),
|
|
|
|
+(8, 'chat', 'basic', '客服配置', '', 'array', '{\"type\":\"shopro\",\"basic\":{\"last_customer_service\":1,\"allocate\":\"busy\",\"notice\":\"显示在用户端头部\"},\"system\":{\"is_ssl\":1,\"ssl_cert\":\"/www/server/panel/vhost/cert/****/fullchain.pem\",\"ssl_key\":\"/www/server/panel/vhost/cert/****/privkey.pem\",\"gateway_port\":1819,\"gateway_num\":2,\"gateway_start_port\":2010,\"business_worker_port\":2238,\"business_worker_num\":4}}', NULL, '', ''),
|
|
|
|
+(9, 'store', 'basic', '门店配置', '', 'array', '{\"protocol\":\"\",\"selfetch_protocol\":\"\"}', NULL, '', ''),
|
|
|
|
+(10, 'wxOfficialAccount', 'platform', '微信公众号', '', 'array', '{\"name\":\"\",\"wx_type\":\"4\",\"avatar\":\"\",\"qrcode\":\"\",\"app_id\":\"\",\"secret\":\"\",\"url\":\"http://demo.shopro.top/addons/shopro/wechat\",\"token\":\"\",\"aes_key\":\"\",\"auto_login\":\"1\",\"status\":\"0\"}', NULL, '', ''),
|
|
|
|
+(11, 'wxMiniProgram', 'platform', '小程序', '', 'array', '{\"name\":\"\",\"avatar\":\"\",\"qrcode\":\"\",\"app_id\":\"\",\"secret\":\"\",\"auto_login\":\"1\"}', NULL, '', ''),
|
|
|
|
+(12, 'H5', 'platform', 'H5', '', 'array', '{\"app_id\":\"\",\"secret\":\"\"}', NULL, '', ''),
|
|
|
|
+(13, 'App', 'platform', 'App', '', 'array', '{\"app_id\":\"\",\"secret\":\"\"}', NULL, '', '');
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_coupons` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `name` varchar(50) DEFAULT NULL COMMENT '名称',
|
|
|
|
+ `type` enum('cash','discount') NOT NULL DEFAULT 'cash' COMMENT '类型:cash=代金券,discount=折扣券',
|
|
|
|
+ `goods_ids` varchar(1200) DEFAULT NULL COMMENT '适用商品',
|
|
|
|
+ `amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '券面额',
|
|
|
|
+ `enough` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '消费门槛',
|
|
|
|
+ `stock` int(11) NOT NULL DEFAULT '0' COMMENT '库存',
|
|
|
|
+ `limit` int(11) NOT NULL DEFAULT '1' COMMENT '每人限制',
|
|
|
|
+ `gettime` varchar(50) DEFAULT NULL COMMENT '领取周期',
|
|
|
|
+ `usetime` varchar(50) DEFAULT NULL COMMENT '有效期',
|
|
|
|
+ `description` varchar(255) DEFAULT NULL COMMENT '描述',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ `usetimestart` int(11) DEFAULT NULL,
|
|
|
|
+ `usetimeend` int(11) DEFAULT NULL,
|
|
|
|
+ `gettimestart` int(11) DEFAULT NULL,
|
|
|
|
+ `gettimeend` int(11) DEFAULT NULL,
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='优惠券';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_decorate` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `name` varchar(50) DEFAULT NULL COMMENT '模板名称',
|
|
|
|
+ `type` enum('shop','custom','preview') NOT NULL DEFAULT 'shop' COMMENT '页面分类:shop=商城,custom=自定义,preview=临时预览',
|
|
|
|
+ `image` varchar(255) DEFAULT NULL COMMENT '图片',
|
|
|
|
+ `memo` varchar(255) DEFAULT NULL COMMENT '备注',
|
|
|
|
+ `status` enum('normal','hidden') DEFAULT 'normal' COMMENT '状态',
|
|
|
|
+ `platform` set('H5','wxOfficialAccount','wxMiniProgram','App','preview') DEFAULT NULL COMMENT '适用平台:H5=H5,wxOfficialAccount=微信公众号网页,wxMiniProgram=微信小程序,App=App,preview=预览',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='店铺装修';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_decorate_content` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `type` varchar(20) DEFAULT NULL COMMENT '类型',
|
|
|
|
+ `category` enum('home','user','tabbar','popup','custom','float-button') NOT NULL COMMENT '页面类型:home=首页,user=个人中心,tabbar=底部导航,popup=弹出提醒,float-button=悬浮按钮,custom=自定义',
|
|
|
|
+ `name` varchar(50) DEFAULT NULL COMMENT '名称',
|
|
|
|
+ `content` text COMMENT '规则',
|
|
|
|
+ `decorate_id` int(11) DEFAULT NULL COMMENT '归属模板ID',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='模板内容';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_dispatch` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `name` varchar(50) DEFAULT NULL COMMENT '名称',
|
|
|
|
+ `type` enum('express','selfetch','store','autosend') NOT NULL COMMENT '发货方式:express=物流快递,selfetch=用户自提,store=商户配送,autosend=自动发货',
|
|
|
|
+ `type_ids` varchar(255) DEFAULT NULL COMMENT '包含模板',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='发货设置';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_dispatch_autosend` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `type` enum('card','text','params') NOT NULL COMMENT '自动发货类型:card=卡密,text=固定内容,params=自定义内容',
|
|
|
|
+ `content` varchar(1200) NOT NULL COMMENT '发货内容',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='自动发货';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_dispatch_express` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `type` enum('number','weight') DEFAULT NULL COMMENT '计费方式:number=件数,weight=重量',
|
|
|
|
+ `weigh` int(11) DEFAULT NULL COMMENT '权重',
|
|
|
|
+ `first_num` int(11) NOT NULL DEFAULT '1' COMMENT '首(重/件)数',
|
|
|
|
+ `first_price` decimal(10,2) DEFAULT '0.00' COMMENT '首(重/件)',
|
|
|
|
+ `additional_num` int(11) NOT NULL DEFAULT '0' COMMENT '续(重/件)数',
|
|
|
|
+ `additional_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '续(重/件)',
|
|
|
|
+ `province_ids` varchar(255) DEFAULT NULL COMMENT '省份',
|
|
|
|
+ `city_ids` varchar(2500) DEFAULT NULL COMMENT '市级',
|
|
|
|
+ `area_ids` text COMMENT '区域',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='运费模板';
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_dispatch_selfetch` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `store_ids` varchar(255) NOT NULL COMMENT '包含门店',
|
|
|
|
+ `expire_type` enum('day','time') NOT NULL DEFAULT 'day' COMMENT '过期类型:day=天数,time=截至日期',
|
|
|
|
+ `expire_day` int(11) NOT NULL DEFAULT '0' COMMENT 'X天过期',
|
|
|
|
+ `expire_time` int(11) NOT NULL DEFAULT '0' COMMENT '截至日期',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='自提点';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_dispatch_store` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `store_ids` varchar(255) NOT NULL COMMENT '包含门店',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='商家配送';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_failed_job` (
|
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT COMMENT '失败队列',
|
|
|
|
+ `data` varchar(2048) DEFAULT NULL COMMENT '数据',
|
|
|
|
+ `createtime` int(10) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_faq` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `title` varchar(255) DEFAULT NULL COMMENT '标题',
|
|
|
|
+ `content` longtext COMMENT '内容',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='常见问题';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_feedback` (
|
|
|
|
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL COMMENT '反馈用户',
|
|
|
|
+ `type` varchar(30) DEFAULT NULL COMMENT '反馈类型',
|
|
|
|
+ `content` varchar(255) DEFAULT NULL COMMENT '反馈内容',
|
|
|
|
+ `images` varchar(512) DEFAULT NULL COMMENT '图片',
|
|
|
|
+ `phone` varchar(30) DEFAULT NULL COMMENT '联系电话',
|
|
|
|
+ `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否处理:0=未处理,1=已处理',
|
|
|
|
+ `remark` varchar(191) DEFAULT NULL COMMENT '处理备注',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='意见反馈';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_goods` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `type` enum('normal','virtual') NOT NULL DEFAULT 'normal' COMMENT '商品类型:normal=实体商品,virtual=虚拟商品',
|
|
|
|
+ `title` varchar(100) NOT NULL COMMENT '标题',
|
|
|
|
+ `subtitle` varchar(255) DEFAULT NULL COMMENT '副标题',
|
|
|
|
+ `status` enum('up','hidden','down') DEFAULT NULL COMMENT '商品状态:up=上架,hidden=隐藏商品,down=下架',
|
|
|
|
+ `weigh` int(11) NOT NULL DEFAULT '0' COMMENT '排序(从大到小)',
|
|
|
|
+ `category_ids` varchar(120) DEFAULT NULL COMMENT '所属分类',
|
|
|
|
+ `image` varchar(255) DEFAULT NULL COMMENT '商品主图',
|
|
|
|
+ `images` varchar(2500) DEFAULT NULL COMMENT '轮播图',
|
|
|
|
+ `params` varchar(2500) DEFAULT NULL COMMENT '参数详情',
|
|
|
|
+ `content` text COMMENT '图文详情',
|
|
|
|
+ `price` varchar(20) NOT NULL COMMENT '价格',
|
|
|
|
+ `original_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '原价',
|
|
|
|
+ `is_sku` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否多规格',
|
|
|
|
+ `likes` int(11) NOT NULL DEFAULT '0' COMMENT '收藏人数',
|
|
|
|
+ `views` int(11) NOT NULL DEFAULT '0' COMMENT '浏览人数',
|
|
|
|
+ `sales` int(11) NOT NULL DEFAULT '0' COMMENT '销量',
|
|
|
|
+ `show_sales` int(11) NOT NULL COMMENT '显示销量',
|
|
|
|
+ `service_ids` varchar(255) DEFAULT NULL COMMENT '服务标签',
|
|
|
|
+ `dispatch_type` set('express','selfetch','store','autosend') DEFAULT NULL COMMENT '发货方式:express=物流快递,selfetch=用户自提,store=商家配送,autosend=自动发货',
|
|
|
|
+ `dispatch_ids` varchar(255) DEFAULT NULL COMMENT '发货模板',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '添加时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='商品';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_goods_comment` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '评论 id',
|
|
|
|
+ `goods_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品',
|
|
|
|
+ `order_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单',
|
|
|
|
+ `order_item_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单商品',
|
|
|
|
+ `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户',
|
|
|
|
+ `level` tinyint(4) NOT NULL DEFAULT '0' COMMENT '评价星级',
|
|
|
|
+ `content` varchar(255) DEFAULT NULL COMMENT '评价内容',
|
|
|
|
+ `images` varchar(2500) DEFAULT NULL COMMENT '评价图片',
|
|
|
|
+ `status` enum('show','hidden') NOT NULL DEFAULT 'show' COMMENT '显示状态',
|
|
|
|
+ `admin_id` int(11) NOT NULL DEFAULT '0' COMMENT '管理员 id',
|
|
|
|
+ `reply_content` varchar(255) DEFAULT NULL COMMENT '回复内容',
|
|
|
|
+ `replytime` int(11) DEFAULT NULL COMMENT '回复时间',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '评论时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='商品评价';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_goods_service` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `name` varchar(10) DEFAULT NULL COMMENT '名称',
|
|
|
|
+ `image` varchar(255) DEFAULT NULL COMMENT '服务标志',
|
|
|
|
+ `description` varchar(127) DEFAULT NULL COMMENT '描述',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL,
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL,
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL,
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='服务标签';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_goods_sku` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `name` varchar(50) DEFAULT NULL COMMENT '名称',
|
|
|
|
+ `pid` int(11) NOT NULL DEFAULT '0' COMMENT '所属规格',
|
|
|
|
+ `goods_id` int(11) NOT NULL COMMENT '产品',
|
|
|
|
+ `weigh` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='商品规格';
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_goods_sku_price` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `goods_sku_ids` varchar(255) DEFAULT NULL,
|
|
|
|
+ `goods_id` int(11) NOT NULL COMMENT '所属产品',
|
|
|
|
+ `weigh` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
|
|
|
|
+ `image` varchar(255) DEFAULT NULL COMMENT '缩略图',
|
|
|
|
+ `stock` int(11) NOT NULL DEFAULT '0' COMMENT '库存',
|
|
|
|
+ `sales` int(11) NOT NULL DEFAULT '0' COMMENT '已售',
|
|
|
|
+ `sn` varchar(50) DEFAULT NULL COMMENT '货号',
|
|
|
|
+ `weight` int(11) DEFAULT NULL COMMENT '重量(kg)',
|
|
|
|
+ `price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '价格',
|
|
|
|
+ `goods_sku_text` varchar(255) DEFAULT NULL COMMENT '中文规格',
|
|
|
|
+ `status` varchar(10) DEFAULT 'up' COMMENT '状态',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL,
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL,
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL,
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='商品规格';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_link` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `name` varchar(50) DEFAULT NULL COMMENT '名称',
|
|
|
|
+ `path` varchar(255) DEFAULT NULL COMMENT '路径',
|
|
|
|
+ `group` varchar(20) DEFAULT NULL COMMENT '所属分组',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL,
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL,
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL,
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='页面链接';
|
|
|
|
+
|
|
|
|
+INSERT INTO `__PREFIX__shopro_link` (`id`, `name`, `path`, `group`, `createtime`, `updatetime`, `deletetime`) VALUES
|
|
|
|
+(1, '首页', '/pages/index/index', '商城', 1622197045, 1622197045, NULL),
|
|
|
|
+(2, '分类', '/pages/index/category', '商城', 1622197045, 1622197045, NULL),
|
|
|
|
+(3, '购物车', '/pages/index/cart', '商城', 1622197045, 1622197045, NULL),
|
|
|
|
+(4, '我的', '/pages/index/user', '商城', 1622197045, 1622197045, NULL),
|
|
|
|
+(5, '签到中心', '/pages/activity/sign/index', '应用', 1622197045, 1622197045, NULL),
|
|
|
|
+(6, '限时秒杀', '/pages/activity/seckill/list', '秒杀', 1622197045, 1622197045, NULL),
|
|
|
|
+(7, '今日必拼', '/pages/activity/groupon/list', '拼团', 1622197045, 1622197045, NULL),
|
|
|
|
+(8, '我的拼团', '/pages/activity/groupon/my-groupon', '拼团', 1622197045, 1622197045, NULL),
|
|
|
|
+(9, '积分商品', '/pages/app/score/list', '积分', 1622197045, 1622197045, NULL),
|
|
|
|
+(10, '优惠券中心', '/pages/app/coupon/list', '优惠券', 1622197045, 1622197045, NULL),
|
|
|
|
+(11, '优惠券详情', '/pages/app/coupon/detail', '优惠券', 1622197045, 1622197045, NULL),
|
|
|
|
+(12, '门店入驻', '/pages/app/merchant/apply', '门店', 1622197045, 1622197045, NULL),
|
|
|
|
+(13, '我的门店', '/pages/app/merchant/list', '门店', 1622197045, 1622197045, NULL),
|
|
|
|
+(14, '分销中心', '/pages/app/commission/index', '分销', 1622197045, 1622197045, NULL),
|
|
|
|
+(15, '我的团队', '/pages/app/commission/team', '分销', 1622197045, 1622197045, NULL),
|
|
|
|
+(16, '佣金明细', '/pages/app/commission/commission-log', '分销', 1622197045, 1622197045, NULL),
|
|
|
|
+(17, '分销订单', '/pages/app/commission/order', '分销', 1622197045, 1622197045, NULL),
|
|
|
|
+(18, '推广商品', '/pages/app/commission/goods', '分销', 1622197045, 1622197045, NULL),
|
|
|
|
+(19, '申请分销商', '/pages/app/commission/apply', '分销', 1622197045, 1622197045, NULL),
|
|
|
|
+(20, '分销排行', '/pages/app/commission/rankings', '分销', 1622197045, 1622197045, NULL),
|
|
|
|
+(21, '商品列表', '/pages/goods/list', '商品', 1622197045, 1622197045, NULL),
|
|
|
|
+(22, '商品详情', '/pages/goods/detail', '商品', 1622197045, 1622197045, NULL),
|
|
|
|
+(23, '订单列表', '/pages/order/list', '订单', 1622197045, 1622197045, NULL),
|
|
|
|
+(24, '售后列表', '/pages/order/after-sale/list', '订单', 1622197045, 1622197045, NULL),
|
|
|
|
+(25, '常见问题', '/pages/public/faq', '通用', 1622197045, 1622197045, NULL),
|
|
|
|
+(26, '问题反馈', '/pages/public/feedback', '通用', 1622197045, 1622197045, NULL),
|
|
|
|
+(27, '客服', '/pages/public/chat/index', '通用', 1622197045, 1622197045, NULL),
|
|
|
|
+(28, '搜索', '/pages/public/search', '通用', 1622197045, 1622197045, NULL),
|
|
|
|
+(29, '富文本', '/pages/public/richtext', '通用', 1622197045, 1622197045, NULL),
|
|
|
|
+(30, '外链', '/pages/public/webview', '通用', 1622197045, 1622197045, NULL),
|
|
|
|
+(31, '个人信息', '/pages/user/info', '用户', 1622197045, 1622197045, NULL),
|
|
|
|
+(32, '系统设置', '/pages/user/set', '通用', 1622197045, 1622197045, NULL),
|
|
|
|
+(33, '浏览足迹', '/pages/user/view-log', '用户', 1622197045, 1622197045, NULL),
|
|
|
|
+(34, '钱包', '/pages/user/wallet/index', '用户', 1622197045, 1622197045, NULL),
|
|
|
|
+(35, '提现', '/pages/user/wallet/withdraw', '用户', 1622197045, 1622197045, NULL),
|
|
|
|
+(36, '提现记录', '/pages/user/wallet/withdraw-log', '用户', 1622197045, 1622197045, NULL),
|
|
|
|
+(37, '积分余额', '/pages/user/wallet/score-balance', '积分', 1622197045, 1622197045, NULL),
|
|
|
|
+(38, '收货地址', '/pages/user/address/list', '用户', 1622197045, 1622197045, NULL),
|
|
|
|
+(39, '我的收藏', '/pages/user/favorite', '用户', 1622197045, 1622197045, NULL);
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_live` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `name` varchar(255) NOT NULL COMMENT '房间名',
|
|
|
|
+ `room_id` int(11) NOT NULL DEFAULT '0' COMMENT '房间 ID',
|
|
|
|
+ `cover_img` varchar(255) DEFAULT NULL COMMENT '房间背景',
|
|
|
|
+ `live_status` enum('101','102','103','104','105','106','107') NOT NULL COMMENT '直播状态:101=直播中,102=未开始,103=已结束,104=禁播,105=暂停中,106=异常,107=已过期',
|
|
|
|
+ `starttime` int(10) NOT NULL DEFAULT '0' COMMENT '开始时间',
|
|
|
|
+ `endtime` int(10) NOT NULL DEFAULT '0' COMMENT '结束时间',
|
|
|
|
+ `anchor_name` varchar(255) NOT NULL COMMENT '主播',
|
|
|
|
+ `anchor_img` varchar(255) DEFAULT NULL COMMENT '主播头像',
|
|
|
|
+ `share_img` varchar(255) DEFAULT NULL COMMENT '分享封面',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_live_goods` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `live_id` int(11) NOT NULL COMMENT '直播ID',
|
|
|
|
+ `name` varchar(255) NOT NULL COMMENT '商品名称',
|
|
|
|
+ `origin_price` decimal(10,2) NOT NULL COMMENT '原价',
|
|
|
|
+ `price` decimal(10,2) NOT NULL COMMENT '价格',
|
|
|
|
+ `max_price` decimal(10,2) NOT NULL COMMENT '最大价格',
|
|
|
|
+ `url` varchar(255) DEFAULT NULL COMMENT '商品链接',
|
|
|
|
+ `cover_img` varchar(255) DEFAULT NULL COMMENT '商品图片',
|
|
|
|
+ `createtime` int(10) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_live_link` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `live_id` int(11) NOT NULL COMMENT '直播ID',
|
|
|
|
+ `media_url` varchar(255) NOT NULL COMMENT '回放链接',
|
|
|
|
+ `create_time` datetime DEFAULT NULL COMMENT '回放创建时间',
|
|
|
|
+ `expire_time` datetime DEFAULT NULL COMMENT '回放过期时间',
|
|
|
|
+ `createtime` int(10) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_order` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `type` enum('goods','score') NOT NULL DEFAULT 'goods' COMMENT '订单类型:goods=商城订单,score=积分商城订单',
|
|
|
|
+ `order_sn` varchar(60) NOT NULL COMMENT '订单号',
|
|
|
|
+ `user_id` int(11) DEFAULT '0' COMMENT '用户',
|
|
|
|
+ `activity_type` varchar(255) DEFAULT NULL COMMENT '活动类型',
|
|
|
|
+ `goods_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '商品总价',
|
|
|
|
+ `dispatch_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '总运费',
|
|
|
|
+ `phone` varchar(20) DEFAULT NULL COMMENT '联系电话',
|
|
|
|
+ `consignee` varchar(20) DEFAULT NULL COMMENT '收货人',
|
|
|
|
+ `province_name` varchar(20) DEFAULT NULL COMMENT '省',
|
|
|
|
+ `city_name` varchar(20) DEFAULT NULL COMMENT '市',
|
|
|
|
+ `area_name` varchar(20) DEFAULT NULL COMMENT '区',
|
|
|
|
+ `address` varchar(255) DEFAULT NULL COMMENT '详细地址',
|
|
|
|
+ `province_id` int(11) NOT NULL DEFAULT '0',
|
|
|
|
+ `city_id` int(11) NOT NULL DEFAULT '0',
|
|
|
|
+ `area_id` int(11) NOT NULL DEFAULT '0',
|
|
|
|
+ `status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '订单状态:-2=交易关闭,-1=已取消,0=未支付,1=已支付,2=已完成',
|
|
|
|
+ `memo` varchar(255) DEFAULT NULL COMMENT '商户备注',
|
|
|
|
+ `remark` varchar(255) DEFAULT NULL COMMENT '用户备注',
|
|
|
|
+ `total_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '订单总金额',
|
|
|
|
+ `score_amount` int(11) NOT NULL DEFAULT '0' COMMENT '积分总数',
|
|
|
|
+ `total_fee` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '支付金额',
|
|
|
|
+ `discount_fee` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '折扣总金额',
|
|
|
|
+ `coupon_fee` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '优惠券抵用金额',
|
|
|
|
+ `pay_fee` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '实际支付金额',
|
|
|
|
+ `score_fee` int(11) NOT NULL DEFAULT '0' COMMENT '积分支付数',
|
|
|
|
+ `goods_original_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '商品原价',
|
|
|
|
+ `coupons_id` int(11) NOT NULL DEFAULT '0' COMMENT '优惠券 id',
|
|
|
|
+ `transaction_id` varchar(60) DEFAULT NULL COMMENT '交易单号',
|
|
|
|
+ `payment_json` varchar(2500) DEFAULT NULL COMMENT '交易原始数据',
|
|
|
|
+ `pay_type` enum('wechat','alipay','wallet','score') DEFAULT NULL COMMENT '支付方式:wechat=微信支付,alipay=支付宝,wallet=钱包支付,score=积分支付',
|
|
|
|
+ `paytime` int(11) DEFAULT NULL COMMENT '支付时间',
|
|
|
|
+ `ext` varchar(255) DEFAULT NULL COMMENT '附加字段',
|
|
|
|
+ `platform` enum('H5','App','wxOfficialAccount','wxMiniProgram') DEFAULT NULL COMMENT '平台:H5=H5,wxOfficialAccount=微信公众号,wxMiniProgram=微信小程序,App=App',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
+ UNIQUE KEY `order_sn` (`order_sn`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='订单管理';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_order_action` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '操作记录 id',
|
|
|
|
+ `order_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单 id',
|
|
|
|
+ `order_item_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单商品id',
|
|
|
|
+ `oper_type` enum('user','store','admin','system') NOT NULL COMMENT '操作人类型',
|
|
|
|
+ `oper_id` int(11) NOT NULL DEFAULT '0' COMMENT '操作人 id',
|
|
|
|
+ `order_status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '订单状态',
|
|
|
|
+ `dispatch_status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '发货状态',
|
|
|
|
+ `comment_status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '评论状态',
|
|
|
|
+ `aftersale_status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '售后状态',
|
|
|
|
+ `refund_status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '退款状态',
|
|
|
|
+ `remark` varchar(255) DEFAULT NULL COMMENT '操作备注',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '操作时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='订单操作记录';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_order_item` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) DEFAULT NULL COMMENT '用户',
|
|
|
|
+ `order_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单',
|
|
|
|
+ `goods_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品',
|
|
|
|
+ `goods_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'normal' COMMENT '商品类型:normal=实体商品,virtual=虚拟商品',
|
|
|
|
+ `goods_sku_price_id` int(11) NOT NULL DEFAULT '0' COMMENT '规格 id',
|
|
|
|
+ `activity_id` int(11) NOT NULL DEFAULT '0' COMMENT '活动 id',
|
|
|
|
+ `activity_type` varchar(255) DEFAULT NULL COMMENT '活动类型',
|
|
|
|
+ `item_goods_sku_price_id` int(11) NOT NULL DEFAULT '0' COMMENT '活动规格|积分商城规格 id',
|
|
|
|
+ `goods_sku_text` varchar(30) DEFAULT NULL COMMENT '规格名',
|
|
|
|
+ `goods_title` varchar(255) DEFAULT NULL COMMENT '商品名称',
|
|
|
|
+ `goods_image` varchar(255) DEFAULT NULL COMMENT '商品图片',
|
|
|
|
+ `goods_original_price` decimal(10,2) NOT NULL COMMENT '商品原价',
|
|
|
|
+ `discount_fee` decimal(10,2) DEFAULT NULL COMMENT '优惠费用',
|
|
|
|
+ `goods_price` decimal(10,2) NOT NULL COMMENT '商品价格',
|
|
|
|
+ `goods_num` int(11) NOT NULL DEFAULT '0' COMMENT '购买数量',
|
|
|
|
+ `pay_price` decimal(10, 2) NOT NULL COMMENT '支付金额(不含运费)',
|
|
|
|
+ `dispatch_status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '发货状态:0=未发货,1=已发货,2=已收货',
|
|
|
|
+ `dispatch_fee` decimal(10,2) DEFAULT NULL COMMENT '发货费用',
|
|
|
|
+ `dispatch_type` varchar(20) DEFAULT NULL COMMENT '发货方式',
|
|
|
|
+ `dispatch_id` int(11) DEFAULT NULL COMMENT '发货模板',
|
|
|
|
+ `store_id` int(11) NOT NULL DEFAULT 0 COMMENT '门店',
|
|
|
|
+ `aftersale_status` tinyint(2) NOT NULL COMMENT '售后状态:-1=拒绝,0=未申请,1=申请售后,2=售后完成',
|
|
|
|
+ `comment_status` tinyint(2) NOT NULL COMMENT '评价状态:0=未评价,1=已评价',
|
|
|
|
+ `refund_status` tinyint(1) DEFAULT NULL COMMENT '退款状态:-1=拒绝退款,0=无,1=申请中,2=同意',
|
|
|
|
+ `refund_fee` decimal(10,2) DEFAULT NULL COMMENT '退款金额',
|
|
|
|
+ `refund_msg` varchar(255) DEFAULT NULL COMMENT '退款原因',
|
|
|
|
+ `express_name` varchar(60) DEFAULT NULL COMMENT '快递公司',
|
|
|
|
+ `express_code` varchar(60) DEFAULT NULL COMMENT '快递公司编号',
|
|
|
|
+ `express_no` varchar(60) DEFAULT NULL COMMENT '快递单号',
|
|
|
|
+ `ext` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '附加字段',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '添加时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='订单商品明细';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_refund_log` (
|
|
|
|
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `order_sn` varchar(45) DEFAULT NULL COMMENT '商户订单号',
|
|
|
|
+ `refund_sn` varchar(45) DEFAULT NULL COMMENT '商户退款单号',
|
|
|
|
+ `order_item_id` varchar(45) DEFAULT NULL COMMENT '订单商品',
|
|
|
|
+ `pay_fee` decimal(10,2) DEFAULT NULL COMMENT '支付金额',
|
|
|
|
+ `refund_fee` decimal(10,2) DEFAULT NULL COMMENT '退款金额',
|
|
|
|
+ `pay_type` varchar(20) NOT NULL DEFAULT '' COMMENT '付款方式',
|
|
|
|
+ `status` tinyint(1) DEFAULT '0' COMMENT '退款状态:0=退款中,1=退款完成,-1=退款失败',
|
|
|
|
+ `payment_json` varchar(1024) DEFAULT NULL COMMENT '退款原始数据',
|
|
|
|
+ `createtime` int(10) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='退款日志';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_richtext` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `title` varchar(255) DEFAULT NULL COMMENT '标题',
|
|
|
|
+ `content` longtext COMMENT '内容',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='富文本';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_score_goods_sku_price` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `sku_price_id` int(11) NOT NULL DEFAULT '0' COMMENT '规格 id',
|
|
|
|
+ `goods_id` int(11) NOT NULL COMMENT '所属产品',
|
|
|
|
+ `status` enum('up','hidden','down') NOT NULL COMMENT '上架状态:up=上架,hidden=隐藏,down=下架',
|
|
|
|
+ `stock` int(11) NOT NULL DEFAULT '0' COMMENT '库存',
|
|
|
|
+ `sales` int(11) NOT NULL DEFAULT '0' COMMENT '已售',
|
|
|
|
+ `price` decimal(10,2) DEFAULT NULL COMMENT '价格',
|
|
|
|
+ `score` int(11) NOT NULL DEFAULT '0' COMMENT '积分',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL,
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL,
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL,
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='积分商城商品规格';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_share` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL COMMENT '用户',
|
|
|
|
+ `share_id` int(11) NOT NULL COMMENT '分享人',
|
|
|
|
+ `type` varchar(20) DEFAULT NULL COMMENT '识别类型',
|
|
|
|
+ `type_id` varchar(255) DEFAULT NULL COMMENT '识别标识',
|
|
|
|
+ `platform` varchar(20) DEFAULT NULL COMMENT '平台',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户分享';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_startup` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) DEFAULT '0' COMMENT '用户',
|
|
|
|
+ `platform` varchar(20) DEFAULT NULL COMMENT '终端',
|
|
|
|
+ `content` varchar(1200) DEFAULT NULL COMMENT '访问详情',
|
|
|
|
+ `ip` varchar(20) DEFAULT NULL COMMENT '客户端IP',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '访问时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='客户端启动信息';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_user_address` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `is_default` enum('0','1') DEFAULT '0' COMMENT '默认',
|
|
|
|
+ `user_id` int(11) DEFAULT NULL COMMENT '用户',
|
|
|
|
+ `consignee` varchar(20) DEFAULT NULL COMMENT '收货人',
|
|
|
|
+ `phone` varchar(20) DEFAULT NULL COMMENT '联系电话',
|
|
|
|
+ `province_name` varchar(20) DEFAULT NULL COMMENT '省',
|
|
|
|
+ `city_name` varchar(20) DEFAULT NULL COMMENT '市',
|
|
|
|
+ `area_name` varchar(20) DEFAULT NULL COMMENT '区',
|
|
|
|
+ `address` varchar(255) DEFAULT NULL COMMENT '详细地址',
|
|
|
|
+ `province_id` int(11) DEFAULT NULL,
|
|
|
|
+ `city_id` int(11) DEFAULT NULL,
|
|
|
|
+ `area_id` int(11) DEFAULT NULL,
|
|
|
|
+ `latitude` decimal(10, 6) NULL DEFAULT NULL COMMENT '纬度',
|
|
|
|
+ `longitude` decimal(10, 6) NULL DEFAULT NULL COMMENT '经度',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL,
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL,
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL,
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户地址';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_user_bank` (
|
|
|
|
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL COMMENT '用户id',
|
|
|
|
+ `real_name` varchar(191) DEFAULT NULL COMMENT '真实姓名',
|
|
|
|
+ `bank_name` varchar(191) DEFAULT NULL COMMENT '银行名',
|
|
|
|
+ `card_no` varchar(191) DEFAULT NULL COMMENT '卡号',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='提现银行卡';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_user_coupons` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) DEFAULT NULL COMMENT '用户',
|
|
|
|
+ `coupons_id` int(11) DEFAULT NULL COMMENT '优惠券',
|
|
|
|
+ `use_order_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单 id',
|
|
|
|
+ `usetime` int(11) DEFAULT NULL COMMENT '使用时间',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '领取时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户优惠券';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_user_fake` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `nickname` varchar(20) NOT NULL COMMENT '昵称',
|
|
|
|
+ `avatar` varchar(255) NOT NULL COMMENT '头像',
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='虚拟用户';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_user_favorite` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) DEFAULT NULL COMMENT '用户',
|
|
|
|
+ `goods_id` int(11) DEFAULT NULL COMMENT '商品',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL,
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL,
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL,
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户收藏';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_user_oauth` (
|
|
|
|
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(10) UNSIGNED DEFAULT '0' COMMENT '用户',
|
|
|
|
+ `provider` varchar(50) NOT NULL COMMENT '厂商',
|
|
|
|
+ `platform` varchar(50) NOT NULL COMMENT '平台',
|
|
|
|
+ `unionid` varchar(50) DEFAULT NULL COMMENT '厂商ID',
|
|
|
|
+ `openid` varchar(50) NOT NULL COMMENT '平台ID',
|
|
|
|
+ `nickname` varchar(255) DEFAULT '' COMMENT '昵称',
|
|
|
|
+ `sex` tinyint(1) DEFAULT '0' COMMENT '性别',
|
|
|
|
+ `country` varchar(50) DEFAULT NULL COMMENT '国家',
|
|
|
|
+ `province` varchar(50) DEFAULT '' COMMENT '省',
|
|
|
|
+ `city` varchar(50) DEFAULT '' COMMENT '市',
|
|
|
|
+ `headimgurl` varchar(500) DEFAULT '' COMMENT '头像',
|
|
|
|
+ `logintime` int(11) DEFAULT NULL COMMENT '登录时间',
|
|
|
|
+ `logincount` int(11) DEFAULT '0' COMMENT '累计登陆',
|
|
|
|
+ `expire_in` int(11) DEFAULT NULL COMMENT '过期周期(s)',
|
|
|
|
+ `expiretime` int(11) DEFAULT NULL COMMENT '过期时间',
|
|
|
|
+ `session_key` varchar(45) DEFAULT '' COMMENT 'session_key',
|
|
|
|
+ `refresh_token` varchar(110) DEFAULT NULL COMMENT 'refresh_token',
|
|
|
|
+ `access_token` varchar(110) DEFAULT NULL COMMENT 'access_token',
|
|
|
|
+ `createtime` int(10) DEFAULT '0' COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) DEFAULT '0' COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='第三方授权';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_user_sign` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户',
|
|
|
|
+ `date` varchar(30) DEFAULT NULL COMMENT '签到日期',
|
|
|
|
+ `score` int(11) NOT NULL DEFAULT '0' COMMENT '所得积分',
|
|
|
|
+ `is_replenish` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否补签:0=正常,1=补签',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
+ KEY `date` (`date`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户签到';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_user_view` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户',
|
|
|
|
+ `goods_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '添加时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户浏览记录';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_user_wallet_apply` (
|
|
|
|
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL COMMENT '提现用户',
|
|
|
|
+ `money` decimal(10,2) NOT NULL COMMENT '提现金额',
|
|
|
|
+ `charge_money` decimal(10,2) NOT NULL COMMENT '手续费',
|
|
|
|
+ `service_fee` decimal(10,3) DEFAULT NULL COMMENT '手续费率',
|
|
|
|
+ `get_type` enum('bank') DEFAULT NULL COMMENT '收款类型:bank=银行卡',
|
|
|
|
+ `bank_id` int(11) NOT NULL DEFAULT '0' COMMENT '银行卡',
|
|
|
|
+ `real_name` varchar(30) DEFAULT NULL COMMENT '真实姓名',
|
|
|
|
+ `bank_info` varchar(255) DEFAULT NULL COMMENT '打款信息',
|
|
|
|
+ `status` tinyint(1) DEFAULT '0' COMMENT '提现状态:0=申请中,1=已打款,-1=已拒绝',
|
|
|
|
+ `status_msg` varchar(255) DEFAULT NULL COMMENT '驳回理由',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '申请时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '操作时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户提现';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_user_wallet_log` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '日志 id',
|
|
|
|
+ `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户',
|
|
|
|
+ `wallet` decimal(10,2) NOT NULL COMMENT '变动金额',
|
|
|
|
+ `type` varchar(30) NOT NULL COMMENT '变动类型',
|
|
|
|
+ `wallet_type` enum('money','score') NOT NULL COMMENT '日志类型:money=余额,score=积分',
|
|
|
|
+ `item_id` varchar(60) DEFAULT NULL COMMENT '项目 id',
|
|
|
|
+ `ext` varchar(512) DEFAULT NULL COMMENT '附加字段',
|
|
|
|
+ `oper_type` enum('user','store','admin','system') CHARACTER SET utf8mb4 NOT NULL DEFAULT 'user' COMMENT '操作人类型',
|
|
|
|
+ `oper_id` int(11) NOT NULL DEFAULT 0 COMMENT '操作人',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='钱包日志';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_wechat` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
|
|
|
+ `type` varchar(50) NOT NULL COMMENT '配置类型',
|
|
|
|
+ `name` varchar(50) NOT NULL COMMENT '名称',
|
|
|
|
+ `rules` varchar(255) CHARACTER SET utf8mb4 NULL DEFAULT NULL COMMENT '规则',
|
|
|
|
+ `content` text NOT NULL COMMENT '内容',
|
|
|
|
+ `createtime` int(11) NOT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) NOT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='微信管理';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_wechat_fans` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
|
|
|
+ `nickname` varchar(50) DEFAULT NULL COMMENT '粉丝昵称',
|
|
|
|
+ `headimgurl` varchar(255) NOT NULL COMMENT '粉丝头像',
|
|
|
|
+ `openid` varchar(30) NOT NULL COMMENT 'openid',
|
|
|
|
+ `sex` int(11) NOT NULL DEFAULT '0' COMMENT '性别',
|
|
|
|
+ `country` varchar(20) NOT NULL COMMENT '国家',
|
|
|
|
+ `province` varchar(20) NOT NULL COMMENT '省',
|
|
|
|
+ `city` varchar(20) NOT NULL COMMENT '市',
|
|
|
|
+ `subscribe` enum('0','1') NOT NULL COMMENT '关注状态:0=取消关注,1=已关注',
|
|
|
|
+ `subscribe_time` int(11) NOT NULL COMMENT '关注时间',
|
|
|
|
+ `createtime` int(11) NOT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) NOT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='粉丝管理';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_notification` (
|
|
|
|
+ `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '消息表',
|
|
|
|
+ `type` varchar(60) NOT NULL COMMENT '消息类型',
|
|
|
|
+ `notifiable_id` int(10) UNSIGNED NOT NULL COMMENT '接收人',
|
|
|
|
+ `notifiable_type` varchar(255) NOT NULL COMMENT '接收人类型',
|
|
|
|
+ `data` text NOT NULL COMMENT '数据',
|
|
|
|
+ `readtime` int(10) DEFAULT NULL COMMENT '是否已读',
|
|
|
|
+ `createtime` int(10) DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(10) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
+ KEY `notifiable_id_notifiable_type` (`notifiable_id`,`notifiable_type`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='消息管理';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_notification_config` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
|
|
|
+ `platform` varchar(50) NOT NULL COMMENT '发送平台',
|
|
|
|
+ `name` varchar(50) NOT NULL COMMENT '消息名称',
|
|
|
|
+ `event` varchar(50) NOT NULL COMMENT '消息事件',
|
|
|
|
+ `content` text COMMENT '消息内容',
|
|
|
|
+ `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态:0=关闭,1=启用',
|
|
|
|
+ `sendnum` int(11) NOT NULL DEFAULT '0' COMMENT '发送次数',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL,
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL,
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='通知配置';
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_goods` ADD COLUMN `show_sales` INT(10) NOT NULL DEFAULT 0 COMMENT '虚增销量' AFTER `sales`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_goods` ADD COLUMN `is_sku` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否多规格' AFTER `original_price`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order` ADD COLUMN `activity_type` VARCHAR(255) DEFAULT NULL COMMENT '活动类型' AFTER `type`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` ADD COLUMN `refund_msg` VARCHAR(255) DEFAULT NULL COMMENT '退款原因' AFTER `refund_fee`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_activity` ADD COLUMN `richtext_id` INT(11) DEFAULT 0 COMMENT '活动说明' AFTER `type`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_activity` ADD COLUMN `richtext_title` VARCHAR(255) DEFAULT '' COMMENT '说明标题' AFTER `type`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_decorate` ADD COLUMN `type` enum('shop','custom','preview') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'shop' COMMENT '页面分类:shop=商城,custom=自定义,preview=临时预览' AFTER `name`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_decorate` ADD COLUMN `image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片' AFTER `type`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_decorate_content` ADD COLUMN `category` enum('home','user','tabbar','popup','custom','float-button') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '页面类型:home=首页,user=个人中心,tabbar=底部导航,popup=弹出提醒,float-button=悬浮按钮,custom=自定义' AFTER `type`;
|
|
|
|
+
|
|
|
|
+-- 1.0.7更新 ↓
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_express` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `name` varchar(60) DEFAULT NULL COMMENT '快递公司',
|
|
|
|
+ `code` varchar(60) DEFAULT NULL COMMENT '编码',
|
|
|
|
+ `weigh` int(11) NOT NULL DEFAULT '0' COMMENT '权重',
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='快递公司';
|
|
|
|
+INSERT INTO `__PREFIX__shopro_express` (`id`, `name`, `code`, `weigh`) VALUES
|
|
|
|
+(1, '顺丰速运', 'SF', 0),
|
|
|
|
+(2, '百世快递', 'HTKY', 0),
|
|
|
|
+(3, '中通快递', 'ZTO', 0),
|
|
|
|
+(4, '申通快递', 'STO', 0),
|
|
|
|
+(5, '圆通速递', 'YTO', 0),
|
|
|
|
+(6, '韵达速递', 'YD', 0),
|
|
|
|
+(7, '邮政快递包裹', 'YZPY', 0),
|
|
|
|
+(8, 'EMS', 'EMS', 0),
|
|
|
|
+(9, '天天快递', 'HHTT', 0),
|
|
|
|
+(10, '京东快递', 'JD', 0),
|
|
|
|
+(11, '优速快递', 'UC', 0),
|
|
|
|
+(12, '德邦快递', 'DBL', 0),
|
|
|
|
+(13, '宅急送', 'ZJS', 0),
|
|
|
|
+(14, '安捷快递', 'AJ', 0),
|
|
|
|
+(15, '阿里跨境电商物流', 'ALKJWL', 0),
|
|
|
|
+(16, '安迅物流', 'AX', 0),
|
|
|
|
+(17, '安邮美国', 'AYUS', 0),
|
|
|
|
+(18, '亚马逊物流', 'AMAZON', 0),
|
|
|
|
+(19, '澳门邮政', 'AOMENYZ', 0),
|
|
|
|
+(20, '安能物流', 'ANE', 0),
|
|
|
|
+(21, '澳多多', 'ADD', 0),
|
|
|
|
+(22, '澳邮专线', 'AYCA', 0),
|
|
|
|
+(23, '安鲜达', 'AXD', 0),
|
|
|
|
+(24, '安能快运', 'ANEKY', 0),
|
|
|
|
+(25, '澳邦国际', 'ABGJ', 0),
|
|
|
|
+(26, '安得物流', 'ANNTO', 0),
|
|
|
|
+(27, '八达通 ', 'BDT', 0),
|
|
|
|
+(28, '百腾物流', 'BETWL', 0),
|
|
|
|
+(29, '北极星快运', 'BJXKY', 0),
|
|
|
|
+(30, '奔腾物流', 'BNTWL', 0),
|
|
|
|
+(31, '百福东方', 'BFDF', 0),
|
|
|
|
+(32, '贝海国际 ', 'BHGJ', 0),
|
|
|
|
+(33, '八方安运', 'BFAY', 0),
|
|
|
|
+(34, '百世快运', 'BTWL', 0),
|
|
|
|
+(35, '帮帮发转运', 'BBFZY', 0),
|
|
|
|
+(36, '百城通物流', 'BCTWL', 0),
|
|
|
|
+(37, '春风物流', 'CFWL', 0),
|
|
|
|
+(38, '诚通物流', 'CHTWL', 0),
|
|
|
|
+(39, '传喜物流', 'CXHY', 0),
|
|
|
|
+(40, '城市100', 'CITY100', 0),
|
|
|
|
+(41, '城际快递', 'CJKD', 0),
|
|
|
|
+(42, 'CNPEX中邮快递', 'CNPEX', 0),
|
|
|
|
+(43, 'COE东方快递', 'COE', 0),
|
|
|
|
+(44, '长沙创一', 'CSCY', 0),
|
|
|
|
+(45, '成都善途速运', 'CDSTKY', 0),
|
|
|
|
+(46, '联合运通', 'CTG', 0),
|
|
|
|
+(47, '疯狂快递', 'CRAZY', 0),
|
|
|
|
+(48, 'CBO钏博物流', 'CBO', 0),
|
|
|
|
+(49, '佳吉快运', 'CNEX', 0),
|
|
|
|
+(50, '承诺达', 'CND', 0),
|
|
|
|
+(51, '畅顺通达', 'CSTD', 0),
|
|
|
|
+(52, 'D速物流', 'DSWL', 0),
|
|
|
|
+(53, '到了港', 'DLG ', 0),
|
|
|
|
+(54, '大田物流', 'DTWL', 0),
|
|
|
|
+(55, '东骏快捷物流', 'DJKJWL', 0),
|
|
|
|
+(56, '德坤', 'DEKUN', 0),
|
|
|
|
+(57, '德邦快运', 'DBLKY', 0),
|
|
|
|
+(58, '大马鹿', 'DML', 0),
|
|
|
|
+(59, '丹鸟物流', 'DNWL', 0),
|
|
|
|
+(60, '东方汇', 'EST365', 0),
|
|
|
|
+(61, 'E特快', 'ETK', 0),
|
|
|
|
+(62, 'EMS国内', 'EMS2', 0),
|
|
|
|
+(63, 'EWE', 'EWE', 0),
|
|
|
|
+(64, '飞康达', 'FKD', 0),
|
|
|
|
+(65, '富腾达 ', 'FTD', 0),
|
|
|
|
+(66, '凡宇货的', 'FYKD', 0),
|
|
|
|
+(67, '速派快递', 'FASTGO', 0),
|
|
|
|
+(68, '飞豹快递', 'FBKD', 0),
|
|
|
|
+(69, '丰巢', 'FBOX', 0),
|
|
|
|
+(70, '飞狐快递', 'FHKD', 0),
|
|
|
|
+(71, '复融供应链', 'FRGYL', 0),
|
|
|
|
+(72, '飞远配送', 'FYPS', 0),
|
|
|
|
+(73, '凡宇速递', 'FYSD', 0),
|
|
|
|
+(74, '丰通快运', 'FT', 0),
|
|
|
|
+(75, '冠达 ', 'GD', 0),
|
|
|
|
+(76, '广东邮政', 'GDEMS', 0),
|
|
|
|
+(77, '共速达', 'GSD', 0),
|
|
|
|
+(78, '广通 ', 'GTONG', 0),
|
|
|
|
+(79, '冠达快递', 'GDKD', 0),
|
|
|
|
+(80, '挂号信', 'GHX', 0),
|
|
|
|
+(81, '广通速递', 'GTKD', 0),
|
|
|
|
+(82, '高铁快运', 'GTKY', 0),
|
|
|
|
+(83, '迦递快递', 'GAI', 0),
|
|
|
|
+(84, '港快速递', 'GKSD', 0),
|
|
|
|
+(85, '高铁速递', 'GTSD', 0),
|
|
|
|
+(86, '黑狗冷链', 'HGLL', 0),
|
|
|
|
+(87, '恒路物流', 'HLWL', 0),
|
|
|
|
+(88, '天地华宇', 'HOAU', 0),
|
|
|
|
+(89, '鸿桥供应链', 'HOTSCM', 0),
|
|
|
|
+(90, '海派通物流公司', 'HPTEX', 0),
|
|
|
|
+(91, '华强物流', 'hq568', 0),
|
|
|
|
+(92, '环球速运 ', 'HQSY', 0),
|
|
|
|
+(93, '华夏龙物流', 'HXLWL', 0),
|
|
|
|
+(94, '河北建华', 'HBJH', 0),
|
|
|
|
+(95, '汇丰物流', 'HF', 0),
|
|
|
|
+(96, '华航快递', 'HHKD', 0),
|
|
|
|
+(97, '华翰物流', 'HHWL', 0),
|
|
|
|
+(98, '黄马甲快递', 'HMJKD', 0),
|
|
|
|
+(99, '海盟速递', 'HMSD', 0),
|
|
|
|
+(100, '华企快运', 'HQKY', 0),
|
|
|
|
+(101, '昊盛物流', 'HSWL', 0),
|
|
|
|
+(102, '鸿泰物流', 'HTWL', 0),
|
|
|
|
+(103, '豪翔物流 ', 'HXWL', 0),
|
|
|
|
+(104, '合肥汇文', 'HFHW', 0),
|
|
|
|
+(105, '辉隆物流', 'HLONGWL', 0),
|
|
|
|
+(106, '华企快递', 'HQKD', 0),
|
|
|
|
+(107, '韩润物流', 'HRWL', 0),
|
|
|
|
+(108, '青岛恒通快递', 'HTKD', 0),
|
|
|
|
+(109, '货运皇物流', 'HYH', 0),
|
|
|
|
+(110, '好来运快递', 'HLYSD', 0),
|
|
|
|
+(111, '皇家物流', 'HJWL', 0),
|
|
|
|
+(112, '海信物流', 'HISENSE', 0),
|
|
|
|
+(113, '捷安达 ', 'JAD', 0),
|
|
|
|
+(114, '京广速递', 'JGSD', 0),
|
|
|
|
+(115, '九曳供应链', 'JIUYE', 0),
|
|
|
|
+(116, '急先达', 'JXD', 0),
|
|
|
|
+(117, '晋越快递', 'JYKD', 0),
|
|
|
|
+(118, '佳成国际', 'JCEX', 0),
|
|
|
|
+(119, '捷特快递', 'JTKD', 0),
|
|
|
|
+(120, '精英速运', 'JYSY', 0),
|
|
|
|
+(121, '加运美', 'JYM', 0),
|
|
|
|
+(122, '景光物流', 'JGWL', 0),
|
|
|
|
+(123, '佳怡物流', 'JYWL', 0),
|
|
|
|
+(124, '京东快运', 'JDKY', 0),
|
|
|
|
+(125, '金大物流', 'JDWL', 0),
|
|
|
|
+(126, '极兔速递', 'JTSD', 0),
|
|
|
|
+(127, '跨越速运', 'KYSY', 0),
|
|
|
|
+(128, '快服务', 'KFW', 0),
|
|
|
|
+(129, '快速递物流', 'KSDWL', 0),
|
|
|
|
+(130, '康力物流', 'KLWL', 0),
|
|
|
|
+(131, '快淘快递', 'KTKD', 0),
|
|
|
|
+(132, '快优达速递', 'KYDSD', 0),
|
|
|
|
+(133, '跨越物流', 'KYWL', 0),
|
|
|
|
+(134, '快8速运', 'KBSY', 0),
|
|
|
|
+(135, '龙邦快递', 'LB', 0),
|
|
|
|
+(136, '蓝弧快递', 'LHKD', 0),
|
|
|
|
+(137, '乐捷递', 'LJD', 0),
|
|
|
|
+(138, '立即送', 'LJS', 0),
|
|
|
|
+(139, '联昊通速递', 'LHT', 0),
|
|
|
|
+(140, '民邦快递', 'MB', 0),
|
|
|
|
+(141, '民航快递', 'MHKD', 0),
|
|
|
|
+(142, '美快 ', 'MK', 0),
|
|
|
|
+(143, '门对门快递', 'MDM', 0),
|
|
|
|
+(144, '迈达', 'MD', 0),
|
|
|
|
+(145, '闽盛快递', 'MSKD', 0),
|
|
|
|
+(146, '迈隆递运', 'MRDY', 0),
|
|
|
|
+(147, '明亮物流', 'MLWL', 0),
|
|
|
|
+(148, '南方传媒物流', 'NFCM', 0),
|
|
|
|
+(149, '南京晟邦物流', 'NJSBWL', 0),
|
|
|
|
+(150, '能达速递', 'NEDA', 0),
|
|
|
|
+(151, '平安达腾飞快递', 'PADTF', 0),
|
|
|
|
+(152, '泛捷快递', 'PANEX', 0),
|
|
|
|
+(153, '品骏快递', 'PJ', 0),
|
|
|
|
+(154, '陪行物流', 'PXWL', 0),
|
|
|
|
+(155, 'PCA Express', 'PCA', 0),
|
|
|
|
+(156, '全晨快递', 'QCKD', 0),
|
|
|
|
+(157, '全日通快递', 'QRT', 0),
|
|
|
|
+(158, '快客快递', 'QUICK', 0),
|
|
|
|
+(159, '全信通', 'QXT', 0),
|
|
|
|
+(160, '七曜中邮', 'QYZY', 0),
|
|
|
|
+(161, '如风达', 'RFD', 0),
|
|
|
|
+(162, '荣庆物流', 'RQ', 0),
|
|
|
|
+(163, '日日顺物流', 'RRS', 0),
|
|
|
|
+(164, '日昱物流', 'RLWL', 0),
|
|
|
|
+(165, '瑞丰速递', 'RFEX', 0),
|
|
|
|
+(166, '赛澳递', 'SAD', 0),
|
|
|
|
+(167, '苏宁物流', 'SNWL', 0),
|
|
|
|
+(168, '圣安物流', 'SAWL', 0),
|
|
|
|
+(169, '晟邦物流', 'SBWL', 0),
|
|
|
|
+(170, '上大物流', 'SDWL', 0),
|
|
|
|
+(171, '盛丰物流', 'SFWL', 0),
|
|
|
|
+(172, '速通物流', 'ST', 0),
|
|
|
|
+(173, '速腾快递', 'STWL', 0),
|
|
|
|
+(174, '速必达物流', 'SUBIDA', 0),
|
|
|
|
+(175, '速递e站', 'SDEZ', 0),
|
|
|
|
+(176, '速呈宅配', 'SCZPDS', 0),
|
|
|
|
+(177, '速尔快递', 'SURE', 0),
|
|
|
|
+(178, '山东海红', 'SDHH', 0),
|
|
|
|
+(179, '顺丰国际', 'SFGJ', 0),
|
|
|
|
+(180, '盛辉物流', 'SHWL', 0),
|
|
|
|
+(181, '穗佳物流', 'SJWL', 0),
|
|
|
|
+(182, '三态速递', 'STSD', 0),
|
|
|
|
+(183, '山西红马甲', 'SXHMJ', 0),
|
|
|
|
+(184, '世运快递', 'SYKD', 0),
|
|
|
|
+(185, '闪送', 'SS', 0),
|
|
|
|
+(186, '盛通快递', 'STKD', 0),
|
|
|
|
+(187, '郑州速捷', 'SJ', 0),
|
|
|
|
+(188, '顺心捷达', 'SX', 0),
|
|
|
|
+(189, '商桥物流', 'SQWL', 0),
|
|
|
|
+(190, '佳旺达物流', 'SYJWDX', 0),
|
|
|
|
+(191, '台湾邮政', 'TAIWANYZ', 0),
|
|
|
|
+(192, '唐山申通', 'TSSTO', 0),
|
|
|
|
+(193, '特急送', 'TJS', 0),
|
|
|
|
+(194, '通用物流', 'TYWL', 0),
|
|
|
|
+(195, '华宇物流', 'TDHY', 0),
|
|
|
|
+(196, '通和天下', 'THTX', 0),
|
|
|
|
+(197, '腾林物流', 'TLWL', 0),
|
|
|
|
+(198, '全一快递', 'UAPEX', 0),
|
|
|
|
+(199, 'UBI', 'UBI', 0),
|
|
|
|
+(200, 'UEQ Express', 'UEQ', 0),
|
|
|
|
+(201, '万家康 ', 'WJK', 0),
|
|
|
|
+(202, '万家物流', 'WJWL', 0),
|
|
|
|
+(203, '武汉同舟行', 'WHTZX', 0),
|
|
|
|
+(204, '维普恩', 'WPE', 0),
|
|
|
|
+(205, '中粮我买网', 'WM', 0),
|
|
|
|
+(206, '万象物流', 'WXWL', 0),
|
|
|
|
+(207, '微特派', 'WTP', 0),
|
|
|
|
+(208, '温通物流', 'WTWL', 0),
|
|
|
|
+(209, '迅驰物流 ', 'XCWL', 0),
|
|
|
|
+(210, '信丰物流', 'XFEX', 0),
|
|
|
|
+(211, '希优特', 'XYT', 0),
|
|
|
|
+(212, '新邦物流', 'XBWL', 0),
|
|
|
|
+(213, '祥龙运通', 'XLYT', 0),
|
|
|
|
+(214, '新杰物流', 'XJ', 0),
|
|
|
|
+(215, '源安达快递', 'YADEX', 0),
|
|
|
|
+(216, '远成物流', 'YCWL', 0),
|
|
|
|
+(217, '远成快运', 'YCSY', 0),
|
|
|
|
+(218, '义达国际物流', 'YDH', 0),
|
|
|
|
+(219, '易达通 ', 'YDT', 0),
|
|
|
|
+(220, '原飞航物流', 'YFHEX', 0),
|
|
|
|
+(221, '亚风快递', 'YFSD', 0),
|
|
|
|
+(222, '运通快递', 'YTKD', 0),
|
|
|
|
+(223, '亿翔快递', 'YXKD', 0),
|
|
|
|
+(224, '运东西网', 'YUNDX', 0),
|
|
|
|
+(225, '壹米滴答', 'YMDD', 0),
|
|
|
|
+(226, '邮政国内标快', 'YZBK', 0),
|
|
|
|
+(227, '一站通速运', 'YZTSY', 0),
|
|
|
|
+(228, '驭丰速运', 'YFSUYUN', 0),
|
|
|
|
+(229, '余氏东风', 'YSDF', 0),
|
|
|
|
+(230, '耀飞快递', 'YF', 0),
|
|
|
|
+(231, '韵达快运', 'YDKY', 0),
|
|
|
|
+(232, '云路', 'YL', 0),
|
|
|
|
+(233, '邮必佳', 'YBJ', 0),
|
|
|
|
+(234, '越丰物流', 'YFEX', 0),
|
|
|
|
+(235, '银捷速递', 'YJSD', 0),
|
|
|
|
+(236, '优联吉运', 'YLJY', 0),
|
|
|
|
+(237, '亿领速运', 'YLSY', 0),
|
|
|
|
+(238, '英脉物流', 'YMWL', 0),
|
|
|
|
+(239, '亿顺航', 'YSH', 0),
|
|
|
|
+(240, '音素快运', 'YSKY', 0),
|
|
|
|
+(241, '易通达', 'YTD', 0),
|
|
|
|
+(242, '一统飞鸿', 'YTFH', 0),
|
|
|
|
+(243, '圆通国际', 'YTOGJ', 0),
|
|
|
|
+(244, '宇鑫物流', 'YXWL', 0),
|
|
|
|
+(245, '包裹/平邮/挂号信', 'YZGN', 0),
|
|
|
|
+(246, '一智通', 'YZT', 0),
|
|
|
|
+(247, '优拜物流', 'YBWL', 0),
|
|
|
|
+(248, '增益快递', 'ZENY', 0),
|
|
|
|
+(249, '中睿速递', 'ZRSD', 0),
|
|
|
|
+(250, '中铁快运', 'ZTKY', 0),
|
|
|
|
+(251, '中天万运', 'ZTWY', 0),
|
|
|
|
+(252, '中外运速递', 'ZWYSD', 0),
|
|
|
|
+(253, '澳转运', 'ZY_AZY', 0),
|
|
|
|
+(254, '八达网', 'ZY_BDA', 0),
|
|
|
|
+(255, '贝易购', 'ZY_BYECO', 0),
|
|
|
|
+(256, '赤兔马转运', 'ZY_CTM', 0),
|
|
|
|
+(257, 'CUL中美速递', 'ZY_CUL', 0),
|
|
|
|
+(258, 'ETD', 'ZY_ETD', 0),
|
|
|
|
+(259, '风驰快递', 'ZY_FCKD', 0),
|
|
|
|
+(260, '风雷速递', 'ZY_FLSD', 0),
|
|
|
|
+(261, '皓晨优递', 'ZY_HCYD', 0),
|
|
|
|
+(262, '海带宝', 'ZY_HDB', 0),
|
|
|
|
+(263, '汇丰美中速递', 'ZY_HFMZ', 0),
|
|
|
|
+(264, '豪杰速递', 'ZY_HJSD', 0),
|
|
|
|
+(265, '华美快递', 'ZY_HMKD', 0),
|
|
|
|
+(266, '360hitao转运', 'ZY_HTAO', 0),
|
|
|
|
+(267, '海淘村', 'ZY_HTCUN', 0),
|
|
|
|
+(268, '365海淘客', 'ZY_HTKE', 0),
|
|
|
|
+(269, '华通快运', 'ZY_HTONG', 0),
|
|
|
|
+(270, '海星桥快递', 'ZY_HXKD', 0),
|
|
|
|
+(271, '华兴速运', 'ZY_HXSY', 0),
|
|
|
|
+(272, 'LogisticsY', 'ZY_IHERB', 0),
|
|
|
|
+(273, '领跑者快递', 'ZY_LPZ', 0),
|
|
|
|
+(274, '量子物流', 'ZY_LZWL', 0),
|
|
|
|
+(275, '明邦转运', 'ZY_MBZY', 0),
|
|
|
|
+(276, '美嘉快递', 'ZY_MJ', 0),
|
|
|
|
+(277, '168 美中快递', 'ZY_MZ', 0),
|
|
|
|
+(278, '欧e捷', 'ZY_OEJ', 0),
|
|
|
|
+(279, '欧洲疯', 'ZY_OZF', 0),
|
|
|
|
+(280, '欧洲GO', 'ZY_OZGO', 0),
|
|
|
|
+(281, '全美通', 'ZY_QMT', 0),
|
|
|
|
+(282, 'SCS国际物流', 'ZY_SCS', 0),
|
|
|
|
+(283, 'SOHO苏豪国际', 'ZY_SOHO', 0),
|
|
|
|
+(284, 'Sonic-Ex速递', 'ZY_SONIC', 0),
|
|
|
|
+(285, '通诚美中快递', 'ZY_TCM', 0),
|
|
|
|
+(286, 'TrakPak', 'ZY_TPAK', 0),
|
|
|
|
+(287, '天天海淘', 'ZY_TTHT', 0),
|
|
|
|
+(288, '天泽快递', 'ZY_TZKD', 0),
|
|
|
|
+(289, '迅达快递', 'ZY_XDKD', 0),
|
|
|
|
+(290, '信达速运', 'ZY_XDSY', 0),
|
|
|
|
+(291, '新干线快递', 'ZY_XGX', 0),
|
|
|
|
+(292, '信捷转运', 'ZY_XJ', 0),
|
|
|
|
+(293, '优购快递', 'ZY_YGKD', 0),
|
|
|
|
+(294, '友家速递(UCS)', 'ZY_YJSD', 0),
|
|
|
|
+(295, '云畔网', 'ZY_YPW', 0),
|
|
|
|
+(296, '易送网', 'ZY_YSW', 0),
|
|
|
|
+(297, '中运全速', 'ZYQS', 0),
|
|
|
|
+(298, '中邮物流', 'ZYWL', 0),
|
|
|
|
+(299, '汇强快递', 'ZHQKD', 0),
|
|
|
|
+(300, '众通快递', 'ZTE', 0),
|
|
|
|
+(301, '中通快运', 'ZTOKY', 0),
|
|
|
|
+(302, '中邮快递', 'ZYKD', 0),
|
|
|
|
+(303, '芝麻开门', 'ZMKM', 0),
|
|
|
|
+(304, '中骅物流', 'ZHWL', 0),
|
|
|
|
+(305, '中铁物流', 'ZTWL', 0),
|
|
|
|
+(306, '智汇鸟', 'ZHN', 99),
|
|
|
|
+(307, '众邮快递', 'ZYE', 0);
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_order_aftersale` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `aftersale_sn` varchar(40) NOT NULL COMMENT '售后单号',
|
|
|
|
+ `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户',
|
|
|
|
+ `type` varchar(20) NOT NULL COMMENT '类型:refund=退款,return=退货,other=其他',
|
|
|
|
+ `phone` varchar(20) DEFAULT NULL COMMENT '联系方式',
|
|
|
|
+ `activity_id` int(11) DEFAULT NULL COMMENT '活动',
|
|
|
|
+ `activity_type` varchar(255) DEFAULT NULL COMMENT '活动类型',
|
|
|
|
+ `order_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单',
|
|
|
|
+ `order_item_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单商品',
|
|
|
|
+ `goods_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品',
|
|
|
|
+ `goods_sku_price_id` int(11) NOT NULL DEFAULT '0' COMMENT '规格 id',
|
|
|
|
+ `goods_sku_text` varchar(30) DEFAULT NULL COMMENT '规格名',
|
|
|
|
+ `goods_title` varchar(255) DEFAULT NULL COMMENT '商品名称',
|
|
|
|
+ `goods_image` varchar(255) DEFAULT NULL COMMENT '商品图片',
|
|
|
|
+ `goods_original_price` decimal(10,2) NOT NULL COMMENT '商品原价',
|
|
|
|
+ `discount_fee` decimal(10,2) DEFAULT NULL COMMENT '优惠费用',
|
|
|
|
+ `goods_price` decimal(10,2) NOT NULL COMMENT '商品价格',
|
|
|
|
+ `goods_num` int(11) NOT NULL DEFAULT '0' COMMENT '购买数量',
|
|
|
|
+ `dispatch_status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '发货状态:0=未发货,1=已发货,2=已收货',
|
|
|
|
+ `dispatch_fee` decimal(10,2) DEFAULT NULL COMMENT '发货费用',
|
|
|
|
+ `aftersale_status` tinyint(2) NOT NULL COMMENT '售后状态:-1=拒绝,0=未处理,1=处理中,2=售后完成',
|
|
|
|
+ `refund_status` tinyint(1) DEFAULT NULL COMMENT '退款状态:-1=拒绝退款,0=未退款,1=同意',
|
|
|
|
+ `refund_fee` decimal(10,2) DEFAULT NULL COMMENT '退款金额',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '添加时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
+ UNIQUE KEY `aftersale_sn` (`aftersale_sn`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='售后单';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_order_aftersale_log` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '操作记录 id',
|
|
|
|
+ `order_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单',
|
|
|
|
+ `order_aftersale_id` int(11) NOT NULL DEFAULT '0' COMMENT '售后单',
|
|
|
|
+ `oper_type` enum('user','store','admin','system') NOT NULL COMMENT '操作人类型',
|
|
|
|
+ `oper_id` int(11) NOT NULL DEFAULT '0' COMMENT '操作人 id',
|
|
|
|
+ `dispatch_status` tinyint(2) NOT NULL COMMENT '发货状态',
|
|
|
|
+ `aftersale_status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '售后状态',
|
|
|
|
+ `refund_status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '退款状态',
|
|
|
|
+ `reason` varchar(255) DEFAULT NULL COMMENT '售后原因',
|
|
|
|
+ `content` varchar(255) DEFAULT NULL COMMENT '内容',
|
|
|
|
+ `images` varchar(2500) DEFAULT NULL COMMENT '图片',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '操作时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='售后单记录';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_order_express` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL COMMENT '用户',
|
|
|
|
+ `order_id` int(11) NOT NULL COMMENT '订单',
|
|
|
|
+ `express_name` varchar(60) DEFAULT NULL COMMENT '快递公司',
|
|
|
|
+ `express_code` varchar(60) DEFAULT NULL COMMENT '公司编号',
|
|
|
|
+ `express_no` varchar(60) DEFAULT NULL COMMENT '快递单号',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '添加时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='快递包裹';
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_order_express_log` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL COMMENT '用户',
|
|
|
|
+ `order_id` int(11) NOT NULL COMMENT '订单',
|
|
|
|
+ `order_express_id` int(11) NOT NULL COMMENT '包裹',
|
|
|
|
+ `status` tinyint(4) DEFAULT '0' COMMENT '物流状态',
|
|
|
|
+ `location` varchar(255) DEFAULT NULL COMMENT '城市',
|
|
|
|
+ `content` varchar(512) DEFAULT NULL COMMENT '物流信息',
|
|
|
|
+ `changedate` datetime DEFAULT NULL COMMENT '变动时间',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '添加时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='物流信息';
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_store` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
|
|
|
+ `name` varchar(50) NOT NULL COMMENT '门店名称',
|
|
|
|
+ `images` varchar(2500) NOT NULL COMMENT '门店图片',
|
|
|
|
+ `realname` varchar(50) NOT NULL COMMENT '联系人',
|
|
|
|
+ `phone` varchar(20) NOT NULL COMMENT '联系电话',
|
|
|
|
+ `province_name` varchar(50) NOT NULL COMMENT '省',
|
|
|
|
+ `city_name` varchar(50) NOT NULL COMMENT '市',
|
|
|
|
+ `area_name` varchar(50) NOT NULL COMMENT '区',
|
|
|
|
+ `province_id` int(11) NOT NULL COMMENT '省ID',
|
|
|
|
+ `city_id` int(11) NOT NULL COMMENT '市ID',
|
|
|
|
+ `area_id` int(11) NOT NULL COMMENT '区ID',
|
|
|
|
+ `address` varchar(255) NOT NULL COMMENT '详细地址',
|
|
|
|
+ `latitude` decimal(10,6) NULL DEFAULT NULL COMMENT '纬度',
|
|
|
|
+ `longitude` decimal(10,6) NULL DEFAULT NULL COMMENT '经度',
|
|
|
|
+ `store` enum('0','1') NOT NULL DEFAULT '0' COMMENT '支持配送:0=否,1=是',
|
|
|
|
+ `selfetch` enum('0','1') NOT NULL DEFAULT '0' COMMENT '支持自提:0=否,1=是',
|
|
|
|
+ `service_type` varchar(20) NOT NULL COMMENT '服务范围',
|
|
|
|
+ `service_radius` int(11) NOT NULL DEFAULT '0' COMMENT '服务半径',
|
|
|
|
+ `service_province_ids` varchar(1200) DEFAULT NULL COMMENT '服务行政省',
|
|
|
|
+ `service_city_ids` varchar(1200) DEFAULT NULL COMMENT '服务行政市',
|
|
|
|
+ `service_area_ids` varchar(1200) DEFAULT NULL COMMENT '服务行政区',
|
|
|
|
+ `openhours` varchar(20) NOT NULL COMMENT '营业时间',
|
|
|
|
+ `openweeks` set('1','2','3','4','5','6','7') NOT NULL DEFAULT '1,2,3,4,5,6,7' COMMENT '营业天数',
|
|
|
|
+ `status` enum('0','1') NOT NULL DEFAULT '1' COMMENT '门店状态:0=禁用,1=启用',
|
|
|
|
+ `createtime` int(11) NOT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) NOT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='门店';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_user_store` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL COMMENT '用户',
|
|
|
|
+ `store_id` int(11) NOT NULL COMMENT '门店',
|
|
|
|
+ PRIMARY KEY (`id`)
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='门店管理员';
|
|
|
|
+
|
|
|
|
+CREATE TABLE IF NOT EXISTS `__PREFIX__shopro_verify` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL COMMENT '用户',
|
|
|
|
+ `type` varchar(30) DEFAULT 'verify' COMMENT '类型:verify=核销券',
|
|
|
|
+ `code` varchar(20) NOT NULL COMMENT '核销码',
|
|
|
|
+ `order_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单',
|
|
|
|
+ `order_item_id` int(11) NOT NULL DEFAULT '0' COMMENT '订单商品',
|
|
|
|
+ `usetime` int(11) DEFAULT NULL COMMENT '使用时间',
|
|
|
|
+ `expiretime` int(11) DEFAULT NULL COMMENT '过期时间',
|
|
|
|
+ `oper_type` enum('user','store','admin','system') DEFAULT NULL COMMENT '操作人类型',
|
|
|
|
+ `oper_id` int(11) NOT NULL DEFAULT '0' COMMENT '操作人',
|
|
|
|
+ `createtime` int(11) DEFAULT NULL COMMENT '添加时间',
|
|
|
|
+ `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
+ UNIQUE KEY `code` (`code`) USING BTREE COMMENT '核销码'
|
|
|
|
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='二维码';
|
|
|
|
+
|
|
|
|
+-- 用户地理位置加入经纬度
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_address` ADD COLUMN `latitude` decimal(10, 6) NULL DEFAULT NULL COMMENT '纬度' AFTER `area_id`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_address` ADD COLUMN `longitude` decimal(10, 6) NULL DEFAULT NULL COMMENT '经度' AFTER `latitude`;
|
|
|
|
+
|
|
|
|
+-- 订单副表加入扩展字段
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` ADD COLUMN `goods_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'normal' COMMENT '商品类型:normal=实体商品,virtual=虚拟商品' AFTER `goods_id`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` ADD COLUMN `store_id` int(11) NOT NULL DEFAULT 0 COMMENT '门店' AFTER `dispatch_id`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` MODIFY COLUMN `aftersale_status` tinyint(2) NOT NULL COMMENT '售后状态:-1=拒绝,0=未申请,1=申请售后,2=售后完成' AFTER `store_id`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` ADD COLUMN `express_code` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '公司编号' AFTER `express_name`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` ADD COLUMN `ext` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '附加字段' AFTER `express_no`;
|
|
|
|
+
|
|
|
|
+-- 订单操作日志加入操作人类型
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_action` MODIFY COLUMN `oper_type` enum('user','store','admin','system') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '操作人类型' AFTER `order_item_id`;
|
|
|
|
+
|
|
|
|
+-- 配送方式 商家配送
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_store` COMMENT = '商家配送';
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_store` ADD COLUMN `store_ids` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '包含门店' AFTER `id`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_store` ADD COLUMN `createtime` int(11) DEFAULT NULL COMMENT '创建时间' AFTER `store_ids`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_store` ADD COLUMN `updatetime` int(11) DEFAULT NULL COMMENT '更新时间' AFTER `createtime`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_store` ADD COLUMN `deletetime` int(11) NULL DEFAULT NULL COMMENT '删除时间' AFTER `updatetime`;
|
|
|
|
+
|
|
|
|
+-- 配送方式 自提点
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_selfetch` drop COLUMN `name`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_selfetch` drop COLUMN `weigh`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_selfetch` drop COLUMN `longitude`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_selfetch` drop COLUMN `latitude`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_selfetch` drop COLUMN `address`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_selfetch` ADD COLUMN `store_ids` varchar(255) CHARACTER SET utf8mb4 NOT NULL COMMENT '包含门店' AFTER `id`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_selfetch` ADD COLUMN `expire_type` enum('day','time') CHARACTER SET utf8mb4 NOT NULL DEFAULT 'day' COMMENT '过期类型:day=天数,time=截至日期' AFTER `store_ids`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_selfetch` ADD COLUMN `expire_day` int(11) NOT NULL DEFAULT 0 COMMENT 'X天过期' AFTER `expire_type`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_selfetch` ADD COLUMN `expire_time` int(11) NOT NULL DEFAULT 0 COMMENT '截至日期' AFTER `expire_day`;
|
|
|
|
+
|
|
|
|
+-- 配送方式 快递物流
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_express` DROP COLUMN `name`;
|
|
|
|
+
|
|
|
|
+-- 配送方式 自动发货
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_autosend` ADD COLUMN `type` enum('card','text','params') CHARACTER SET utf8mb4 NOT NULL COMMENT '自动发货类型:card=卡密,text=固定内容,params=自定义内容' AFTER `id`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_autosend` ADD COLUMN `content` varchar(1200) CHARACTER SET utf8mb4 NOT NULL COMMENT '发货内容' AFTER `type`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_autosend` ADD COLUMN `createtime` int(11) DEFAULT NULL COMMENT '创建时间' AFTER `content`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_autosend` ADD COLUMN `updatetime` int(11) DEFAULT NULL COMMENT '更新时间' AFTER `createtime`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_dispatch_autosend` ADD COLUMN `deletetime` int(11) NULL DEFAULT NULL COMMENT '删除时间' AFTER `updatetime`;
|
|
|
|
+
|
|
|
|
+-- 优惠券 添加多类型
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_coupons` ADD COLUMN `type` enum('cash','discount') NOT NULL DEFAULT 'cash' COMMENT '类型:cash=代金券,discount=折扣券' AFTER `name`;
|
|
|
|
+
|
|
|
|
+-- 用户钱包记录 添加操作人
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_log` ADD COLUMN `oper_type` enum('user','store','admin','system') CHARACTER SET utf8mb4 NOT NULL DEFAULT 'user' COMMENT '操作人类型' AFTER `ext`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_log` ADD COLUMN `oper_id` int(11) NOT NULL DEFAULT 0 COMMENT '操作人 id' AFTER `oper_type`;
|
|
|
|
+
|
|
|
|
+-- 微信管理 添加自定义规则
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_wechat` ADD COLUMN `rules` varchar(255) CHARACTER SET utf8mb4 NULL DEFAULT NULL COMMENT '规则' AFTER `name`;
|
|
|
|
+
|
|
|
|
+-- 会员组 添加等级徽章
|
|
|
|
+ALTER TABLE `__PREFIX__user_group` ADD COLUMN `image` varchar(255) CHARACTER SET utf8mb4 NULL DEFAULT NULL COMMENT '等级徽章' AFTER `rules`;
|
|
|
|
+
|
|
|
|
+-- 配置 更改字段为空
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_config` MODIFY COLUMN `content` longtext CHARACTER SET utf8mb4 NULL DEFAULT NULL COMMENT '变量字典数据';
|
|
|
|
+-- 1.0.7更新 ↑
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+-- 1.2.0 标准版更新 ↓
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` ADD COLUMN `pay_price` decimal(10, 2) NOT NULL COMMENT '支付金额(不含运费)' AFTER `goods_num`;
|
|
|
|
+
|
|
|
|
+CREATE TABLE `__PREFIX__shopro_store_apply` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `user_id` int(11) NOT NULL COMMENT '用户',
|
|
|
|
+ `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '门店名称',
|
|
|
|
+ `images` varchar(2500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '门店图片',
|
|
|
|
+ `realname` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '联系人',
|
|
|
|
+ `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '联系电话',
|
|
|
|
+ `province_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '省',
|
|
|
|
+ `city_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '市',
|
|
|
|
+ `area_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '区',
|
|
|
|
+ `province_id` int(11) NOT NULL COMMENT '省ID',
|
|
|
|
+ `city_id` int(11) NOT NULL COMMENT '市ID',
|
|
|
|
+ `area_id` int(11) NOT NULL COMMENT '区ID',
|
|
|
|
+ `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '详细地址',
|
|
|
|
+ `latitude` decimal(10, 6) NOT NULL DEFAULT 0.000000 COMMENT '纬度',
|
|
|
|
+ `longitude` decimal(10, 6) NOT NULL DEFAULT 0.000000 COMMENT '经度',
|
|
|
|
+ `openhours` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '营业时间',
|
|
|
|
+ `openweeks` set('1','2','3','4','5','6','7') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '1,2,3,4,5,6,7' COMMENT '营业天数',
|
|
|
|
+ `apply_num` int(10) NOT NULL DEFAULT 0 COMMENT '申请次数',
|
|
|
|
+ `status` enum('-1','0','1') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '审核状态:-1驳回,0=未审核,1=已通过',
|
|
|
|
+ `status_msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '驳回原因',
|
|
|
|
+ `createtime` int(11) NOT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) NOT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '门店入驻';
|
|
|
|
+
|
|
|
|
+CREATE TABLE `__PREFIX__shopro_chat` (
|
|
|
|
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
|
|
|
+ `admin_id` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '绑定管理员',
|
|
|
|
+ `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '客服昵称',
|
|
|
|
+ `avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '客服头像',
|
|
|
|
+ `max_num` tinyint(3) UNSIGNED NOT NULL DEFAULT 1 COMMENT '接待上限',
|
|
|
|
+ `lasttime` int(10) NOT NULL DEFAULT 0 COMMENT '上次服务时间',
|
|
|
|
+ `status` enum('offline','online','busy') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'offline' COMMENT '状态:offline=离线,online=在线',
|
|
|
|
+ `createtime` int(10) NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '客服表';
|
|
|
|
+
|
|
|
|
+CREATE TABLE `__PREFIX__shopro_chat_connection` (
|
|
|
|
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
|
|
|
+ `session_id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户标识',
|
|
|
|
+ `user_id` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '用户',
|
|
|
|
+ `nickname` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '昵称',
|
|
|
|
+ `customer_service_id` int(10) NOT NULL DEFAULT 0 COMMENT '客服',
|
|
|
|
+ `starttime` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '开始时间',
|
|
|
|
+ `endtime` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '结束时间',
|
|
|
|
+ `status` enum('waiting','ing','end') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'waiting' COMMENT '状态:watting=等待中,ing=服务中,end=已结束',
|
|
|
|
+ `createtime` int(10) NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
+ INDEX `session_id`(`session_id`) USING BTREE,
|
|
|
|
+ INDEX `user_id`(`user_id`) USING BTREE,
|
|
|
|
+ INDEX `customer_service_id`(`customer_service_id`) USING BTREE
|
|
|
|
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '连接表';
|
|
|
|
+
|
|
|
|
+CREATE TABLE `__PREFIX__shopro_chat_fast_reply` (
|
|
|
|
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
|
|
|
+ `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '名称',
|
|
|
|
+ `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '内容',
|
|
|
|
+ `status` enum('normal','hidden') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'normal' COMMENT '状态:normal=启用,hidden=隐藏',
|
|
|
|
+ `weigh` int(10) NOT NULL DEFAULT 0 COMMENT '权重',
|
|
|
|
+ `createtime` int(10) NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '快捷回复';
|
|
|
|
+
|
|
|
|
+INSERT INTO `__PREFIX__shopro_chat_fast_reply` (`id`, `name`, `content`, `status`, `weigh`, `createtime`, `updatetime`) VALUES
|
|
|
|
+(1, '退款退回问题', '亲,钱款都是按照原支付路径进行退回的,一般会在1~3三个工作日内完成退款,请注意查收', 'normal', 1, 1608629981, 1608629981),
|
|
|
|
+(2, '红包退回问题', '亲,如果是双11的红包,因为只能当天使用,所以退款的时候,红包将不会退回', 'normal', 2, 1608630134, 1608630134),
|
|
|
|
+(3, '发货问题', '<span style=\"white-space:normal;\">亲,一般会在下完单两天之内进行发货,如遇双十一等节日最晚会在一周内发货的,请耐心等待</span>', 'normal', 3, 1608630165, 1608630165);
|
|
|
|
+
|
|
|
|
+CREATE TABLE `__PREFIX__shopro_chat_log` (
|
|
|
|
+ `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
|
|
|
+ `session_id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '会话ID',
|
|
|
|
+ `user_id` int(11) NOT NULL DEFAULT 0 COMMENT '用户',
|
|
|
|
+ `sender_identify` enum('customer_service','user') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'user' COMMENT '发送人身份:customer_service=客服,user=用户',
|
|
|
|
+ `sender_id` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '发送人ID',
|
|
|
|
+ `message_type` enum('text','image','file','system','goods','order') CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'text' COMMENT '消息类型:text=文本,image=图片,file=文件,system=系统消息,goods=商品卡片,order=订单卡片',
|
|
|
|
+ `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '消息',
|
|
|
|
+ `readtime` int(10) UNSIGNED NULL DEFAULT NULL COMMENT '读取时间',
|
|
|
|
+ `createtime` int(10) UNSIGNED NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
+ INDEX `session_id`(`session_id`) USING BTREE,
|
|
|
|
+ INDEX `user_id`(`user_id`) USING BTREE
|
|
|
|
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天记录表';
|
|
|
|
+
|
|
|
|
+CREATE TABLE `__PREFIX__shopro_chat_question` (
|
|
|
|
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
|
|
|
+ `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '标题',
|
|
|
|
+ `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '内容',
|
|
|
|
+ `status` enum('normal','hidden') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'normal' COMMENT '状态:normal=启用,hidden=隐藏',
|
|
|
|
+ `weigh` int(10) NOT NULL DEFAULT 0 COMMENT '权重',
|
|
|
|
+ `createtime` int(10) NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '常见问题';
|
|
|
|
+
|
|
|
|
+CREATE TABLE `__PREFIX__shopro_chat_user` (
|
|
|
|
+ `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
|
|
|
+ `session_id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '标识',
|
|
|
|
+ `user_id` int(10) NOT NULL DEFAULT 0 COMMENT '用户',
|
|
|
|
+ `nickname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '昵称',
|
|
|
|
+ `avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '头像',
|
|
|
|
+ `customer_service_id` int(10) NOT NULL DEFAULT 0 COMMENT '最后接待客服',
|
|
|
|
+ `lasttime` int(10) UNSIGNED NULL DEFAULT NULL COMMENT '上次上线时间',
|
|
|
|
+ `createtime` int(10) NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(10) NULL DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
+ UNIQUE INDEX `session_id`(`session_id`) USING BTREE COMMENT 'session 标识',
|
|
|
|
+ INDEX `user_id`(`user_id`) USING BTREE COMMENT 'user_id'
|
|
|
|
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '客服用户表';
|
|
|
|
+-- 1.2.0 标准版更新 ↑
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+-- 1.3.0 标准版更新 ↓
|
|
|
|
+
|
|
|
|
+CREATE TABLE `__PREFIX__shopro_stock_warning` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `goods_id` int(10) NOT NULL DEFAULT 0 COMMENT '商品',
|
|
|
|
+ `goods_sku_price_id` int(10) NOT NULL DEFAULT 0 COMMENT '规格',
|
|
|
|
+ `goods_sku_text` varchar(255) NULL DEFAULT NULL COMMENT '中文规格',
|
|
|
|
+ `stock_warning` int(11) NULL DEFAULT 0 COMMENT '预警值',
|
|
|
|
+ `createtime` int(11) NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) NULL DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) NULL DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '库存预警';
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_goods_sku_price` ADD COLUMN `stock_warning` int(11) NULL DEFAULT NULL COMMENT '库存预警' AFTER `stock`;
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order` ADD COLUMN `activity_discount_money` decimal(10, 2) NOT NULL DEFAULT '0.00' COMMENT '活动优惠' AFTER `coupon_fee`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order` MODIFY COLUMN `ext` varchar(2048) NULL DEFAULT NULL COMMENT '附加字段' AFTER `paytime`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order` ADD INDEX `user_id`(`user_id`) USING BTREE;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order` ADD INDEX `status`(`status`) USING BTREE;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order` ADD INDEX `createtime`(`createtime`) USING BTREE;
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_aftersale` ADD INDEX `user_id`(`user_id`) USING BTREE;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_aftersale` ADD INDEX `order_id`(`order_id`) USING BTREE;
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` MODIFY COLUMN `goods_sku_text` varchar(60) NULL DEFAULT NULL COMMENT '规格名' AFTER `item_goods_sku_price_id`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` ADD COLUMN `goods_weight` int(11) NOT NULL DEFAULT 0 COMMENT '商品重量' AFTER `goods_num`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` ADD INDEX `order_id`(`order_id`) USING BTREE;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` ADD INDEX `store_id`(`store_id`) USING BTREE;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` ADD INDEX `activity_id`(`activity_id`) USING BTREE;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_item` ADD INDEX `goods_id`(`goods_id`) USING BTREE;
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_share` MODIFY COLUMN `platform` varchar(20) NULL DEFAULT NULL COMMENT '识别平台' AFTER `type_id`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_share` ADD COLUMN `share_platform` varchar(20) NULL DEFAULT NULL COMMENT '分享来源' AFTER `platform`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_share` ADD COLUMN `from` varchar(20) NULL DEFAULT NULL COMMENT '分享方式' AFTER `share_platform`;
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_bank` ADD COLUMN `type` enum('bank','alipay') NULL DEFAULT NULL COMMENT '账户类型:bank=银行卡,alipay=支付宝账户' AFTER `user_id`;
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` ADD COLUMN `apply_sn` varchar(60) NULL DEFAULT NULL COMMENT '提现单号' AFTER `user_id`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` CHANGE `get_type` `apply_type` enum('bank','wechat','alipay') NULL DEFAULT NULL COMMENT '收款类型:bank=银行卡,wechat=微信零钱,alipay=支付宝' AFTER `apply_sn`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` ADD COLUMN `actual_money` decimal(10, 2) NOT NULL DEFAULT '0.00' COMMENT '实际到账' AFTER `money`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` MODIFY COLUMN `service_fee` decimal(10, 3) NULL DEFAULT NULL COMMENT '手续费率' AFTER `charge_money`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` CHANGE `bank_info` `apply_info` varchar(255) NULL DEFAULT NULL COMMENT '打款信息' AFTER `service_fee`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` MODIFY COLUMN `status` tinyint(1) NULL DEFAULT 0 COMMENT '提现状态:-1=已拒绝,0=待审核,1=处理中,2=已处理' AFTER `apply_info`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` ADD COLUMN `platform` varchar(20) NULL DEFAULT NULL COMMENT '平台' AFTER `status`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` ADD COLUMN `payment_json` varchar(2500) NULL DEFAULT NULL COMMENT '交易原始数据' AFTER `platform`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` ADD COLUMN `log` text NULL COMMENT '操作日志' AFTER `updatetime`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` ADD UNIQUE INDEX `apply_sn`(`apply_sn`) USING BTREE COMMENT '提现单号';
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` DROP COLUMN `bank_id`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` DROP COLUMN `real_name`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` DROP COLUMN `status_msg`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_apply` DROP COLUMN `deletetime`;
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_log` MODIFY COLUMN `type` varchar(30) NOT NULL COMMENT '变动类型' AFTER `wallet_type`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_log` ADD COLUMN `before` decimal(10, 2) NOT NULL COMMENT '变动前' AFTER `type`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_log` ADD COLUMN `after` decimal(10, 2) NOT NULL COMMENT '变动后' AFTER `before`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_wallet_log` ADD COLUMN `memo` varchar(255) NULL DEFAULT '' COMMENT '备注' AFTER `item_id`;
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_wechat_fans` MODIFY COLUMN `headimgurl` varchar(255) NULL DEFAULT NULL COMMENT '粉丝头像' AFTER `nickname`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_wechat_fans` MODIFY COLUMN `openid` varchar(30) NULL DEFAULT NULL COMMENT 'openid' AFTER `headimgurl`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_wechat_fans` MODIFY COLUMN `sex` int(11) NULL DEFAULT 0 COMMENT '性别' AFTER `openid`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_wechat_fans` MODIFY COLUMN `country` varchar(50) NULL DEFAULT NULL COMMENT '国家' AFTER `sex`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_wechat_fans` MODIFY COLUMN `province` varchar(50) NULL DEFAULT NULL COMMENT '省' AFTER `country`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_wechat_fans` MODIFY COLUMN `city` varchar(50) NULL DEFAULT NULL COMMENT '市' AFTER `province`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_wechat_fans` MODIFY COLUMN `subscribe` enum('0','1') NULL DEFAULT NULL COMMENT '关注状态:0=取消关注,1=已关注' AFTER `city`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_wechat_fans` MODIFY COLUMN `subscribe_time` int(11) NULL DEFAULT NULL COMMENT '关注时间' AFTER `subscribe`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_wechat_fans` MODIFY COLUMN `createtime` int(11) NULL DEFAULT NULL COMMENT '创建时间' AFTER `subscribe_time`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_wechat_fans` MODIFY COLUMN `updatetime` int(11) NULL DEFAULT NULL COMMENT '更新时间' AFTER `createtime`;
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_oauth` MODIFY COLUMN `country` varchar(50) NULL DEFAULT NULL COMMENT '国家' AFTER `sex`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_oauth` MODIFY COLUMN `province` varchar(50) NULL DEFAULT NULL COMMENT '省' AFTER `country`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_oauth` MODIFY COLUMN `city` varchar(50) NULL DEFAULT NULL COMMENT '市' AFTER `province`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_user_oauth` ADD INDEX `openid`(`openid`) USING BTREE;
|
|
|
|
+-- 1.3.0 标准版更新 ↑
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+-- 1.3.2 标准版更新 ↓
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order` ADD COLUMN `dispatch_discount_money` decimal(10, 2) NOT NULL DEFAULT '0.00' COMMENT '运费优惠' AFTER `activity_discount_money`;
|
|
|
|
+
|
|
|
|
+-- 1.3.2 标准版更新 ↑
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+-- 1.3.7 标准版更新 ↓
|
|
|
|
+
|
|
|
|
+CREATE TABLE `__PREFIX__shopro_order_invoice` (
|
|
|
|
+ `id` int(10) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `type` enum('person','company') NOT NULL COMMENT '发票类型:person=个人,company=企事业单位',
|
|
|
|
+ `header_name` varchar(50) NOT NULL COMMENT '抬头名称',
|
|
|
|
+ `tax_no` varchar(50) NULL DEFAULT NULL COMMENT '税号',
|
|
|
|
+ `mobile` varchar(20) NOT NULL COMMENT '手机号',
|
|
|
|
+ `amount` decimal(10, 2) NOT NULL DEFAULT 0.00 COMMENT '金额',
|
|
|
|
+ `order_id` int(10) NOT NULL COMMENT '订单',
|
|
|
|
+ `user_id` int(10) NOT NULL COMMENT '用户',
|
|
|
|
+ `status` enum('0','1','-1') NOT NULL DEFAULT '-1' COMMENT '状态:0=审核中,1=已开具,-1=已取消',
|
|
|
|
+ `createtime` int(10) NOT NULL COMMENT '申请时间',
|
|
|
|
+ `confirmtime` int(10) NULL DEFAULT NULL COMMENT '确认时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE
|
|
|
|
+) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '订单发票';
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order` ADD COLUMN `invoice_status` enum('-1','0','1') NOT NULL DEFAULT '-1' COMMENT '发票开具状态:-1=不可开具,0=未申请,1=已申请' AFTER `status`;
|
|
|
|
+-- 1.3.7 标准版更新 ↑
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+-- 1.3.8 标准版更新 ↓
|
|
|
|
+
|
|
|
|
+CREATE TABLE `__PREFIX__shopro_trade_order` (
|
|
|
|
+ `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
+ `type` enum('recharge') NOT NULL COMMENT '订单类型:recharge=余额充值',
|
|
|
|
+ `order_sn` varchar(60) NOT NULL COMMENT '订单号',
|
|
|
|
+ `user_id` int(11) NULL DEFAULT 0 COMMENT '用户',
|
|
|
|
+ `status` tinyint(2) NOT NULL DEFAULT 0 COMMENT '订单状态:-2=交易关闭,-1=已取消,0=未支付,1=已支付,2=已完成',
|
|
|
|
+ `remark` varchar(255) NULL DEFAULT NULL COMMENT '用户备注',
|
|
|
|
+ `total_amount` decimal(10, 2) NOT NULL COMMENT '订单总金额',
|
|
|
|
+ `total_fee` decimal(10, 2) NOT NULL COMMENT '支付金额',
|
|
|
|
+ `pay_fee` decimal(10, 2) NOT NULL COMMENT '实际支付金额',
|
|
|
|
+ `transaction_id` varchar(60) NULL DEFAULT NULL COMMENT '交易单号',
|
|
|
|
+ `payment_json` varchar(2500) NULL DEFAULT NULL COMMENT '交易原始数据',
|
|
|
|
+ `pay_type` enum('wechat','alipay','wallet','score') NULL DEFAULT NULL COMMENT '支付方式:wechat=微信支付,alipay=支付宝,wallet=钱包支付,score=积分支付',
|
|
|
|
+ `paytime` int(11) NULL DEFAULT NULL COMMENT '支付时间',
|
|
|
|
+ `ext` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '附加字段',
|
|
|
|
+ `platform` enum('H5','App','wxOfficialAccount','wxMiniProgram') NULL DEFAULT NULL COMMENT '平台:H5=H5,wxOfficialAccount=微信公众号,wxMiniProgram=微信小程序,App=App',
|
|
|
|
+ `createtime` int(11) NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
|
+ `updatetime` int(11) NULL DEFAULT NULL COMMENT '更新时间',
|
|
|
|
+ `deletetime` int(11) NULL DEFAULT NULL COMMENT '删除时间',
|
|
|
|
+ PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
+ UNIQUE INDEX `order_sn`(`order_sn`) USING BTREE,
|
|
|
|
+ INDEX `user_id`(`user_id`) USING BTREE,
|
|
|
|
+ INDEX `status`(`status`) USING BTREE,
|
|
|
|
+ INDEX `createtime`(`createtime`) USING BTREE
|
|
|
|
+) ENGINE = InnoDB COMMENT = '交易订单管理';
|
|
|
|
+
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order` ADD COLUMN `last_total_fee` decimal(10, 2) NOT NULL DEFAULT '0.00' COMMENT '改价前金额' AFTER `total_fee`;
|
|
|
|
+ALTER TABLE `__PREFIX__shopro_order_express_log` MODIFY COLUMN `status` smallint(8) NULL DEFAULT 0 COMMENT '物流状态' AFTER `order_express_id`;
|
|
|
|
+-- 1.3.8 标准版更新 ↑
|
|
|
|
+
|
|
|
|
+COMMIT;
|