Browse Source

修改 方法

ajun 4 years ago
parent
commit
877f6423ee
1 changed files with 0 additions and 4 deletions
  1. 0 4
      app/DischargeTask.php

+ 0 - 4
app/DischargeTask.php

@@ -61,8 +61,4 @@ class DischargeTask extends Model
         return $this->belongsTo(Warehouse::class);
     }
 
-    public function getTypeAttribute($index)
-    {
-        return $this::types[$index];
-    }
 }