当前位置:网站首页>jsapi 支付缺少appid
jsapi 支付缺少appid
2022-04-21 11:55:00 【冯进骗123】
$.ajax({
url: 'url',
type: 'get',
dataType: "json",//改成json
success: function (data) {
//$('#xx').val(data)
WeixinJSBridge.invoke(
'getBrandWCPayRequest', $.parseJSON(data),
function(res){
if(res.err_msg == "get_brand_wcpay_request:ok" ) {
// 使用以上方式判断前端返回,微信团队郑重提示:
// res.err_msg将在用户支付成功后返回
// ok,但并不保证它绝对可靠。
}
}
);
}
})
返回的数据不是json
版权声明
本文为[冯进骗123]所创,转载请带上原文链接,感谢
https://blog.csdn.net/u013431548/article/details/124273027
边栏推荐
猜你喜欢

L2-005 集合相似度 (25 分)(set+容斥)

IIR second order filter in flight control

php如何去掉数组键值

Yyds dry goods inventory a common error in a web crawler

Zhongshanghui ⺠ evolution of trading platform architecture: response to Apache shardingsphere

3年产品经理,从5k到30k,我是这样成长的(上)

JD cloud distributed database stardb successfully completed multi-party localization adaptation certification

Massive data generated 421 million yuan of revenue in 2021, and the gross profit margin of database products increased by 8.78%!

手撕链表题,我看你也行(1)

S参数简介
随机推荐
手撕链表题,我看你也行(1)
c语言:指针二(线性表知识+例题详解)
如何求源码,反码,补码
塔米狗项目解读|海南奥特莱斯旅业开发有限公司100%股权转让
IIR second order filter in flight control
How PHP removes array keys
【软件测试系列九】《压力测试申请需提供事项说明》
Get and post requests
C language: pointer 2 (linear table knowledge + detailed explanation of examples)
L2-005 集合相似度 (25 分)(set+容斥)
Leaflet military plotting - Assault direction modification (leaflet chapter. 90)
Hongshan MOFs distributed storage system won the "2022 Gold Award for distributed storage products"
Branch if statement
3年产品经理,从5k到30k,我是这样成长的(上)
fixed定位失效,transform影响普通元素
DR-AP6018-A-wifi6-Access-Point-Qualcomm-IPQ6010-2T2R-2.5G-ETH-port-supporting-5G-celluar-Modem-aluminum-body.
《深度学习》学习笔记(七)
How does PHP determine whether the specified date is the previous day
sentinelsat包介绍
Scala安装和开发环境配置教程