...
|
...
|
@@ -417,7 +417,7 @@ class Order extends Api |
|
|
// User::money($order['deposit'],$order['user_id'],'取消订单',['order_id' => $order['id']]);
|
|
|
// 退款
|
|
|
$Wecaht = new Wechat();
|
|
|
if(!$Wecaht->refund($this->model->get($order['id']),'取消订单')){
|
|
|
if(!$Wecaht->refund((new self())->model->get($order['id']),'取消订单')){
|
|
|
(new self())->error($Wecaht->getError());
|
|
|
}
|
|
|
|
...
|
...
|
|