...
|
...
|
@@ -430,14 +430,14 @@ class OrderController extends HomeBaseController |
|
|
//支付宝异步回调
|
|
|
public function alipayNotify()
|
|
|
{
|
|
|
//print_r(cache('zfb'));
|
|
|
print_r(cache('zfb'));
|
|
|
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);
|
|
|
Db::name('user')->where(['id'=>10])->setInc('balance', 1);
|
|
|
$alipay->check();
|
|
|
//$alipay->check();
|
|
|
}
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|