| | |
| | | LinkedHashMap<String, String> params = new LinkedHashMap<>(); |
| | | params.put("uid", uid); |
| | | params.put("page", page); |
| | | if (type != null) |
| | | params.put("type", type); |
| | | commonPost(context, BASE_URL + "user/msg/getMsgList", params, handler); |
| | | } |
| | |
| | | if (!StringUtils.isEmpty(source)) |
| | | params.put("source", source); |
| | | commonPostWithFailture(context, BASE_URL2 + "goods/getPDDLink", params, handler); |
| | | } |
| | | |
| | | public static void getPDDAuthInfo(Context context, String uid, boolean buy, |
| | | BasicTextHttpResponseHandler handler) { |
| | | if (!LoginAndInviteStatusUtil.acessNext(context, uid, true)) |
| | | return; |
| | | LinkedHashMap<String, String> params = new LinkedHashMap<>(); |
| | | params.put("uid", uid); |
| | | params.put("type", (buy ? 1 : 2) + ""); |
| | | commonPostWithFailture(context, BASE_URL2 + "pdd/getAuthJumpInfo", params, handler); |
| | | } |
| | | |
| | | |
| | |
| | | int version = PackageUtils2.getVersionCode(context); |
| | | long time = System.currentTimeMillis(); |
| | | String deviceType = MobileUtil.getSystemModel(); |
| | | params.put("packages", "com.youhuiquan.android"); |
| | | params.put("packages", "com.yeshi.ec.rebate"); |
| | | params.put("Version", version + ""); |
| | | params.put("appkey", BuXinConstant.TAO_BAO_KE_KEY); |
| | | params.put("platform", "android"); |
| | |
| | | int version = PackageUtils2.getVersionCode(context); |
| | | long time = System.currentTimeMillis(); |
| | | String deviceType = MobileUtil.getSystemModel(); |
| | | params.put("packages", "com.youhuiquan.android"); |
| | | params.put("packages", "com.yeshi.ec.rebate"); |
| | | params.put("Version", version + ""); |
| | | params.put("appkey", BuXinConstant.TAO_BAO_KE_KEY); |
| | | params.put("platform", "android"); |
| | |
| | | int version = PackageUtils2.getVersionCode(context); |
| | | long time = System.currentTimeMillis(); |
| | | String deviceType = MobileUtil.getSystemModel(); |
| | | params.put("packages", "com.youhuiquan.android"); |
| | | params.put("packages", "com.yeshi.ec.rebate"); |
| | | params.put("Version", version + ""); |
| | | params.put("appkey", BuXinConstant.TAO_BAO_KE_KEY); |
| | | params.put("platform", "android"); |