rabin 8 小時之前
父節點
當前提交
a8f4e807c6
共有 1 個文件被更改,包括 2 次插入2 次删除
  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]);
                 }
             }
         }