作者 lihan
1 个管道 的构建 通过 耗费 0 秒

支付宝

... ... @@ -432,10 +432,15 @@ class OrderController extends HomeBaseController
{
require EXTEND_PATH . '/alipay/config.php';
require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php';
$alipay = new \AlipayTradeService($config);
$return = request()->param();
cache('zfb', $return);
cache('jj', $alipay->check($return));
// $alipay = new \AlipayTradeService($config);
// $return = request()->param();
// cache('zfb', $return);
// cache('jj', $alipay->check($return));
$arr=$_POST;
$alipaySevice = new AlipayTradeService($config);
$alipaySevice->writeLog(var_export($_POST,true));
$result = $alipaySevice->check($arr);
cache('jj', $result);
}
}
\ No newline at end of file
... ...