perf: 优化账号推送

This commit is contained in:
ibuler
2023-02-20 23:50:33 +08:00
parent 37c54e976f
commit c9534bb9c4
9 changed files with 33 additions and 81 deletions

View File

@@ -9,7 +9,6 @@ __all__ = ['PushAccountAutomation']
class PushAccountAutomation(ChangeSecretMixin, AccountBaseAutomation):
accounts = None
triggers = models.JSONField(max_length=16, default=list, verbose_name=_('Triggers'))
username = models.CharField(max_length=128, verbose_name=_('Username'))
action = models.CharField(max_length=16, verbose_name=_('Action'))