Browse Source

modify notify address

master
dutsc 3 years ago
parent
commit
6f623d5c47
  1. 3
      mobile/source/helpers/dalianpay/demo/dalianpay.php
  2. 6
      mobile/source/helpers/wxnorify_helper.php

3
mobile/source/helpers/dalianpay/demo/dalianpay.php

@ -141,7 +141,8 @@ class dalianpay{
var_dump(BASE_PATH); var_dump(BASE_PATH);
echo "\n\r"; echo "\n\r";
$_SESSION['Base_path'] = BASE_PATH;
// 加载基础类 // 加载基础类
require_once(BASE_PATH . 'helpers/dalianpay/library/Base.php'); require_once(BASE_PATH . 'helpers/dalianpay/library/Base.php');
$Base = new Base(); $Base = new Base();

6
mobile/source/helpers/wxnorify_helper.php

@ -39,10 +39,10 @@ $postData = file_get_contents('php://input');
file_put_contents($logFilePath, "here1\n\r", FILE_APPEND | LOCK_EX); file_put_contents($logFilePath, "here1\n\r", FILE_APPEND | LOCK_EX);
session_start(); session_start();
file_put_contents($logFilePath, "here2\n\r", FILE_APPEND | LOCK_EX); file_put_contents($logFilePath, "here2\n\r", FILE_APPEND | LOCK_EX);
$BASE_PATH = $_SESSION['Base_path'];
file_put_contents($logFilePath, $BASE_PATH, FILE_APPEND | LOCK_EX);
file_put_contents($logFilePath, BASE_PATH, FILE_APPEND | LOCK_EX); require_once($BASE_PATH . 'helpers/dalianpay/library/Base.php');
require_once(BASE_PATH . 'helpers/dalianpay/library/Base.php');
file_put_contents($logFilePath, "here3\n\r", FILE_APPEND | LOCK_EX); file_put_contents($logFilePath, "here3\n\r", FILE_APPEND | LOCK_EX);
$Base = new Base(); $Base = new Base();
file_put_contents($logFilePath, "here4\n\r", FILE_APPEND | LOCK_EX); file_put_contents($logFilePath, "here4\n\r", FILE_APPEND | LOCK_EX);

Loading…
Cancel
Save