平台介绍 >> /jscode/develop/funlist.json(命令行模式)
/jscode/develop/funlist.json(命令行模式)
默认funlist.json配置, 当id=main为默认执行业务,当id=main不存在时,则不执行业务,等待窗口输入
[
{
"id": "main",
"title": "默认入口函数",
"function": "{PROJECT}main_home",
"params": "()"
},
{
"id": "sys_getevndata",
"title": "环境信息",
"function": "{JSAPROJECT}main_sys_getevndata",
"params": "()"
},
{
"id": "sys_createtable",
"title": "生成数据库映射代码",
"function": "{JSAPROJECT}main_sys_createdbcode",
"params": "(project,table,codetype)"
},
{
"id": "sys_projectinit",
"title": "初始化项目",
"function": "{JSAPROJECT}main_sys_projectinit",
"params": "(project)"
},
{
"id": "sys_getinit",
"title": "取得初始化业务列表",
"function": "{JSAPROJECT}main_sys_getinit",
"params": "()"
},
{
"id": "sys_getevent",
"title": "取得事件业务列表",
"function": "{JSAPROJECT}main_sys_getevent",
"params": "()"
},
{
"id": "sys_getcrond",
"title": "取得定时任务列表",
"function": "{JSAPROJECT}main_sys_getcrond",
"params": "()"
},
{
"id": "sys_getfunction",
"title": "取得执行的函数代码",
"function": "{JSAPROJECT}main_sys_getfunction",
"params": "(functionname)"
}
]