当前位置:网站首页>【伸手党福利】微信中h5网页调起扫一扫最简单的方法
【伸手党福利】微信中h5网页调起扫一扫最简单的方法
2022-07-28 04:01:00 【三个人工作室】
直接上干货
调用接口://996315.com/api/scan/
在这里感谢此接口作者
<a href="//996315.com/api/scan/">扫码</a>
默认返回到referrer的地址,一般是域名根目录
进阶调用方法(设定返回路径<内网地址或者ip仍旧返回根目录>)
<a href="//996315.com/api/scan/?redirect_uri=你的url地址">扫码</a>
uniapp的H5调用方法:
<view @click="turnTo('http://996315.com/api/scan/?redirect_uri='+window.lcation.href)">
...
turnTo(url) {
window.location.href=url;
},
边栏推荐
- [prototype and prototype chain] get to know prototype and prototype chain~
- In the official online CV2 document, check the optional values of OpenCV specific parameters
- Crowdfunding platform system based on JSP & Servlet
- 【无标题】
- LightPicture – 精致图床系统
- Day08 redis的基础知识
- Greedy - 53. Maximum subarray sum
- Read Plato farm's eplato and the reason for its high premium
- Iterator function operation of iterator learning
- [untitled]
猜你喜欢
随机推荐
高等数学(第七版)同济大学 习题3-4 个人解答(前8题)
Day08 redis的基础知识
Skillfully use stack backtracking to help you quickly locate problems
【luogu P4590】游园会(DP套DP)
cookie与Session
Dynamic programming - 509. Fibonacci number
Protocols in swift
[prototype and prototype chain] get to know prototype and prototype chain~
C language: realize the exchange of two numbers without creating temporary variables
Convert py file to exe executable file
LeetCode_ 409_ Longest palindrome string
C语言力扣第45题之跳跃游戏 II。遍历跳跃
Greed 45. Jumping game II
Monotonic stack - 739. Daily temperature
面试必备杀技:SQL查询专项训练!
jdbc使用
Read Plato farm's eplato and the reason for its high premium
Detailed explanation of string + memory function (C language)
静态博客搭建工具汇总
From Clickhouse to Snowflake: MPP query layer









