# mobile-area **Repository Path**: marsalW/mobile-area ## Basic Information - **Project Name**: mobile-area - **Description**: 号码区域表 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-09-30 - **Last Updated**: 2021-09-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 号码归属地使用 [![Jdk Version](https://img.shields.io/badge/JDK-1.8-green.svg)](https://img.shields.io/badge/JDK-1.8-green.svg) [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/link.thingscloud/mobile-area/badge.svg)](https://maven-badges.herokuapp.com/maven-central/link.thingscloud/mobile-area/) ## Maven引入 link.thingscloud mobile-area 1.2.0-RELEASE ## 归属地更新记录 1.1.0-RELEASE : 2020-03-13 1.2.0-RELEASE : 2020-07-18 ## 使用 // 获取号码区域 : 区号/省份/地市 MobileArea.getInstance().getArea("15121001234"); MobileArea.getInstance().getArea("0015121001234")); // 获取外呼号码-如果不同区域会自动加 0 MobileArea.getInstance().getMobileNumber("15121001234", "020"); MobileArea.getInstance().getMobileNumber("+915121001234", "021"); // 是否是指定区域 MobileArea.getInstance().isSameArea("915121001234", "020"); MobileArea.getInstance().isSameArea("9015121007938", "021"); // 判断手机号码运营商 :移动,联通,电信,卫通,电信虚拟运营商,联通虚拟运营商,移动虚拟运营商 MobileType getMobileType("1521001234") ## License [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) Copyright (C) Apache Software Foundation