mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
[Change] 添加翻译,并添加用户登陆页面
This commit is contained in:
@@ -99,7 +99,12 @@ class Asset(models.Model):
|
||||
return False, warning
|
||||
|
||||
def to_json(self):
|
||||
pass
|
||||
return {
|
||||
'id': self.id,
|
||||
'hostname': self.hostname,
|
||||
'ip': self.ip,
|
||||
'port': self.port,
|
||||
}
|
||||
|
||||
def _to_secret_json(self):
|
||||
"""Ansible use it create inventory"""
|
||||
|
||||
Reference in New Issue
Block a user