2024-05-09 21:03:13 +08:00

12 lines
587 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 定义luci.controller.feishuvpn模块
module("luci.controller.feishuvpn", package.seeall)
-- index函数配置FeiShuVpn的管理界面入口
function index()
-- 创建admin/services/feishuvpn目录下的入口重定向到config页面
-- dependent = true表示该入口依赖于其他服务
entry({"admin", "services", "feishuvpn"}, alias("admin", "services", "feishuvpn", "config"), _("FeiShuVpn"), 30).dependent = true
-- 创建admin/services/feishuvpn/config页面用于配置FeiShuVpn
entry({"admin", "services", "feishuvpn", "config"}, cbi("feishuvpn"))
end