html5+如何通过native.js实现APP微信代扣签约?
微信支付委托代扣APP签约参考:
https://pay.weixin.qq.com/wiki/doc/api/pap.php?chapter=18_5&index=2
我只想通过HTML5+ & Native.js方式调用微信应用进行代扣签约,下面的调用原生代码我不会实现,跪求官方大神帮忙:
iOS客户端接入代码示例:
WXOpenBusinessWebViewReq req = [[WXOpenBusinessWebViewReq alloc] init];
req.businessType = 12; //固定值
NSMutableDictionary queryInfoDic = [NSMutableDictionary dictionary];
[queryInfoDic setObject:”5778aad8fbd11b3846978993fedf2cb8d6c8f86ea809389b2bc30c4867d5
63db1566876267UpxT91EYRKY9nltAsZzXixCkFIGYnV2V";
req.queryInfoDic = queryInfoDic;
[WxApi sendReq:req];
Android客户端接入代码示例:
WXOpenBusinessWebview.Req req = new WXOpenBusinessWebview.Req();
req.businessType = 12;//固定值
HashMap queryInfo = new HashMap<>();
queryInfo.put("pre_entrustweb_id","5778aad8fbd11b3846978993fedf2cb8d6c8f86ea809389b2
bc30c4867d563db1566876267UpxT91EYRKY9nltAsZzXixCkFIGYnV2V";
req.queryInfo = queryInfo;
api.sendReq(req);
0 个回复