diff --git a/application/api/controller/Order.php b/application/api/controller/Order.php
index b3e0d40..1d67f81 100644
--- a/application/api/controller/Order.php
+++ b/application/api/controller/Order.php
@@ -591,15 +591,18 @@ class Order extends Api
         $config['notify_url'] = $this->request->domain().'api/notify/refund/type/wechat';
         $config['return_url'] = '';
         $wechat = Pay::wechat($config);
+        $refund_no = 'LQ-'.time().mt_rand(10000,99999);
         $param = [
 //            'total_fee' => $order['pay_price'],
 //            'refund_fee' => $order['pay_price'],
             'total_fee' => 0.01,
             'refund_fee' => 0.01,
             'out_trade_no' => $order['order_no'],
-            'out_refund_no' => 'LQ-'.time().mt_rand(10000,99999)
+            'out_refund_no' => $refund_no
         ];
         $wechat->refund($param);
+        $order->refund_no = $refund_no;
+        $order->isUpdate()->save();
         $this->success('取消成功');
     }