xieruidong 2 years ago
parent
commit
a3f7d3a233
1 changed files with 1 additions and 1 deletions
  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();
         $this->save();
         switch ($this['payment_type']){
         switch ($this['payment_type']){
             case (new Orders)->getTable():
             case (new Orders)->getTable():
-                Orders::makePayed($this['payment_id']);
+                Orders::makePayed($this);
                 break;
                 break;
         }
         }
     }
     }