Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
DuibaTestToolV2.1
Project
Project
Details
Activity
Releases
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
赵然
DuibaTestToolV2.1
Commits
9f15a6fc
Commit
9f15a6fc
authored
Nov 04, 2019
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zr
parent
1fc1d58e
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
289 additions
and
7 deletions
+289
-7
HbaseModule.java
src/main/com/atguigu/springmvc/handlers/HbaseModule.java
+12
-0
AutoTable.html
webapp/AutoTable.html
+19
-0
CardCommon.html
webapp/CardCommon.html
+20
-1
CollectCard.html
webapp/CollectCard.html
+19
-0
Hbase.html
webapp/Hbase.html
+20
-1
NewProp.html
webapp/NewProp.html
+20
-1
NewSign.html
webapp/NewSign.html
+20
-1
account.html
webapp/account.html
+21
-0
activity.html
webapp/activity.html
+19
-0
bury.html
webapp/bury.html
+19
-0
creatUrl.html
webapp/creatUrl.html
+20
-1
dashboard.html
webapp/dashboard.html
+22
-1
encoder.html
webapp/encoder.html
+19
-0
sign.html
webapp/sign.html
+19
-0
userInfo.html
webapp/userInfo.html
+20
-1
No files found.
src/main/com/atguigu/springmvc/handlers/HbaseModule.java
View file @
9f15a6fc
...
...
@@ -18,6 +18,7 @@ import java.util.Map;
public
class
HbaseModule
{
@Autowired
ViewService
viewService
;
/**
* 功能:Hbase查改操作
* @return
...
...
@@ -58,4 +59,15 @@ public class HbaseModule {
return
map
;
}
/**
* 功能:访问量统计
* @return
*/
@RequestMapping
(
value
=
"/ViewCount"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
public
void
ViewCount
()
throws
Exception
{
viewService
.
count
();
}
}
webapp/AutoTable.html
View file @
9f15a6fc
...
...
@@ -60,7 +60,26 @@
<script
type=
"text/javascript"
src=
"js/themer.js"
></script>
<script
type=
"text/javascript"
src=
"js/demo.dashboard.js"
></script>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<script>
var
xmlhttp
;
//实例化HTTP连接对象
...
...
webapp/CardCommon.html
View file @
9f15a6fc
...
...
@@ -100,7 +100,26 @@ $(document).ready(function(){
<title>
MWS Admin - Charts
</title>
</head>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<body>
<div
id=
"mws-themer"
>
...
...
webapp/CollectCard.html
View file @
9f15a6fc
...
...
@@ -145,7 +145,26 @@ $(document).ready(function(){
<title>
MWS Admin - Charts
</title>
</head>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<body>
<div
id=
"mws-themer"
>
...
...
webapp/Hbase.html
View file @
9f15a6fc
...
...
@@ -124,7 +124,26 @@ function check2(obj){
<title>
MWS Admin - Charts
</title>
</head>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<body>
<div
id=
"mws-themer"
>
...
...
webapp/NewProp.html
View file @
9f15a6fc
...
...
@@ -99,7 +99,26 @@ $(document).ready(function(){
<title>
MWS Admin - Charts
</title>
</head>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<body>
<div
id=
"mws-themer"
>
...
...
webapp/NewSign.html
View file @
9f15a6fc
...
...
@@ -182,7 +182,26 @@ $(document).ready(function(){
<title>
MWS Admin - Charts
</title>
</head>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<body>
<div
id=
"mws-themer"
>
...
...
webapp/account.html
View file @
9f15a6fc
...
...
@@ -62,6 +62,27 @@
<script
type=
"text/javascript"
src=
"js/themer.js"
></script>
<script
type=
"text/javascript"
src=
"js/demo.charts.js"
></script>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<script>
$
(
document
).
ready
(
function
(){
...
...
webapp/activity.html
View file @
9f15a6fc
...
...
@@ -65,7 +65,26 @@
<title>
MWS Admin - Charts
</title>
</head>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<body>
<div
id=
"mws-themer"
>
...
...
webapp/bury.html
View file @
9f15a6fc
...
...
@@ -64,7 +64,26 @@
<title>
MWS Admin - Dashboard
</title>
</head>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<body>
<!-- Themer -->
...
...
webapp/creatUrl.html
View file @
9f15a6fc
...
...
@@ -117,7 +117,26 @@ $(document).ready(function(){
<title>
MWS Admin - Charts
</title>
</head>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<body>
<div
id=
"mws-themer"
>
...
...
webapp/dashboard.html
View file @
9f15a6fc
...
...
@@ -64,8 +64,29 @@
<title>
MWS Admin - Dashboard
</title>
</head>
<script>
window
.
onload
=
function
count
()
{
<body>
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<body>
<!-- Themer -->
<div
id=
"mws-themer"
>
...
...
webapp/encoder.html
View file @
9f15a6fc
...
...
@@ -81,7 +81,26 @@
<title>
MWS Admin - Dashboard
</title>
</head>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<body>
<!-- Themer -->
...
...
webapp/sign.html
View file @
9f15a6fc
...
...
@@ -64,7 +64,26 @@
<title>
MWS Admin - Charts
</title>
</head>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<body>
<div
id=
"mws-themer"
>
...
...
webapp/userInfo.html
View file @
9f15a6fc
...
...
@@ -103,7 +103,26 @@ $(document).ready(function(){
<title>
MWS Admin - Charts
</title>
</head>
<script>
window
.
onload
=
function
count
()
{
$
.
ajax
({
async
:
false
,
cache
:
false
,
header
:
"Content-type: text/html; charset=utf8"
,
type
:
'GET'
,
url
:
'ViewCount'
,
data
:{},
dataType
:
"json"
,
error
:
function
()
{
alert
(
"统计出错!"
);
},
success
:
function
()
{
}
})
};
</script>
<body>
<div
id=
"mws-themer"
>
...
...
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