...
|
...
|
@@ -6,12 +6,12 @@ |
|
|
* 请勿直接直接使用样例对外提供服务
|
|
|
*
|
|
|
**/
|
|
|
date_default_timezone_set('Asia/Shanghai');
|
|
|
require_once "../lib/WxPay.Api.php";
|
|
|
require_once "WxPay.JsApiPay.php";
|
|
|
require_once "WxPay.Config.php";
|
|
|
require_once 'log.php';
|
|
|
echo 11212313132123;
|
|
|
echo date("His");
|
|
|
|
|
|
//初始化日志
|
|
|
$logHandler = new CLogFileHandler("../logs/" . date('Y-m-d') . '.log');
|
|
|
$log = Log::Init($logHandler, 15);
|
...
|
...
|
@@ -26,7 +26,7 @@ try { |
|
|
echo 11212313132123;
|
|
|
echo date("His");
|
|
|
var_dump($deta);
|
|
|
die();
|
|
|
|
|
|
//测试专用 0.01
|
|
|
//$fee = $deta['fe'] ? $deta['fe'] * 100 : 100;
|
|
|
$fee = 1;
|
...
|
...
|
@@ -54,6 +54,8 @@ try { |
|
|
Log::DEBUG(json_encode($deta, true));
|
|
|
|
|
|
$jsApiParameters = $tools->GetJsApiParameters($order);
|
|
|
var_dump($jsApiParameters);
|
|
|
die();
|
|
|
|
|
|
//获取共享收货地址js函数参数
|
|
|
$editAddress = $tools->GetEditAddressParameters();
|
...
|
...
|
|