mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
update base64 handling
This commit is contained in:
parent
ce05d67166
commit
6d3ee13d87
@ -132,10 +132,12 @@ function SystemController:apigateway(...)
|
|||||||
r, e = loadfile(ospath)
|
r, e = loadfile(ospath)
|
||||||
if r then
|
if r then
|
||||||
local status, result = pcall(r, data.parameters)
|
local status, result = pcall(r, data.parameters)
|
||||||
if (status) then
|
if result then
|
||||||
echo(JSON.encode(result))
|
if (status) then
|
||||||
else
|
echo(JSON.encode(result))
|
||||||
echo(result)
|
else
|
||||||
|
echo(result)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
echo(e)
|
echo(e)
|
||||||
|
Loading…
Reference in New Issue
Block a user