xieruidong 2 年之前
父节点
当前提交
a3f7d3a233
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/common/model/Payment.php

+ 1 - 1
application/common/model/Payment.php

@@ -41,7 +41,7 @@ class Payment extends Model
         $this->save();
         switch ($this['payment_type']){
             case (new Orders)->getTable():
-                Orders::makePayed($this['payment_id']);
+                Orders::makePayed($this);
                 break;
         }
     }