This commit is contained in:
2021-11-13 15:37:35 +08:00
parent 2315bb33a3
commit 9388377de5
6 changed files with 20 additions and 10 deletions

Binary file not shown.

View File

@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":177,"versionName":"1.7.7","enabled":true,"outputFile":"atom-latest.apk","fullName":"release","baseName":"release"},"path":"atom-latest.apk","properties":{}}] [{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":180,"versionName":"1.8.0","enabled":true,"outputFile":"atom-latest.apk","fullName":"release","baseName":"release"},"path":"atom-latest.apk","properties":{}}]

View File

@@ -815,6 +815,7 @@ public class StartTask {
liveBean.setDouyinhao(liveNickname); liveBean.setDouyinhao(liveNickname);
String accountduration = Integer.parseInt(accountDuration)*60+""; String accountduration = Integer.parseInt(accountDuration)*60+"";
liveBean.setZhibomin(accountduration); liveBean.setZhibomin(accountduration);
liveBean.setLiwucishu(giftHeart);
if(valueOne.equals(liveSpeech)){ if(valueOne.equals(liveSpeech)){
liveBean.setSwitchone(true); liveBean.setSwitchone(true);
}else { }else {

View File

@@ -213,6 +213,9 @@ class HongbaoBase extends BaseAblStep implements RedEnv.RedEnvFunc, RedEnv.TimeF
if ("android.widget.TextView".equals(child2.getClassName())) { if ("android.widget.TextView".equals(child2.getClassName())) {
if (child2.getText() != null) { if (child2.getText() != null) {
String s = child2.getText().toString(); String s = child2.getText().toString();
if("充值".equals(s)){
doubinum = "0";
}else {
doubinum = s; doubinum = s;
} }
} }
@@ -221,10 +224,9 @@ class HongbaoBase extends BaseAblStep implements RedEnv.RedEnvFunc, RedEnv.TimeF
} }
} }
} }
return doubinum;
} }
return "0"; }
return doubinum;
} }
/** /**

View File

@@ -233,8 +233,11 @@ public class TestAblStep30 extends NoticeBase {
AblViewUtil.mySleep(1); AblViewUtil.mySleep(1);
clickcommonthree(hognbaonode, ""); clickcommonthree(hognbaonode, "");
Log.e("TIAOSHI###", "发礼物的循环次数"+i); Log.e("TIAOSHI###", "发礼物的循环次数"+i);
String liwutime = ProfileSpUtils.getInstance().getLiveBean().getLiwutime(); // String liwutime = ProfileSpUtils.getInstance().getLiveBean().getLiwutime();
int jiangetime = Integer.valueOf(liwutime); // int jiangetime = Integer.valueOf(liwutime);
Random random = new Random();
int jiangetime = random.nextInt(3) + 1;
AblViewUtil.mySleep(jiangetime); AblViewUtil.mySleep(jiangetime);
} }
} else { } else {
@@ -732,6 +735,9 @@ public class TestAblStep30 extends NoticeBase {
if ("android.widget.TextView".equals(child2.getClassName())) { if ("android.widget.TextView".equals(child2.getClassName())) {
if (child2.getText() != null) { if (child2.getText() != null) {
String s = child2.getText().toString(); String s = child2.getText().toString();
if("充值".equals(s)){
doubinum = 0;
}else {
doubinum = Integer.valueOf(s); doubinum = Integer.valueOf(s);
} }
} }
@@ -741,6 +747,7 @@ public class TestAblStep30 extends NoticeBase {
} }
} }
} }
}
return doubinum; return doubinum;
} }

View File

@@ -12,8 +12,8 @@ ext {
applicationId : "com.fisherbone.fuzhu", applicationId : "com.fisherbone.fuzhu",
minSdkVersion : 24, minSdkVersion : 24,
targetSdkVersion : 29, targetSdkVersion : 29,
versionCode : 177, versionCode : 180,
versionName : "1.7.7", versionName : "1.8.0",
testInstrumentationRunner: "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner: "androidx.test.runner.AndroidJUnitRunner"
] ]