系统支持任意页面生成小程序码。也支持非X1系统的页面,前提是需要你设置能访问的权限 比如 [https://x1.php168.com/index/wxapp/img.html?url=https://x1.php168.com/shop/content/show/id/55.html](https://x1.php168.com/index/wxapp/img.html?url=https://x1.php168.com/shop/content/show/id/55.html) 你的域名`/index/wxapp/img.html?url=`页面的绝对路径`https`开头 要生成当前页的写法是: ~~~ {:get_url(iurl('index/wxapp/img'))}?url={:get_url('location')} ~~~ 二维码类似,就是把 `index/wxapp/img` 换成 `index/qrcode/index` 即可。比如 [https://x1.php168.com/index/qrcode/index.html?url=https://x1.php168.com/shop/content/show/id/55.html](https://x1.php168.com/index/qrcode/index.html?url=https://x1.php168.com/shop/content/show/id/55.html)