Jelajahi Sumber

自动写入时间戳字段

afa 4 bulan lalu
induk
melakukan
4beb9733cf
1 mengubah file dengan 0 tambahan dan 6 penghapusan
  1. 0 6
      app/common/model/ShopDelivery.php

+ 0 - 6
app/common/model/ShopDelivery.php

@@ -21,12 +21,6 @@ class ShopDelivery Extends Model
     const StatusSettlement = 2;
     const StatusRefund = 3;
 
-    public static function onAfterInsert($data)
-    {
-        $data->weigh=1000-$data->id;
-        $data->save();
-    }
-
 
     //待结算金额
     public static function getPendingSettlementAmount()