Commit e25169aa by wuchengwu

设备管理新增,更新样式修改及mac获取删除

parent a813b4c2
......@@ -307,16 +307,16 @@ public class SysClientVpController {
@GetMapping("/newSheb")
public String newSheb(HttpServletRequest request, HttpServletResponse response, Model model) {
try {
StopWatch stopWatch = new StopWatch();
stopWatch.start("获取本地ip耗时:");
// StopWatch stopWatch = new StopWatch();
// stopWatch.start("获取本地ip耗时:");
String ip = SysUitl.getIp(request);
stopWatch.stop();
stopWatch.start("获取本地mac地址耗时:");
String mac = SysUitl.getkhdMac(ip);
stopWatch.stop();
System.out.println("本地ip与mac耗时百分比:"+stopWatch.prettyPrint());
// stopWatch.stop();
// stopWatch.start("获取本地mac地址耗时:");
// String mac = SysUitl.getkhdMac(ip);
// stopWatch.stop();
// System.out.println("本地ip与mac耗时百分比:"+stopWatch.prettyPrint());
model.addAttribute("sip", ip);
model.addAttribute("mac",mac );
model.addAttribute("mac","" );
} catch (Exception e) {
e.printStackTrace();
}
......
......@@ -162,7 +162,7 @@
<input type="checkbox" value="是" lay-verify="pps1" id="ifyhkcjyCheckbox" title="银行卡" name="ifyhkcjyCheckbox" />
<input type="checkbox" value="是" lay-verify="pps1" id="ifdnabqdyjCheckbox" title="DNA标签打印机" name="ifdnabqdyjCheckbox" />
<input type="button" value="确定" class="layui-btn layui-btn-sm" name="ifythcjy" id="ifythcjy" />
<!-- <input type="button" value="确定" class="layui-btn layui-btn-sm" name="ifythcjy" id="ifythcjy" />-->
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment