当前位置:网站首页>The routing interface of local access to local TP5 of wechat applet is normal. Why can't you scan the code on the mobile phone to preview and get data?
The routing interface of local access to local TP5 of wechat applet is normal. Why can't you scan the code on the mobile phone to preview and get data?
2022-07-22 18:42:00 【enoshxu】
Wechat applet local access local TP5 The routing interface of is normal , Why can't you get data by scanning code preview on your mobile phone ?
reason : The code scanning preview of mobile phone can only get the static code of wechat applet , Unable to get the data of the local background interface , Because I can't find it on my mobile phone localhost Which computer ( Personal understanding is for reference only , Such as incorrect , Please exchange and correct )
resolvent : Deploy the back-end code to the ECS correctly , Configure the domain name and its directory correctly , And databases , The domain name of the interface accessed by the applet is changed to the domain name of the newly deployed ECS ; In this way, the applet is scanned and previewed ( Remember to scan the QR code for remote debugging to request data ) After loading the local applet front-end code , Then request the ECS TP5 Interface data , Then you can preview it successfully on the real phone .
边栏推荐
- Fabric. JS centered element
- PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so'
- 【Nordic】nRF52810 OTA升级(二)–DFU如何使用
- 【FatFs】FAT32文件系统协议总结(理论+实践)
- Visual studio debugging shortcut key
- [STM32] STM32 SDIO SD card read / write test (I) -- SD card hardware design and software migration
- Codeforces Round #805 (Div. 3)(8/8)
- Go 语言学习:Go 语言之旅(三)
- Rocky basic exercise -shell SCRIPT-1
- web新手区
猜你喜欢
真的有必要定义VO,BO,PO,DO,DTO吗?
微信公众号网页授权----redirect_uri域名与后台配置不一致,错误码10003 错误
PHP开发中csrf攻击的简单演示和防范
【FatFs】基于STM32 SD卡移植FatFs文件系统
[SDIO] sd2.0 protocol analysis summary (I) -- Introduction to SD card basic probability
DOM简介及查询
【Nordic】nRF52810 OTA升级(三)–DFU理论分析
Android互联网大厂面试经验
01.开闭原则 Open-Closed Principle
Mail Informer
随机推荐
Go 语言学习:Go 语言之旅(三)
[SDIO] sd2.0 protocol analysis summary (II) -- SD card identification & data transmission process
Try kolla-ansible (by quqi99)
24 SaaS thoughts
juju debug hacks (by quqi99)
【FatFs】FAT32文件系统协议总结(理论+实践)
【Audio】I2S传输PCM音频数据分析总结(一)
【STM32】STM32 SDIO SD卡读写测试(四)-- SD_Test之Transfer Mode阶段
H5 no scaling on the mobile terminal
协议与端口
函数的简介
ecshop配置微信支付,微信开发者工具微信支付时弹窗提示“未绑定网页开发者”问题
Top 10 active noise reduction headphones and top 10 active noise reduction headphones brands
DOM简介及查询
php如何防止csrf攻击
构造函数
web新手区
力扣解法汇总535-TinyURL 的加密与解密
PHP实现删除一维数组中某一个值
3. Transbot modifies the display resolution