<% local ver = require("xiaoqiang.XQVersion").webVersion local cryptoUtil = require("xiaoqiang.util.XQCryptoUtil") local XQSysUtil = require ("xiaoqiang.util.XQSysUtil") local http = require ("luci.http") local secretKey = "Ep9]B28z3!3D66*3CF_18663" local routerName = XQSysUtil.getRouterName() or "miwifi" local XQConfigs = require("xiaoqiang.common.XQConfigs") local cmd = XQConfigs.THRIFT_TO_MQTT_GET_DEVICEID local LuciUtil = require("luci.util") local deviceId = LuciUtil.exec(cmd) local from = "xiaomi_router" local sign = cryptoUtil.md5Str(deviceId .. from .. routerName .. secretKey) local xunleiurl = string.format("http://dynamic.i.xunlei.com/device_binding/entrance.php?deviceId=%s&from=%s&name=%s&sign=%s", http.urlencode(deviceId), http.urlencode(from), http.urlencode(routerName), http.urlencode(sign)) %> <%include ("web/inc/head")%> 应用管理 - 小米路由器
<%include ("web/inc/g.js.base")%> <%include ("web/inc/g.js")%>