diff --git a/JSJApiPay/JSJApiPay.class.php b/JSJApiPay/JSJApiPay.class.php index fc14928..9bdb5f2 100644 --- a/JSJApiPay/JSJApiPay.class.php +++ b/JSJApiPay/JSJApiPay.class.php @@ -6,7 +6,7 @@ * @author tutugreen (yuanming@tutugreen.com) * @copyright Copyright (c) Tutugreen.com 2016~2017 * @license MIT - * @version 0.15-2017-06-10-01 + * @version 0.16-2017-06-26-01 * @link https://github.com/tutugreen/WHMCS-JSJ-API-Pay-Gateway * */ @@ -26,6 +26,7 @@ function JSJApiPay_logResult($word='',$file="../../../downloads/JSJApiPay_log.ph } /*移动端判断*/ +/* From http://www.thinkphp.cn/code/2107.html */ function isMobile() { // 如果有HTTP_X_WAP_PROFILE则一定是移动设备 diff --git a/JSJApiPay_Alipay_Wap.php b/JSJApiPay_Alipay_Wap.php index 1f5a3c8..82fa3b2 100644 --- a/JSJApiPay_Alipay_Wap.php +++ b/JSJApiPay_Alipay_Wap.php @@ -6,7 +6,7 @@ * @author tutugreen (yuanming@tutugreen.com) * @copyright Copyright (c) Tutugreen.com 2016~2017 * @license MIT - * @version 0.15-2017-06-10-01 + * @version 0.16-2017-06-26-01 * @link https://github.com/tutugreen/WHMCS-JSJ-API-Pay-Gateway * */ diff --git a/JSJApiPay_Alipay_Web.php b/JSJApiPay_Alipay_Web.php index 86b7426..311706d 100644 --- a/JSJApiPay_Alipay_Web.php +++ b/JSJApiPay_Alipay_Web.php @@ -6,7 +6,7 @@ * @author tutugreen (yuanming@tutugreen.com) * @copyright Copyright (c) Tutugreen.com 2016~2017 * @license MIT - * @version 0.15-2017-06-10-01 + * @version 0.16-2017-06-26-01 * @link https://github.com/tutugreen/WHMCS-JSJ-API-Pay-Gateway * */ @@ -88,7 +88,7 @@ function JSJApiPay_Alipay_Web_link($params) { PS!请不要随意修改!后方回调也会验证。 */ - $JSJApiPay_Alipay_Web_config['addnum'] = "alip".$JSJApiPay_Alipay_Web_config['apiid']."ALIPAYInvoces".$invoiceid; + $JSJApiPay_Alipay_Web_config['addnum'] = "alip".$JSJApiPay_Alipay_Web_config['apiid']."ALIPAYInvoices".$invoiceid; //基本参数 $parameter = array( diff --git a/JSJApiPay_QQ_Pay_QRCode.php b/JSJApiPay_QQ_Pay_QRCode.php index 46217d2..67a1b95 100644 --- a/JSJApiPay_QQ_Pay_QRCode.php +++ b/JSJApiPay_QQ_Pay_QRCode.php @@ -6,7 +6,7 @@ * @author tutugreen (yuanming@tutugreen.com) * @copyright Copyright (c) Tutugreen.com 2016~2017 * @license MIT - * @version 0.15-2017-06-10-01 + * @version 0.16-2017-06-26-01 * @link https://github.com/tutugreen/WHMCS-JSJ-API-Pay-Gateway * */ @@ -96,7 +96,7 @@ function JSJApiPay_QQ_Pay_QRCode_link($params) { PS!本接口文件已做好匹配生成,请不要随意修改!后方回调也会验证。 */ - $JSJApiPay_QQ_Pay_QRCode_config['addnum'] = "QQ".$JSJApiPay_QQ_Pay_QRCode_config['apiid']."QQInvoces".$invoiceid; + $JSJApiPay_QQ_Pay_QRCode_config['addnum'] = "QQ".$JSJApiPay_QQ_Pay_QRCode_config['apiid']."QQInvoices".$invoiceid; //基本参数 $parameter = array( diff --git a/JSJApiPay_WeChat_Pay_QRCode.php b/JSJApiPay_WeChat_Pay_QRCode.php index ab204d0..36d9bd7 100644 --- a/JSJApiPay_WeChat_Pay_QRCode.php +++ b/JSJApiPay_WeChat_Pay_QRCode.php @@ -6,7 +6,7 @@ * @author tutugreen (yuanming@tutugreen.com) * @copyright Copyright (c) Tutugreen.com 2016~2017 * @license MIT - * @version 0.15-2017-06-10-01 + * @version 0.16-2017-06-26-01 * @link https://github.com/tutugreen/WHMCS-JSJ-API-Pay-Gateway * */ @@ -96,7 +96,7 @@ function JSJApiPay_WeChat_Pay_QRCode_link($params) { PS!本接口文件已做好匹配生成,请不要随意修改!后方回调也会验证。 */ - $JSJApiPay_WeChat_Pay_QRCode_config['addnum'] = "wx".$JSJApiPay_WeChat_Pay_QRCode_config['apiid']."WeChatInvoces".$invoiceid; + $JSJApiPay_WeChat_Pay_QRCode_config['addnum'] = "wx".$JSJApiPay_WeChat_Pay_QRCode_config['apiid']."WeChatInvoices".$invoiceid; //基本参数 $parameter = array( diff --git a/callback/JSJApiPay_callback.php b/callback/JSJApiPay_callback.php index a003348..e998c82 100644 --- a/callback/JSJApiPay_callback.php +++ b/callback/JSJApiPay_callback.php @@ -6,7 +6,7 @@ * @author tutugreen (yuanming@tutugreen.com) * @copyright Copyright (c) Tutugreen.com 2016~2017 * @license MIT - * @version 0.15-2017-06-10-01 + * @version 0.16-2017-06-26-01 * @link https://github.com/tutugreen/WHMCS-JSJ-API-Pay-Gateway * */