|
@@ -4019,7 +4019,7 @@ class WholeController extends Curd
|
|
|
return json_success('success');
|
|
|
}
|
|
|
} else if (in_array('ALIPAY', $payDetailType)) {
|
|
|
- $result = Pay::alipay(config('payment.alipay'))->find($orderId);
|
|
|
+ $result = Pay::alipay(config('payment.alipay'))->find($order->order_groupby);
|
|
|
$result = json_decode(json_encode($result), true);
|
|
|
if (!empty($result['code']) && $result['code'] == '10000' && !empty($result['trade_status']) && $result['trade_status'] == 'TRADE_SUCCESS') {
|
|
|
if (in_array($order->order_category, ['SERVICE', 'CHNMED', 'CHNNCD', 'DISHES', 'MEALS', 'VIP'])) {
|