v8.5.0 测试卡密 88531 永久授权

This commit is contained in:
Hermes Agent committed 2026-10-08 13:03:26 +08:00
1 parent e1cc0b6bbd
commit d6c8bb74bf
2 files changed
+8 -2

No files matched your search

+2 -2
View File
@@ -11,8 +11,8 @@ android {
applicationId = "com.iptv807.tv"
minSdk = 21
targetSdk = 35
versionCode = 840
versionName = "8.4.0"
versionCode = 850
versionName = "8.5.0"
}
buildTypes {
@@ -34,8 +34,14 @@ object LicenseClient {
val trial: Boolean = false // 走免费1小时
)
/** 测试卡密:输入该卡密直接永久授权(本地判定,不走服务器) */
private const val TEST_KEY = "88531"
/** 卡密验证/激活 */
fun verify(cardKey: String, machineId: String): Result {
if (cardKey.trim() == TEST_KEY) {
return Result(true, "测试卡:永久有效", "永久", true, null, false)
}
return try {
val body = JSONObject().apply {
put("card_key", cardKey)