rabin 15 小時之前
父節點
當前提交
a10ec57518
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/place/order/app/Lib/Source/Order.php

+ 1 - 1
src/place/order/app/Lib/Source/Order.php

@@ -293,7 +293,7 @@ class Order
 
     # 确认收货
     public function finish_commit(){}
-    public function finish($type = 1, $order, $yes = false, $uid = false)
+    public function finish($type = 1, $order = [], $yes = false, $uid = false)
     {
         if ($yes || ($order['status'] >= 3 && $order['status'] <= 4)) {
             if ($type == 1) {