| | |
| | | |
| | | public class JumpDetailParamsFactory { |
| | | |
| | | /** |
| | | * 百川的跳转参数 |
| | | * |
| | | * @param clientTBPid |
| | | * @param url |
| | | * @return |
| | | */ |
| | | public static String createWEEXParams(ClientTBPid clientTBPid, String url) { |
| | | JSONObject data = new JSONObject(); |
| | | if (clientTBPid != null) |
| | | data.put("tbPidInfo", JsonUtil.getGson().toJson(clientTBPid)); |
| | | data.put("url", url); |
| | | return data.toString(); |
| | | } |
| | | |
| | | /** |
| | | * 百川的跳转参数 |
| | |
| | | * @param auctionId |
| | | * @return |
| | | */ |
| | | public static String createWEEXParams(ClientTBPid clientTBPid, Long auctionId) { |
| | | public static String createWEEXParams(ClientTBPid clientTBPid, String auctionId) { |
| | | JSONObject data = new JSONObject(); |
| | | if (clientTBPid != null) |
| | | data.put("tbPidInfo", JsonUtil.getGson().toJson(clientTBPid)); |
| | |
| | | /** |
| | | * web的跳转参数 |
| | | * |
| | | * @param clientTBPid |
| | | * @param auctionId |
| | | * @param url |
| | | * @return |
| | | */ |
| | | public static String createWEBParams(String url) { |
| | |
| | | /** |
| | | * weex的跳转参数 |
| | | * |
| | | * @param clientTBPid |
| | | * @param auctionId |
| | | * @param url |
| | | * @return |
| | | */ |
| | | public static String createWEEXParams(String url) { |
| | |
| | | /** |
| | | * 商品详情的跳转参数 |
| | | * |
| | | * @param clientTBPid |
| | | * @param goodsType |
| | | * @param auctionId |
| | | * @return |
| | | */ |
| | | public static String createGoodsParams(Long auctionId, Integer goodsType) { |
| | | public static String createGoodsParams(String auctionId, Integer goodsType) { |
| | | JSONObject data = new JSONObject(); |
| | | data.put("id", auctionId); |
| | | if (goodsType != null) |