|
|
@ -3071,11 +3071,11 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
|
|
|
|
|
|
|
|
private boolean geekShowActVersion(String version) {
|
|
|
|
private boolean geekShowActVersion(String version) {
|
|
|
|
boolean result = false;
|
|
|
|
boolean result = false;
|
|
|
|
String geekShowVersion = "2.12.11";
|
|
|
|
String geekShowVersion = "2.12.10";
|
|
|
|
String[] nowAppVersion = version.split("\\.");
|
|
|
|
String[] nowAppVersion = version.split("\\.");
|
|
|
|
String[] geekVersion = geekShowVersion.split("\\.");
|
|
|
|
String[] geekVersion = geekShowVersion.split("\\.");
|
|
|
|
for (int i = 0; i < geekVersion.length; i++) {
|
|
|
|
for (int i = 0; i < geekVersion.length; i++) {
|
|
|
|
if (Integer.parseInt(nowAppVersion[i]) >= Integer.parseInt(geekVersion[i])) {
|
|
|
|
if (Integer.parseInt(nowAppVersion[i]) > Integer.parseInt(geekVersion[i])) {
|
|
|
|
result = true;
|
|
|
|
result = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|