version:1.1.3

fix:
update:优化支付问题,增加九学王激活逻辑
This commit is contained in:
2025-12-29 09:35:24 +08:00
parent a66b04083d
commit ee4c05b438
18 changed files with 307 additions and 21 deletions

View File

@@ -27,14 +27,20 @@ public class DeviceSNManager {
public static String getDeviceSN() {
String existingSN = mMMKV.decodeString(SN_KEY, "");
if (!TextUtils.isEmpty(existingSN)) {
// if (!TextUtils.isEmpty(existingSN)) {
return existingSN;
}
String newSN = generateNewSN();
mMMKV.encode(SN_KEY, newSN);
return newSN;
// }
// String newSN = generateNewSN();
// mMMKV.encode(SN_KEY, newSN);
// return newSN;
}
public static void saveDeviceSN(String sn) {
mMMKV.encode(SN_KEY, sn);
}
/**
* 生成新的设备SN
* 格式CDSN202511T923852225