| | |
| | | import com.alibaba.baichuan.trade.biz.AlibcConstants; |
| | | import com.alibaba.baichuan.trade.biz.core.taoke.AlibcTaokeParams; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.google.gson.Gson; |
| | | import com.kepler.jd.Listener.OpenAppAction; |
| | | import com.kepler.jd.login.KeplerApiManager; |
| | | import com.kepler.jd.sdk.bean.KeplerAttachParameter; |
| | | import com.tejia.lijin.app.entity.common.GoodsConvertLinkJumpLink; |
| | | import com.tejia.lijin.app.entity.common.WXXCXJumpInfo; |
| | | import com.wpc.library.util.common.StringUtils; |
| | | import com.tejia.lijin.app.BuXinConstant; |
| | | import com.tejia.lijin.app.callBack.MiDuoTradeCallback; |
| | |
| | | return; |
| | | } else { |
| | | //判断是否有登录未激活的情况 |
| | | if (!LoginAndInviteStatusUtil.acessNext(context, UserUtil.getUid(context) , true)) { |
| | | if (!LoginAndInviteStatusUtil.acessNext(context, UserUtil.getUid(context), true)) { |
| | | return; |
| | | } |
| | | } |
| | |
| | | from = ""; |
| | | KeFuUtil.jumpKeFu(context, from); |
| | | break; |
| | | case "thirdPlatform": { |
| | | //三方平台 |
| | | if (params == null) |
| | | return; |
| | | int sourceType = params.getInteger("sourceType"); |
| | | GoodsConvertLinkJumpLink link = new Gson().fromJson(params.toJSONString(), GoodsConvertLinkJumpLink.class); |
| | | link.setNativeJumpLink(link.getJumpLink()); |
| | | link.set_native(true); |
| | | switch (sourceType) { |
| | | case Constant.GOODS_TYPE_TB: |
| | | GoodsBuyJumpUtil.jumpTB(context, null, link.getJumpLink(), null, null, null); |
| | | break; |
| | | case Constant.GOODS_TYPE_JD: |
| | | GoodsBuyJumpUtil.jumpJD(context, link, null, null); |
| | | break; |
| | | case Constant.GOODS_TYPE_PDD: |
| | | GoodsBuyJumpUtil.jumpPDD(context, link, null); |
| | | break; |
| | | case Constant.GOODS_TYPE_VIP: |
| | | GoodsBuyJumpUtil.jumpVIPShop(context, link, null); |
| | | break; |
| | | case Constant.GOODS_TYPE_SUNING: |
| | | GoodsBuyJumpUtil.jumpSuning(context, link, null); |
| | | break; |
| | | } |
| | | } |
| | | break; |
| | | default: { |
| | | try { |
| | | Intent intent = new Intent(context, Class.forName(JumpActivityUtil.filterActivityName(detail.getActivity()))); |