From 005d5097d530e63c6d23545978f5d83df5e0652c Mon Sep 17 00:00:00 2001
From: fix-sspanel <35394201+fix-sspanel@users.noreply.github.com>
Date: Sat, 13 Jan 2018 17:50:33 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3f2fpay=E5=BD=93=E9=9D=A2?=
=?UTF-8?q?=E4=BB=98=E5=87=BA=E7=8E=B0=E9=94=99=E8=AF=AF=E7=9A=84=E4=BA=8C?=
=?UTF-8?q?=E7=BB=B4=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
fix f2fpay show the wrong images.
---
.../f2fpay/service/AlipayTradeService.php | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/vendor/alipay-f2fpay/f2fpay/service/AlipayTradeService.php b/vendor/alipay-f2fpay/f2fpay/service/AlipayTradeService.php
index d29a1ba..1348cd9 100644
--- a/vendor/alipay-f2fpay/f2fpay/service/AlipayTradeService.php
+++ b/vendor/alipay-f2fpay/f2fpay/service/AlipayTradeService.php
@@ -367,11 +367,8 @@ class AlipayTradeService {
*/
function create_erweima_baidu($content, $size = '200', $lev = 'L', $margin= '0') {
- $domain = $_SERVER['SERVER_NAME'];
- $url='http://qr.feiyang.li/?data='.$content.'&domain='.$domain;
- $html = file_get_contents($url);
- $image = '
';
- return $image;
- }
+ $url = urlencode($content);
+ $image = '
';
+ return $image;
-}
\ No newline at end of file
+}