├── .gitattributes
├── README.md
├── config.php
├── index.php
└── class
└── phpqrcode.php
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## 全能收款码(四码合一收款) QrPay
2 |
3 | 查看》》[使用方法](https://blog.luckymoke.cn/show/news-280.html "使用方法")
4 |
--------------------------------------------------------------------------------
/config.php:
--------------------------------------------------------------------------------
1 | $alipay_url,
26 | "new" => 0,
27 | );
28 | } elseif (strpos($ua, 'MicroMessenger') && $wechat_url) {
29 | //微信
30 | $config = array(
31 | "url" => $wechat_url,
32 | "text" => "长按二维码付款",
33 | "col" => "#44b549",
34 | "new" => 1,
35 | );
36 | } elseif (strpos($ua, 'QQ/') && $qq_url) {
37 | //QQ
38 | $config = array(
39 | "url" => $qq_url,
40 | "text" => "长按二维码付款",
41 | "col" => "#0099de",
42 | "new" => 1,
43 | );
44 | } elseif (strpos($ua, 'JDJR') && $jd_url) {
45 | //京东金融
46 | $config = array(
47 | "url" => $jd_url,
48 | "new" => 0,
49 | );
50 | } else {
51 | //普通打开页面
52 | $config = array(
53 | "url" => $url,
54 | "text" => "支付宝、微信、QQ、京东金融
扫码付款",
55 | "col" => "#2d2d2d",
56 | "new" => 1,
57 | );
58 | }
59 | if (!$config['new']) header("Location:" . $config['url']);
60 | $config['img'] = @$config['img'] ? $config['img'] : $urlqr . urlencode($config['url']);
61 | ?>
62 |
63 |
64 |
| BENCHMARK | |
| till '.$markerId.': | '.number_format($thisTime-$lastTime, 6).'s |
|---|---|
| TOTAL: | '.number_format($lastTime-$startTime, 6).'s |