| | |
| | | import com.google.gson.Gson; |
| | | import com.google.gson.GsonBuilder; |
| | | import com.google.gson.reflect.TypeToken; |
| | | import com.tejia.lijin.app.ShoppingApplication; |
| | | import com.wpc.library.content.ConnectivityChangeHelper; |
| | | import com.wpc.library.dialog.dateselect.CustomDatePicker; |
| | | import com.wpc.library.dialog.dateselect.DateFormatUtils; |
| | |
| | | * 队员-统计数量+上级 |
| | | */ |
| | | private void getcountMyTeam() { |
| | | String uid = getSharedPreferences("user", MODE_PRIVATE).getString("uid", ""); |
| | | ShoppingApi.getCountMyTeam(this, uid, new BasicTextHttpResponseHandler() { |
| | | ShoppingApi.getCountMyTeam(this, UserUtil.getUid(ShoppingApplication.application), new BasicTextHttpResponseHandler() { |
| | | @Override |
| | | public void onSuccessPerfect(int statusCode, Header[] headers, JSONObject jsonObject) throws Exception { |
| | | if (jsonObject.optInt("code") == 0) { |
| | |
| | | |
| | | private void getMyPlayer() { |
| | | // String uid = "535776"; |
| | | String uid = getSharedPreferences("user", MODE_PRIVATE).getString("uid", ""); |
| | | ShoppingApi.getMyTeamV2(this, uid, page, null, Integer.parseInt(type), null, new BasicTextHttpResponseHandler() { |
| | | ShoppingApi.getMyTeamV2(this, UserUtil.getUid(ShoppingApplication.application), page, null, Integer.parseInt(type), null, new BasicTextHttpResponseHandler() { |
| | | @Override |
| | | public void onStart() { |
| | | super.onStart(); |