<a id="order_wx_pay_${order.orderId !''}" href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa19759ac3701b17d&redirect_uri=http://abc.com/front/wp/odt?orderId=${order.orderId !""}-userId=${userId !''}&response_type=code&scope=snsapi_base&state=1#wechat_redirect" class="bjr_li order_wx_pay" >付款</a>
<a id="go_balance_before" href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa19759ac3701b17d&redirect_uri=http://abc.com/front/go_balance?param=paramStr&response_type=code&scope=snsapi_base&state=1#wechat_redirect" class="btns" ><div id="goBalance_0806">下一步</div></a>
/front/od_pa
坑1: 拿去"code" 同样需要 跟支付授权目录一样,
http://abc.com/front/wp/odt? 假如我们的授权目录 http://abc.com/front
则 wp/odt 拿回code 同样支付时候支付还是报错
getbrandwcpayrequest:fail_nopermission