mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-29 16:25:13 +08:00
update 2026-07-13 00:53:40
This commit is contained in:
1 parent
192d5e4fd9
commit
dc61ff94d8
41 files changed
+750
-549
No files matched your search
@@ -107,6 +107,7 @@ function index()
|
||||
for _, com in ipairs(coms.order) do
|
||||
entry({"admin", "services", appname, "check_" .. com}, call("com_check", com)).leaf = true
|
||||
entry({"admin", "services", appname, "update_" .. com}, call("com_update", com)).leaf = true
|
||||
entry({"admin", "services", appname, "version_" .. com}, call("com_version", com)).leaf = true
|
||||
end
|
||||
|
||||
--[[Backup]]
|
||||
@@ -804,6 +805,11 @@ function com_update(comname)
|
||||
http_write_json(json)
|
||||
end
|
||||
|
||||
function com_version(comname)
|
||||
local version = api.get_app_version(comname)
|
||||
http_write_json_ok(version)
|
||||
end
|
||||
|
||||
function read_rulelist()
|
||||
local rule_type = http.formvalue("type")
|
||||
local rule_path
|
||||
|
||||
Reference in new issue
Block a user