|
@@ -11,11 +11,7 @@ class DistAdminDistributor extends Model
|
|
use HasDateTimeFormatter;
|
|
use HasDateTimeFormatter;
|
|
protected $table = 'dist_admin_distributor';
|
|
protected $table = 'dist_admin_distributor';
|
|
|
|
|
|
- //把null转为''
|
|
|
|
- public function setNameAttribute($value)
|
|
|
|
- {
|
|
|
|
- $this->attributes['name'] = $value ?? '';
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
|
|
/*
|
|
/*
|
|
* 用户一对多关联
|
|
* 用户一对多关联
|