Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hnxtbaboot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨亮
hnxtbaboot
Commits
e25169aa
Commit
e25169aa
authored
Aug 12, 2021
by
wuchengwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备管理新增,更新样式修改及mac获取删除
parent
a813b4c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
src/main/java/com/founder/cjqx/controller/SysClientVpController.java
+8
-8
src/main/resources/templates/cjqx/shebupdate.html
+1
-1
No files found.
src/main/java/com/founder/cjqx/controller/SysClientVpController.java
View file @
e25169aa
...
...
@@ -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
();
}
...
...
src/main/resources/templates/cjqx/shebupdate.html
View file @
e25169aa
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment