|
|
@ -44,7 +44,8 @@ class Banner extends BaseModel |
|
|
|
|
|
|
|
|
|
|
|
public function activeInfo(): HasOne |
|
|
|
public function activeInfo(): HasOne |
|
|
|
{ |
|
|
|
{ |
|
|
|
return $this->hasOne('ActiveMain', 'id', 'redirect_url'); |
|
|
|
return $this->hasOne('ActiveMain', 'id', 'redirect_url') |
|
|
|
|
|
|
|
->hidden(['update_time']); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|