[更新]修改微信支付测试

This commit is contained in:
Anyon 2018-05-04 17:42:12 +08:00
parent 7dbf23b444
commit 13624d222c
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ class Demo
* @throws \Endroid\QrCode\Exceptions\ImageTypeInvalidException
* @throws \WeChat\Exceptions\InvalidResponseException
*/
public function scan()
public function scanQrc()
{
$wechat = new Pay(config('wechat.'));
$options = [

View File

@ -42,7 +42,7 @@
<p class="text-center">JSAPI支付</p>
</div>
<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>
</div>
</div>