...
|
...
|
@@ -6,6 +6,8 @@ |
|
|
* 请勿直接直接使用样例对外提供服务
|
|
|
*
|
|
|
**/
|
|
|
echo 111;
|
|
|
exit();
|
|
|
date_default_timezone_set('Asia/Shanghai');
|
|
|
require_once "../lib/WxPay.Api.php";
|
|
|
require_once "WxPay.JsApiPay.php";
|
...
|
...
|
@@ -16,7 +18,7 @@ require_once 'log.php'; |
|
|
$logHandler = new CLogFileHandler("../logs/" . date('Y-m-d') . '.log');
|
|
|
$log = Log::Init($logHandler, 15);
|
|
|
Log::DEBUG("===========step1-begin-jsapi-pay=============");
|
|
|
echo 111;
|
|
|
|
|
|
//①、获取用户openid
|
|
|
try {
|
|
|
|
...
|
...
|
|