|
@@ -41,11 +41,10 @@ class Set
|
|
|
|
|
|
if ($status == 5) {
|
|
if ($status == 5) {
|
|
$pay = Dever::db('pay/account')->one($order['account_id']);
|
|
$pay = Dever::db('pay/account')->one($order['account_id']);
|
|
- print_r($order);
|
|
|
|
- print_r($pay);die;
|
|
|
|
$method = '\\Pay\\Lib\\' . ucwords($pay['type']);
|
|
$method = '\\Pay\\Lib\\' . ucwords($pay['type']);
|
|
$method = new $method($pay);
|
|
$method = new $method($pay);
|
|
- $method->refund($order_id);
|
|
|
|
|
|
+ $result = $method->refund($order_id);
|
|
|
|
+ print_r($result);die;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|