mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
Merge branch 'master' of https://github.com/lxsang/antd-web-apps
This commit is contained in:
commit
b0f3f2f6f7
@ -125,7 +125,8 @@ function SystemController:apigateway(...)
|
||||
echo(e)
|
||||
end
|
||||
elseif data.path then
|
||||
r, e = loadfile(data.path)
|
||||
local ospath = require("vfs").ospath(data.path)
|
||||
r, e = loadfile(ospath)
|
||||
if r then
|
||||
local status, result = pcall(r, data.parameters)
|
||||
if (status) then
|
||||
|
Loading…
Reference in New Issue
Block a user