更新代码
This commit is contained in:
18
app/Models/WechatRule.php
Normal file
18
app/Models/WechatRule.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
use RuLong\Panel\Models\Storage;
|
||||
|
||||
class WechatRule extends Model
|
||||
{
|
||||
|
||||
use SoftDeletes;
|
||||
public function storage()
|
||||
{
|
||||
return $this->belongsTo(Storage::class)->withDefault();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user