...
|
...
|
@@ -13,7 +13,7 @@ require_once "../lib/WxPay.Api.php"; |
|
|
require_once "WxPay.JsApiPay.php";
|
|
|
require_once "WxPay.Config.php";
|
|
|
require_once 'log.php';
|
|
|
echo 11112;
|
|
|
|
|
|
//初始化日志
|
|
|
$logHandler = new CLogFileHandler("../logs/" . date('Y-m-d') . '.log');
|
|
|
$log = Log::Init($logHandler, 15);
|
...
|
...
|
@@ -83,6 +83,7 @@ try { |
|
|
function (res) {
|
|
|
WeixinJSBridge.log(res.err_msg);
|
|
|
alert(res.err_code);
|
|
|
alert('11111');
|
|
|
if (res.err_msg == 'get_brand_wcpay_request:ok') {
|
|
|
window.location.href = 'http://wx.youlj.cn/portal/index/pay_success.html';
|
|
|
} else if (res.err_msg == 'get_brand_wcpay_request:cancel') {
|
...
|
...
|
|