| | |
| | | Map<String, String> map = WXPayUtil.produceOrder(params);
|
| | | if ("ios".equalsIgnoreCase(platform))
|
| | | return map.get("mweb_url") + "&redirect_url="
|
| | | + URLEncoder.encode("shop.banliapp.com://shop.banliapp.com/order.html?from=pay", "UTF-8");
|
| | | + URLEncoder.encode("shop.banliapp.com://shop.banliapp.com/wx_pay_finish.html", "UTF-8");
|
| | | else
|
| | | return map.get("mweb_url") + "&redirect_url="
|
| | | + URLEncoder.encode("http://shop.banliapp.com/order.html?from=pay", "UTF-8");
|
| | | + URLEncoder.encode("http://shop.banliapp.com/wx_pay_finish.html", "UTF-8");
|
| | | |
| | | |
| | | } catch (WXPlaceOrderParamsException e) {
|
| | | e.printStackTrace();
|
| | | } catch (Exception e) {
|