public class JtRun extends Object
| Constructor and Description |
|---|
JtRun() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
call(String path)
调用函数
|
static Object |
call(String path,
org.noear.solon.core.handle.Context ctx)
调用函数
|
static void |
dele(String path)
删除缓存
|
static void |
exec(String path)
执行函数
|
static void |
exec(String path,
org.noear.solon.core.handle.Context ctx)
执行函数
|
static void |
execCode(String code)
执行代码
|
static void |
execFile(org.noear.luffy.model.AFileModel file)
执行文件
|
static org.noear.luffy.model.AFileModel |
fileGet(String path) |
static JtFunctionLoaderManager |
getResouceLoader()
获取资源加载器(可以清空并替换为数据库的)
|
static void |
init() |
static void |
xfunInit() |
public static void init()
public static JtFunctionLoaderManager getResouceLoader()
public static org.noear.luffy.model.AFileModel fileGet(String path) throws Exception
Exceptionpublic static Object call(String path, org.noear.solon.core.handle.Context ctx) throws Exception
Exceptionpublic static void exec(String path, org.noear.solon.core.handle.Context ctx) throws Exception
Exceptionpublic static void execFile(org.noear.luffy.model.AFileModel file)
throws Exception
Exceptionpublic static void xfunInit()
Copyright © 2025. All rights reserved.