xieruidong 2 anos atrás
pai
commit
a3f7d3a233
1 arquivos alterados com 1 adições e 1 exclusões
  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;
         }
     }