限制地区减少为:日本,韩国,香港,台湾

This commit is contained in:
ocean 2024-07-04 13:54:31 +08:00
parent b419fcff39
commit ccb7ffeabd

View File

@ -353,7 +353,15 @@ abstract class MoBaseActivity : AppCompatActivity(), MusicPlayerView.PlaySkipFor
// 不允许的国家代码
val restrictedCountries = setOf(
// "CN",
"HK", "TW", "JP", "KR", "GB", "CH", "BE", "MO", "SG"
"HK",
"TW",
"JP",
"KR",
// "GB",
// "CH",
// "BE",
// "MO",
// "SG"
)
// 检查是否包含当前的国家代码
LogTag.LogD(TAG, "withPermission ipCountryCode->${appStore.ipCountryCode}")
@ -378,7 +386,12 @@ abstract class MoBaseActivity : AppCompatActivity(), MusicPlayerView.PlaySkipFor
val restrictedCountryCodes = setOf(
// "460",
// "461",
"454", "466", "440", "441", "450", "234", "235", "228", "206", "455", "525"
"454",
"466",
"440",
"441",
"450",
// "234", "235", "228", "206", "455", "525"
)
val currentCountryCode = getCountryCode(this)
LogTag.LogD(TAG, "withPermission currentCountryCode->${currentCountryCode}")