...
|
...
|
@@ -436,8 +436,9 @@ class OrderController extends HomeBaseController |
|
|
cache('zfb', $arr);
|
|
|
$alipaySevice = new AlipayTradeService($config);
|
|
|
$alipaySevice->writeLog(var_export($_POST, true));
|
|
|
$result = $alipaySevice->check($arr);
|
|
|
$result = $alipaySevice->check(cache('zfb'));
|
|
|
cache('notify', $result);
|
|
|
print_r($result);
|
|
|
if ($result) {
|
|
|
Db::name('user')->where(['id' => 10])->setInc('balance', 1);
|
|
|
}
|
...
|
...
|
|