Przeglądaj źródła

feat: 修改国家码

DoggyZhang 2 miesięcy temu
rodzic
commit
5cb45925ea

+ 1 - 1
frame/bom/build.gradle

@@ -6,7 +6,7 @@ plugins {
 ext {
     GROUP_ID = 'com.wenext.android'
     ARTIFACT_ID = 'frame-bom'
-    VERSION = '6.2.2'
+    VERSION = '6.2.4'
 }
 
 dependencies {

+ 1 - 1
frame/locale/build.gradle

@@ -8,7 +8,7 @@ plugins {
 ext {
     GROUP_ID = 'com.wenext.android'
     ARTIFACT_ID = 'frame-locale'
-    VERSION = '6.0.6'
+    VERSION = '6.0.8'
 }
 
 apply from: "../../publish.gradle"

+ 2 - 14
frame/locale/src/main/java/com/adealink/frame/locale/country/constants.kt

@@ -1,23 +1,11 @@
 package com.adealink.frame.locale.country
 
-/**
- * Created by sunxiaodong on 2023/6/8.
- */
 enum class CountryCode(val code: String) {
-    SY("SY"),
-    PK("PK"),
-    BD("BD"),
+    ID("ID"), //印尼
 }
 
 enum class Region(val region: String) {
-    EG("EG"), //中东
-    IN("IN"), //印度
-    TR("TR"), //土耳其
-    TH("TH"), //泰国
-    RU("RU"), // 俄区
-    RU2("RU2"), // 俄区
-    CN("CN"), // 中国大佬
-    CNA("CNA"); // 港澳台
+    ID("ID"); //印尼
 
     companion object {
         fun map(region: String): Region? {