37 lines
627 B
XML
37 lines
627 B
XML
{
|
||
"widgettype":"Form",
|
||
"options":{
|
||
"title":"创建用户apikey",
|
||
"dscription":"下位系统要免密登录本系统,需要设置apikey和secretkey",
|
||
"fields":[
|
||
{
|
||
"name":"appname",
|
||
"label":"应用名",
|
||
"uitype":"str",
|
||
"required": true
|
||
},
|
||
{
|
||
"name":"description",
|
||
"label":"应用描述",
|
||
"uitype":"str"
|
||
},
|
||
{
|
||
"name":"allowedips",
|
||
"label":"允许的IP集",
|
||
"uitype":"str"
|
||
}
|
||
]
|
||
},
|
||
"binds":[
|
||
{
|
||
"wid":"self",
|
||
"event":"submit",
|
||
"actiontype":"urlwidget",
|
||
"target":"self",
|
||
"options":{
|
||
"url":"{{entire_url('./create_apikey.dspy')}}"
|
||
}
|
||
}
|
||
]
|
||
}
|