feat(plugin): add user.subscribe.response hook

This commit is contained in:
xboard
2025-09-17 00:02:59 +08:00
parent 58a374bde9
commit 8ae3de511b
2 changed files with 2 additions and 8 deletions

View File

@@ -137,14 +137,6 @@ class User extends Authenticatable
return $this->hasMany(TrafficResetLog::class, 'user_id', 'id');
}
/**
* 获取订阅链接属性
*/
public function getSubscribeUrlAttribute(): string
{
return Helper::getSubscribeUrl($this->token);
}
/**
* 检查用户是否处于活跃状态
*/