rabin 14 giờ trước cách đây
mục cha
commit
a8f4e807c6
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/place/order/app/Lib/Notify.php

+ 2 - 2
src/place/order/app/Lib/Notify.php

@@ -40,9 +40,9 @@ class Notify
             $refund = Dever::db('porder/' . $type . '_refund')->find($refund_id);
             if ($refund) {
                 if ($status == 1) {
-                    Dever::db('porder/' . $type . '_refund')->update($refund_id, ['status' => 3]);
+                    Dever::db('porder/' . $type . '_refund')->update($refund_id, ['pay_status' => 3]);
                 } elseif ($status == 2) {
-                    Dever::db('porder/' . $type . '_refund')->update($refund_id, ['status' => 4]);
+                    Dever::db('porder/' . $type . '_refund')->update($refund_id, ['pay_status' => 4]);
                 }
             }
         }