获取scheme码 path参数无效,qury参数无效?
我在调用scheme码的时候 传了path参数不生效,无法跳转到预期跳转的首页,然后query参数中传入了重定向的参数,前端接收不到,请问这是为什么? String accessToken = getAccessToken(loginType);
HttpEntityBody httpEntityBody = new HttpEntityBody();
if(StringUtils.isNotBlank(param)) {
WxJumpVo wxJumpVo = new WxJumpVo();
wxJumpVo.setPath("pages/applyJob/myapply");
wxJumpVo.setQuery("path=pages/applyJob/myapply");
Map<String, WxJumpVo> map = new HashMap<>();
map.put("jump_wxa", wxJumpVo);
httpEntityBody.setBody(JSONObject.toJSONString(map));
log.info("param:{}", JSONObject.toJSONString(map));
}
httpEntityBody.setUrl("https://api.weixin.qq.com/wxa/generatescheme?access_token=" + accessToken);
weixin://dl/business/?t=G1matZXeVEg
这是生成的scheme码