|
@@ -631,13 +631,16 @@ class OrdersController extends BaseController
|
|
|
$app = PayFactory::aliPay();
|
|
|
myLog('alipay')->info($param);
|
|
|
if ($app->notify($param)) {
|
|
|
+ myLog('alipay')->info('sign success');
|
|
|
if (OrderPaySuccess::handle($param['out_trade_no'], $param['trade_no'])) {
|
|
|
+ myLog('alipay')->info('order success');
|
|
|
return response('success');
|
|
|
} else {
|
|
|
+ myLog('alipay')->info('order false');
|
|
|
return response('fail');
|
|
|
}
|
|
|
- return response('success');
|
|
|
} else {
|
|
|
+ myLog('alipay')->info('sign fail');
|
|
|
return response('fail');
|
|
|
}
|
|
|
}
|