mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-08-07 06:19:44 +08:00
[更新]修改微信支付测试
This commit is contained in:
parent
7dbf23b444
commit
13624d222c
@ -34,7 +34,7 @@ class Demo
|
|||||||
* @throws \Endroid\QrCode\Exceptions\ImageTypeInvalidException
|
* @throws \Endroid\QrCode\Exceptions\ImageTypeInvalidException
|
||||||
* @throws \WeChat\Exceptions\InvalidResponseException
|
* @throws \WeChat\Exceptions\InvalidResponseException
|
||||||
*/
|
*/
|
||||||
public function scan()
|
public function scanQrc()
|
||||||
{
|
{
|
||||||
$wechat = new Pay(config('wechat.'));
|
$wechat = new Pay(config('wechat.'));
|
||||||
$options = [
|
$options = [
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
<p class="text-center">JSAPI支付</p>
|
<p class="text-center">JSAPI支付</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="pull-left padding-left-0">
|
<div class="pull-left padding-left-0">
|
||||||
<img class="notselect" data-tips-image src="{:url('@wx-demo-scan')}" style="width:80px;">
|
<img class="notselect" data-tips-image src="{:url('@wx-demo-scanqrc')}" style="width:80px;">
|
||||||
<p class="text-center">扫码2支付</p>
|
<p class="text-center">扫码2支付</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user