全球地区_含经纬度_精确到城市.sql

时间:2023-04-10 07:26:35
【文件属性】:
文件名称:全球地区_含经纬度_精确到城市.sql
文件大小:646KB
文件格式:SQL
更新时间:2023-04-10 07:26:35
地区数据 经纬度  地区经纬度 CREATE TABLE IF NOT EXISTS `mk_international_location` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `pid` int(10) unsigned DEFAULT '0' COMMENT '父id/上级id', `path` varchar(255) DEFAULT '' COMMENT '路径', `level` int(10) unsigned DEFAULT '0' COMMENT '层级', `name` varchar(255) DEFAULT '' COMMENT '中文名称', `name_en` varchar(255) DEFAULT '' COMMENT '英文名称', `name_pinyin` varchar(255) DEFAULT '' COMMENT '中文拼音', `code` varchar(50) DEFAULT '' COMMENT '地区代码', `zip_code` varchar(50) DEFAULT '' COMMENT '邮政编码', `status` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '状态值 0无效 1有效', `manager_id` int(10) unsigned DEFAULT '0' COMMENT '操作管理员id', `manager_username` varchar(30) DEFAULT '' COMMENT '操作员账户名', `deleted_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `lat` varchar(255) DEFAULT NULL COMMENT '百度.纬度', `lng` varchar(255) DEFAULT NULL COMMENT '百度.经度', PRIMARY KEY (`id`), KEY `international_location_pid_index` (`pid`), KEY `international_location_manager_id_index` (`manager_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=4170 ; -- -- 转存表中的数据 `mk_international_location` -- INSERT INTO `mk_international_location` (`id`, `pid`, `path`, `level`, `name`, `name_en`, `name_pinyin`, `code`, `zip_code`, `status`, `manager_id`, `manager_username`, `deleted_at`, `created_at`, `updated_at`, `lat`, `lng`) VALUES (1, 0, ',1,', 1, '亚洲', 'Asia', 'yazhou', '', '', 1, 0, '', NULL, '2019-01-25 02:51:17', NULL, NULL, NULL), (2, 0, ',2,', 1, '欧洲', 'Europe', 'ouzhou', '', '', 1, 0, '', NULL, '2019-01-25 02:51:17', NULL, NULL, NULL);

网友评论

  • 下载了 根本没有邮政编码