fix: return the latest instance instead of the first instance

This commit is contained in:
JuanZoran
2023-03-15 22:27:30 +08:00
parent df52f2339c
commit efec62d144
6 changed files with 38 additions and 18 deletions

View File

@ -1,5 +1,12 @@
-- local GET = require("Trans.util.curl").GET
---@class Youdao: TransBackend
---@field uri string api uri
---@field salt string
---@field app_id string
---@field app_passwd string
---@field disable boolean
-- local GET = require("Trans.util.curl").GET
-- return function(word)
-- local isEn = word:isEn()
-- local result = {}