当前位置:网站首页>Precautions for wechat official account development
Precautions for wechat official account development
2022-06-22 12:43:00 【cathy1213】
- JS Interface security domain name / Authorization callback domain name / The business domain name does not support IP Address 、 Port number and short chain domain name
- Official account configures payment directory positioning : With tp For example
With no arguments : www.xxx.com/index.php/Weixin/Pay/index Wexin grouping Pay Under the controller index Method payment
Fill in :www.xxx.com/index.php/Weixin/Pay/
With parameters :www.xxx.com/index.php/Weixin/Pay/id/1
Fill in : www.xxx.com/index.php/Weixin/Pay/id/
With multiple parameters :www.xxx.com/index.php/Weixin/Pay/id/1/state/1 Out-of-service / Format , The current page can only be referenced with a question mark www.xxx.com/index.php/Weixin/Pay?id=1&state=1
Fill in : www.xxx.com/index.php/Weixin/Pay - Wechat Authorization
redirect uri: Check whether the domain name specified by the authorization callback in the code is consistent with the domain name configured in the official account , Inconsistencies can also lead to this error , Many mistakes in iphone It will be displayed on wechat .
stay tp in , All pages are displayed through the portal file , Upload the file to when configuring the authorized domain name index.php Under the same level directory ( That is, under the root directory of the domain name ) - Wechat interface call appears the permission value is offline verifying
This mistake is because config Not executed correctly , Or called JSAPI There was no introduction config Of jsApiList Parameters in . It is recommended to check in the following order :
confirm config Pass correctly .
If it is called when the page is loaded JSAPI, It must be written in wx.ready In the callback .
confirm config Of jsApiList Parameter contains this JSAPI. - Wechat picture preview previewImage Loading all the time , resolvent : Complete the path of the picture , Change to Internet pictures
边栏推荐
- uboot do_load函数分析
- Flutter&Flame——TankCombat游戏手柄开发(一)
- getenv、setenv函数(获取和设置系统环境变量) 与 环境变量
- Flutter 仿Airbnb的价格区间筛选器。(二)
- TIS教程03-导出
- Fast establishment of tensorflow2 model optimization environment
- Andrdoid延时操作
- Es aggregation details
- Repair flutter_ webview_ The problem of web layer residue when the plugin slides out of the page
- SAP-ABAP-SE14丢失的数据如何恢复
猜你喜欢

0007 reverse integer

Precautions for upgrading php8 of diyun CMS

关于 GIN 的路由树

Opencv invokes the USB camera to solve the "select timeout" problem

修复flutter_webview_plugin在页面滑出时web图层残留的问题

Sliding conflict handling effect of cloud music imitating Netease

Parallels Desktop 17.1.4pd virtual machine

TIS教程03-导出

ffmpeg将amr格式转成mp3格式

天翼云探索云原生、边缘计算融合新思路
随机推荐
SAP-ABAP-如何用WEBAPI的方式调用外部接口
Flutter imitates airbnb's price range filter. (II)
老王说系列第六期:PHP程序员要建立自己的自信心
Final of the 13th Blue Bridge Cup embedded design and development project
odps sql的执行流程不是从上到下执行吗
Jushan database was invited to attend Kunpeng developers' annual event 2022 to jointly build a domestic digital base
About buildreoot compilation -- the function is configured but not compiled into the kernel
【游戏】周瑜技巧
PyCharm编写shell脚本无法运行
【Qt】QFileInfo获取文件名的各个组成部分
BSS应用程序云原生部署的8大挑战
自动删除指定目录、指定时间内的日志文件
0007 reverse integer
ONNX调研
qt页面布局类的小demo
Oracle用游标分解号码次数
巨杉数据库受邀出席鲲鹏开发者年度盛会2022,共建国产化数字底座
Fluent -- Construction of child view for listview source code analysis
repo解析的xml文件
Flutter——实现网易云音乐的渐进式卡片切换