Commit a9b5d040 authored by chenyuling's avatar chenyuling

"接口测试"

parent d58a9579
...@@ -149,9 +149,9 @@ public class ApiManager { ...@@ -149,9 +149,9 @@ public class ApiManager {
return; return;
}*/ }*/
totalPassLists = new ArrayList<>(); totalPassLists = new ArrayList<>();
pass_offset = 0;
queryPass(); queryPass();
if (callback != null) { if (callback != null) {
pass_offset = 0;
callback.getPassInfo(totalPassLists,type); callback.getPassInfo(totalPassLists,type);
} }
/*handler.postDelayed(this,60000);*/ /*handler.postDelayed(this,60000);*/
...@@ -173,6 +173,7 @@ public class ApiManager { ...@@ -173,6 +173,7 @@ public class ApiManager {
private int passTotal = 0; private int passTotal = 0;
private int pass_offset = 0; private int pass_offset = 0;
private int max_pass_limit = 128; private int max_pass_limit = 128;
//private int max_pass_limit = 2;
private int passQuerySize = 0; private int passQuerySize = 0;
private List<PersonEntity> totalPassLists = new ArrayList<>(); private List<PersonEntity> totalPassLists = new ArrayList<>();
private void queryPass(){ private void queryPass(){
...@@ -239,6 +240,7 @@ public class ApiManager { ...@@ -239,6 +240,7 @@ public class ApiManager {
private int personTotal = 0; private int personTotal = 0;
private int person_offset = 0; private int person_offset = 0;
private int max_person_limit = 100; private int max_person_limit = 100;
//private int max_person_limit = 2;
private int personQuerySize; private int personQuerySize;
private List<PersonEntity> totalPersonLists = new ArrayList<>(); private List<PersonEntity> totalPersonLists = new ArrayList<>();
private void queryPerson(){ private void queryPerson(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment