...
|
...
|
@@ -432,11 +432,12 @@ class OrderController extends HomeBaseController |
|
|
{
|
|
|
require EXTEND_PATH . '/alipay/config.php';
|
|
|
require_once EXTEND_PATH . '/alipay/wappay/service/AlipayTradeService.php';
|
|
|
$arr=request()->param();
|
|
|
$arr=$_POST;
|
|
|
$alipaySevice = new AlipayTradeService($config);
|
|
|
$alipaySevice->writeLog(var_export($_POST,true));
|
|
|
$result = $alipaySevice->check($arr);
|
|
|
cache('jj', $result);
|
|
|
if($result = $alipaySevice->check($arr)) {
|
|
|
Db::name('user')->where(['id'=>10])->setInc('balance', 1);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|