support sspanelv3 node info & logs
This commit is contained in:
parent
b812ab10bf
commit
783267dba0
3 changed files with 98 additions and 13 deletions
|
@ -3,9 +3,9 @@ from configloader import load_config, get_config
|
|||
def getKeys():
|
||||
key_list = ['port', 'u', 'd', 'transfer_enable', 'passwd', 'enable' ]
|
||||
if get_config().API_INTERFACE == 'sspanelv3':
|
||||
key_list += ['method']
|
||||
key_list += ['id', 'method']
|
||||
elif get_config().API_INTERFACE == 'sspanelv3ssr':
|
||||
key_list += ['method', 'obfs', 'protocol']
|
||||
key_list += ['id', 'method', 'obfs', 'protocol']
|
||||
return key_list
|
||||
#return key_list + ['plan'] # append the column name 'plan'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue