找到了几个URL生成的接口,速度上可能会有差别,可试验后选用,我用过第一个,分享:

 

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<img src="http://pan.baidu.com/share/qrcode?w=150&h=150&url=http://www.baidu.com" alt="">
<img src="http://b.bshare.cn/barCode?site=weixin&url=http://www.baidu.com" alt="">
<img src="http://s.jiathis.com/qrcode.php?url=http://www.baidu.com" alt="">
<img src="http://qr.liantu.com/api.php?text=http://www.baidu.com" alt="">
<img src="http://api.k780.com:88/?app=qr.get&data=http://www.baidu.com" alt="">
</body>
</html>

  

posted on 2017-07-20 11:47  夏沫忆香  阅读(2321)  评论(0编辑  收藏  举报