Your Name 3 năm trước cách đây
mục cha
commit
f59f263588
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      learn/active/src/Api.php

+ 1 - 1
learn/active/src/Api.php

@@ -95,7 +95,7 @@ Class Api extends Core {
 
         $order = Dever::db('active/order')->one(array('id' => $product_id, 'clear' => true));
         if ($order && $status == 2) {
-            $update['pay_status'] = 2;
+            $update['status'] = 2;
             $update['where_id'] = $order['id'];
             Dever::db('active/order')->update($update);
         }