chore: sync

This commit is contained in:
JuanZoran
2023-03-08 15:46:30 +08:00
parent 8f6b1d4069
commit 947beb16c8
3 changed files with 18 additions and 5 deletions

View File

@@ -29,9 +29,24 @@ M.query = function(opts)
limit = 1,
})[1]
return res and formatter(res) or nil
local ret = {
-- from = '',
-- to = '',
engine = 'offline',
}
if res then
res.result = formatter(res)
-- TODO
else
-- TODO :
end
return ret
end
M.nowait = true
M.field = {

View File

@@ -11,6 +11,4 @@ M.is_English = function(str)
end
return M