Browse Source

Merge branch 'master' of https://git.hxiaoju.top/Other/Gong-Ying-Lian-API

* 'master' of https://git.hxiaoju.top/Other/Gong-Ying-Lian-API:
  自动写入时间戳字段
jason 4 tháng trước cách đây
mục cha
commit
01597f3dbc
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  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()