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
580cc254
Commit
580cc254
authored
Jan 07, 2020
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZR
parent
9f15a6fc
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
251 additions
and
209 deletions
+251
-209
CoderModule.java
src/main/com/atguigu/springmvc/handlers/CoderModule.java
+27
-10
CollectModule.java
src/main/com/atguigu/springmvc/handlers/CollectModule.java
+4
-1
SignModule.java
src/main/com/atguigu/springmvc/handlers/SignModule.java
+17
-9
ViewService.java
src/main/com/atguigu/springmvc/service/ViewService.java
+7
-2
AutoTable.html
webapp/AutoTable.html
+1
-1
CardCommon.html
webapp/CardCommon.html
+4
-16
CollectCard.html
webapp/CollectCard.html
+3
-15
Hbase.html
webapp/Hbase.html
+4
-16
NewProp.html
webapp/NewProp.html
+4
-16
NewSign.html
webapp/NewSign.html
+4
-16
account.html
webapp/account.html
+4
-16
activity.html
webapp/activity.html
+1
-1
bury.html
webapp/bury.html
+1
-1
creatUrl.html
webapp/creatUrl.html
+4
-16
dashboard.html
webapp/dashboard.html
+7
-7
encoder.html
webapp/encoder.html
+74
-31
package.html
webapp/package.html
+1
-1
red.html
webapp/red.html
+1
-1
sign.html
webapp/sign.html
+77
-15
success.html
webapp/success.html
+1
-1
userInfo.html
webapp/userInfo.html
+4
-16
usermng.html
webapp/usermng.html
+1
-1
No files found.
src/main/com/atguigu/springmvc/handlers/CoderModule.java
View file @
580cc254
...
@@ -6,10 +6,13 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -6,10 +6,13 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.servlet.ModelAndView
;
import
org.springframework.web.servlet.ModelAndView
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
import
java.util.Base64
;
import
java.util.Base64
;
import
java.util.HashMap
;
import
java.util.Map
;
//@RequestMapping("/Sign")
//@RequestMapping("/Sign")
...
@@ -24,7 +27,8 @@ public class CoderModule {
...
@@ -24,7 +27,8 @@ public class CoderModule {
* @return
* @return
*/
*/
@RequestMapping
(
value
=
"/Base64Coder"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/Base64Coder"
,
method
=
RequestMethod
.
POST
)
public
ModelAndView
Base64Coder
(
HttpServletRequest
request
)
throws
Exception
{
@ResponseBody
public
Map
Base64Coder
(
HttpServletRequest
request
)
throws
Exception
{
viewService
.
count
();
viewService
.
count
();
String
original
=
request
.
getParameter
(
"original"
);
String
original
=
request
.
getParameter
(
"original"
);
...
@@ -37,6 +41,8 @@ public class CoderModule {
...
@@ -37,6 +41,8 @@ public class CoderModule {
final
byte
[]
textByte
=
original
.
getBytes
(
"UTF-8"
);
final
byte
[]
textByte
=
original
.
getBytes
(
"UTF-8"
);
Map
<
String
,
String
>
map
=
new
HashMap
<>();
if
(
action
.
equals
(
"Decoder"
)){
if
(
action
.
equals
(
"Decoder"
)){
//解码
//解码
String
decodedText
=
new
String
(
decoder
.
decode
(
textByte
));
String
decodedText
=
new
String
(
decoder
.
decode
(
textByte
));
...
@@ -51,18 +57,23 @@ public class CoderModule {
...
@@ -51,18 +57,23 @@ public class CoderModule {
System
.
out
.
println
(
"用户consumer_id的取余为:"
+
tag
);
System
.
out
.
println
(
"用户consumer_id的取余为:"
+
tag
);
String
result
=
"开发者id为:"
+
appId
+
"\nconsumer_id为:"
+
consumer_id
+
"\nconsumer_id取模结果为:"
+
tag
;
String
result
=
"开发者id为:"
+
appId
+
"\nconsumer_id为:"
+
consumer_id
+
"\nconsumer_id取模结果为:"
+
tag
;
request
.
setAttribute
(
"base64_result"
,
result
);
//request.setAttribute("base64_result",result);
map
.
put
(
"success"
,
"true"
);
map
.
put
(
"message"
,
result
);
}
else
{
}
else
{
request
.
setAttribute
(
"base64_result"
,
decodedText
);
//request.setAttribute("base64_result", decodedText);
map
.
put
(
"success"
,
"true"
);
map
.
put
(
"message"
,
decodedText
);
}
}
}
else
{
}
else
{
//编码
//编码
String
encodedText
=
encoder
.
encodeToString
(
textByte
);
String
encodedText
=
encoder
.
encodeToString
(
textByte
);
System
.
out
.
println
(
encodedText
);
System
.
out
.
println
(
encodedText
);
request
.
setAttribute
(
"base64_result"
,
encodedText
);
//request.setAttribute("base64_result",encodedText);
map
.
put
(
"success"
,
"true"
);
map
.
put
(
"message"
,
encodedText
);
}
}
return
map
;
return
new
ModelAndView
(
"encoder"
);
}
}
/**
/**
...
@@ -70,26 +81,32 @@ public class CoderModule {
...
@@ -70,26 +81,32 @@ public class CoderModule {
* @return
* @return
*/
*/
@RequestMapping
(
value
=
"/URLCoder"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/URLCoder"
,
method
=
RequestMethod
.
POST
)
public
ModelAndView
URLCoder
(
HttpServletRequest
request
)
throws
Exception
{
@ResponseBody
public
Map
URLCoder
(
HttpServletRequest
request
)
throws
Exception
{
viewService
.
count
();
viewService
.
count
();
String
original
=
request
.
getParameter
(
"original"
);
String
original
=
request
.
getParameter
(
"original"
);
String
action
=
request
.
getParameter
(
"coder"
);
String
action
=
request
.
getParameter
(
"coder"
);
System
.
out
.
println
(
"初始文本为:"
+
original
);
System
.
out
.
println
(
"初始文本为:"
+
original
);
System
.
out
.
println
(
"操作类型为:"
+
action
);
System
.
out
.
println
(
"操作类型为:"
+
action
);
Map
<
String
,
String
>
map
=
new
HashMap
<>();
if
(
action
.
equals
(
"Decoder"
)){
if
(
action
.
equals
(
"Decoder"
)){
//解码
//解码
String
decodedText
=
java
.
net
.
URLDecoder
.
decode
(
original
,
"utf-8"
);
String
decodedText
=
java
.
net
.
URLDecoder
.
decode
(
original
,
"utf-8"
);
System
.
out
.
println
(
decodedText
);
System
.
out
.
println
(
decodedText
);
request
.
setAttribute
(
"url_result"
,
decodedText
);
//request.setAttribute("url_result",decodedText);
map
.
put
(
"success"
,
"true"
);
map
.
put
(
"message"
,
decodedText
);
}
else
{
}
else
{
//编码
//编码
String
encodedText
=
java
.
net
.
URLEncoder
.
encode
(
original
,
"utf-8"
);
String
encodedText
=
java
.
net
.
URLEncoder
.
encode
(
original
,
"utf-8"
);
System
.
out
.
println
(
encodedText
);
System
.
out
.
println
(
encodedText
);
request
.
setAttribute
(
"url_result"
,
encodedText
);
//request.setAttribute("url_result",encodedText);
map
.
put
(
"success"
,
"true"
);
map
.
put
(
"message"
,
encodedText
);
}
}
return
new
ModelAndView
(
"encoder"
)
;
return
map
;
}
}
}
}
src/main/com/atguigu/springmvc/handlers/CollectModule.java
View file @
580cc254
...
@@ -6,6 +6,7 @@ import main.com.atguigu.springmvc.service.Authorization;
...
@@ -6,6 +6,7 @@ import main.com.atguigu.springmvc.service.Authorization;
import
main.com.atguigu.springmvc.service.NewActivityService
;
import
main.com.atguigu.springmvc.service.NewActivityService
;
import
io.restassured.response.Response
;
import
io.restassured.response.Response
;
import
main.com.atguigu.springmvc.service.SqlService
;
import
main.com.atguigu.springmvc.service.SqlService
;
import
main.com.atguigu.springmvc.service.ViewService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -29,6 +30,8 @@ public class CollectModule {
...
@@ -29,6 +30,8 @@ public class CollectModule {
Authorization
authorization
;
Authorization
authorization
;
@Autowired
@Autowired
SqlService
sqlService
;
SqlService
sqlService
;
@Autowired
ViewService
viewService
;
final
Base64
.
Decoder
decoder
=
Base64
.
getDecoder
();
final
Base64
.
Decoder
decoder
=
Base64
.
getDecoder
();
private
MysqlUtils
jdbc
;
private
MysqlUtils
jdbc
;
...
@@ -175,7 +178,7 @@ public class CollectModule {
...
@@ -175,7 +178,7 @@ public class CollectModule {
@RequestMapping
(
value
=
"/doSet"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/doSet"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
@ResponseBody
public
Map
doSet
(
HttpServletRequest
request
)
throws
Exception
{
public
Map
doSet
(
HttpServletRequest
request
)
throws
Exception
{
viewService
.
count
();
//String userId = request.getParameter("userId");
//String userId = request.getParameter("userId");
java
.
net
.
URLDecoder
urlDecoder
=
new
java
.
net
.
URLDecoder
();
java
.
net
.
URLDecoder
urlDecoder
=
new
java
.
net
.
URLDecoder
();
String
userId
=
urlDecoder
.
decode
(
request
.
getParameter
(
"userId"
),
"utf-8"
);
String
userId
=
urlDecoder
.
decode
(
request
.
getParameter
(
"userId"
),
"utf-8"
);
...
...
src/main/com/atguigu/springmvc/handlers/SignModule.java
View file @
580cc254
...
@@ -7,13 +7,12 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -7,13 +7,12 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.servlet.ModelAndView
;
import
org.springframework.web.servlet.ModelAndView
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
import
java.text.SimpleDateFormat
;
import
java.text.SimpleDateFormat
;
import
java.util.Calendar
;
import
java.util.*
;
import
java.util.Date
;
import
java.util.Locale
;
//@RequestMapping("/Sign")
//@RequestMapping("/Sign")
@Controller
@Controller
...
@@ -33,7 +32,8 @@ public class SignModule {
...
@@ -33,7 +32,8 @@ public class SignModule {
* @return
* @return
*/
*/
@RequestMapping
(
value
=
"/ClearSignData"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/ClearSignData"
,
method
=
RequestMethod
.
POST
)
public
ModelAndView
ClearSignData
(
HttpServletRequest
request
)
throws
Exception
{
@ResponseBody
public
Map
ClearSignData
(
HttpServletRequest
request
)
throws
Exception
{
viewService
.
count
();
viewService
.
count
();
String
consumer_id
=
request
.
getParameter
(
"consumer_id"
);
String
consumer_id
=
request
.
getParameter
(
"consumer_id"
);
...
@@ -57,7 +57,12 @@ public class SignModule {
...
@@ -57,7 +57,12 @@ public class SignModule {
sqlService
.
update
(
sql1
);
sqlService
.
update
(
sql1
);
sqlService
.
update
(
sql2
);
sqlService
.
update
(
sql2
);
return
new
ModelAndView
(
SUCCESS
);
Map
<
String
,
String
>
map
=
new
HashMap
<>();
map
.
put
(
"success"
,
"true"
);
map
.
put
(
"message"
,
"用户"
+
consumer_id
+
"的签到记录清除成功!"
);
return
map
;
}
}
/**
/**
...
@@ -65,7 +70,8 @@ public class SignModule {
...
@@ -65,7 +70,8 @@ public class SignModule {
* @return
* @return
*/
*/
@RequestMapping
(
value
=
"/SignCommon"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/SignCommon"
,
method
=
RequestMethod
.
POST
)
public
ModelAndView
SignCommon
(
HttpServletRequest
request
)
throws
Exception
{
@ResponseBody
public
Map
SignCommon
(
HttpServletRequest
request
)
throws
Exception
{
String
consumer_id
=
request
.
getParameter
(
"consumer_id"
);
String
consumer_id
=
request
.
getParameter
(
"consumer_id"
);
String
source_relation_id
=
request
.
getParameter
(
"source_relation_id"
);
String
source_relation_id
=
request
.
getParameter
(
"source_relation_id"
);
String
continue_day
=
request
.
getParameter
(
"continue_day"
);
String
continue_day
=
request
.
getParameter
(
"continue_day"
);
...
@@ -104,10 +110,12 @@ public class SignModule {
...
@@ -104,10 +110,12 @@ public class SignModule {
i
--;
i
--;
}
}
//释放数据库
Map
<
String
,
String
>
map
=
new
HashMap
<>();
//jdbc.releaseConn();
map
.
put
(
"success"
,
"true"
);
map
.
put
(
"message"
,
"签到模拟成功!"
);
return
new
ModelAndView
(
SUCCESS
)
;
return
map
;
}
}
public
String
getTime
(
int
amount
){
public
String
getTime
(
int
amount
){
...
...
src/main/com/atguigu/springmvc/service/ViewService.java
View file @
580cc254
...
@@ -7,14 +7,19 @@ import main.com.atguigu.springmvc.common.VisitorCounter;
...
@@ -7,14 +7,19 @@ import main.com.atguigu.springmvc.common.VisitorCounter;
@Service
@Service
public
class
ViewService
{
public
class
ViewService
{
private
String
path
=
"/mnt/test/tomcat-TestTool/data/visitCount.txt"
;
//private String path = "D:/visitCount.txt";
public
void
count
()
{
public
void
count
()
{
//訪問量
//訪問量
String
count
=
VisitorCounter
.
readCount
(
"D:/visitCount.txt"
);
String
count
=
VisitorCounter
.
readCount
(
path
);
int
count1
=
Integer
.
parseInt
(
count
);
int
count1
=
Integer
.
parseInt
(
count
);
count1
=
count1
+
1
;
count1
=
count1
+
1
;
System
.
out
.
println
(
"当前用户访问量为:"
+
count1
);
count
=
String
.
valueOf
(
count1
).
toString
();
count
=
String
.
valueOf
(
count1
).
toString
();
VisitorCounter
.
writeCount
(
"D:/visitCount.txt"
,
count
);
VisitorCounter
.
writeCount
(
path
,
count
);
}
}
}
}
webapp/AutoTable.html
View file @
580cc254
...
@@ -372,7 +372,7 @@
...
@@ -372,7 +372,7 @@
<!-- Main Navigation -->
<!-- Main Navigation -->
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/CardCommon.html
View file @
580cc254
...
@@ -103,21 +103,9 @@ $(document).ready(function(){
...
@@ -103,21 +103,9 @@ $(document).ready(function(){
<script>
<script>
window
.
onload
=
function
count
()
{
window
.
onload
=
function
count
()
{
$
.
ajax
({
$
.
get
(
"ViewCount"
,
{},
function
(){
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>
<body>
<body>
...
@@ -197,7 +185,7 @@ $(document).ready(function(){
...
@@ -197,7 +185,7 @@ $(document).ready(function(){
</div>
</div>
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/CollectCard.html
View file @
580cc254
...
@@ -148,21 +148,9 @@ $(document).ready(function(){
...
@@ -148,21 +148,9 @@ $(document).ready(function(){
<script>
<script>
window
.
onload
=
function
count
()
{
window
.
onload
=
function
count
()
{
$
.
ajax
({
$
.
get
(
"ViewCount"
,
{},
function
(){
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>
<body>
<body>
...
@@ -242,7 +230,7 @@ $(document).ready(function(){
...
@@ -242,7 +230,7 @@ $(document).ready(function(){
</div>
</div>
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/Hbase.html
View file @
580cc254
...
@@ -127,21 +127,9 @@ function check2(obj){
...
@@ -127,21 +127,9 @@ function check2(obj){
<script>
<script>
window
.
onload
=
function
count
()
{
window
.
onload
=
function
count
()
{
$
.
ajax
({
$
.
get
(
"ViewCount"
,
{},
function
(){
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>
<body>
<body>
...
@@ -221,7 +209,7 @@ function check2(obj){
...
@@ -221,7 +209,7 @@ function check2(obj){
</div>
</div>
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/NewProp.html
View file @
580cc254
...
@@ -102,21 +102,9 @@ $(document).ready(function(){
...
@@ -102,21 +102,9 @@ $(document).ready(function(){
<script>
<script>
window
.
onload
=
function
count
()
{
window
.
onload
=
function
count
()
{
$
.
ajax
({
$
.
get
(
"ViewCount"
,
{},
function
(){
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>
<body>
<body>
...
@@ -196,7 +184,7 @@ $(document).ready(function(){
...
@@ -196,7 +184,7 @@ $(document).ready(function(){
</div>
</div>
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/NewSign.html
View file @
580cc254
...
@@ -185,21 +185,9 @@ $(document).ready(function(){
...
@@ -185,21 +185,9 @@ $(document).ready(function(){
<script>
<script>
window
.
onload
=
function
count
()
{
window
.
onload
=
function
count
()
{
$
.
ajax
({
$
.
get
(
"ViewCount"
,
{},
function
(){
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>
<body>
<body>
...
@@ -279,7 +267,7 @@ $(document).ready(function(){
...
@@ -279,7 +267,7 @@ $(document).ready(function(){
</div>
</div>
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/account.html
View file @
580cc254
...
@@ -66,21 +66,9 @@
...
@@ -66,21 +66,9 @@
<script>
<script>
window
.
onload
=
function
count
()
{
window
.
onload
=
function
count
()
{
$
.
ajax
({
$
.
get
(
"ViewCount"
,
{},
function
(){
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>
<script>
<script>
...
@@ -216,7 +204,7 @@ $(document).ready(function(){
...
@@ -216,7 +204,7 @@ $(document).ready(function(){
</div>
</div>
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/activity.html
View file @
580cc254
...
@@ -271,7 +271,7 @@
...
@@ -271,7 +271,7 @@
</div>
</div>
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/bury.html
View file @
580cc254
...
@@ -301,7 +301,7 @@
...
@@ -301,7 +301,7 @@
<!-- Main Navigation -->
<!-- Main Navigation -->
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/creatUrl.html
View file @
580cc254
...
@@ -120,21 +120,9 @@ $(document).ready(function(){
...
@@ -120,21 +120,9 @@ $(document).ready(function(){
<script>
<script>
window
.
onload
=
function
count
()
{
window
.
onload
=
function
count
()
{
$
.
ajax
({
$
.
get
(
"ViewCount"
,
{},
function
(){
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>
<body>
<body>
...
@@ -214,7 +202,7 @@ $(document).ready(function(){
...
@@ -214,7 +202,7 @@ $(document).ready(function(){
</div>
</div>
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/dashboard.html
View file @
580cc254
...
@@ -303,7 +303,7 @@
...
@@ -303,7 +303,7 @@
<!-- Main Navigation -->
<!-- Main Navigation -->
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li
class=
"active"
><a
href=
"#"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li
class=
"active"
><a
href=
"#"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
@@ -362,13 +362,13 @@
...
@@ -362,13 +362,13 @@
<!-- Main Container -->
<!-- Main Container -->
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"mws-panel grid_4 mws-collapsible
"
>
<div
class=
"mws-panel grid_2
"
>
<div
class=
"mws-panel-header"
>
<div
class=
"mws-panel-header"
>
<span>
每日谏言
</span>
<span>
并发测试
</span>
</div>
</div>
<div
class=
"mws-panel-body"
>
<div
class=
"mws-panel-body"
>
<div
class=
"mws-panel-content"
>
<div
class=
"mws-panel-content"
>
<p>
人生没有彩排,每个人有每个人的精彩。不是所有的人都会完美。你可以不够漂亮但一定要有修养。你可以不够温柔但一定要善良。你可以不够聪明但要懂得学习。你可以没有理想但一定要学会奋斗。
</p
>
<a
href=
"http://172.16.80.158:8889/"
target=
'_BLANK'
>
点击进入
</a
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -381,7 +381,7 @@
...
@@ -381,7 +381,7 @@
</div>
</div>
<div
class=
"mws-panel-body"
>
<div
class=
"mws-panel-body"
>
<div
class=
"mws-panel-content"
>
<div
class=
"mws-panel-content"
>
<a
href=
"https://www.json.cn/"
>
点击进入
</a>
<a
href=
"https://www.json.cn/"
target=
'_BLANK'
>
点击进入
</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -394,7 +394,7 @@
...
@@ -394,7 +394,7 @@
</div>
</div>
<div
class=
"mws-panel-body"
>
<div
class=
"mws-panel-body"
>
<div
class=
"mws-panel-content"
>
<div
class=
"mws-panel-content"
>
<a
href=
"https://tool.lu/timestamp/"
>
点击进入
</a>
<a
href=
"https://tool.lu/timestamp/"
target=
'_BLANK'
>
点击进入
</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -411,7 +411,7 @@
...
@@ -411,7 +411,7 @@
<li>
Base64 加码
&
解码
</li>
<li>
Base64 加码
&
解码
</li>
<li>
URL 加码
&
解码
</li>
<li>
URL 加码
&
解码
</li>
</ul>
</ul>
<a
href=
"https://tool.lu/encdec/"
>
立即使用
</a>
<a
href=
"https://tool.lu/encdec/"
target=
'_BLANK'
>
立即使用
</a>
</div>
</div>
</div>
</div>
...
...
webapp/encoder.html
View file @
580cc254
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<!-- JavaScript Plugins -->
<!-- JavaScript Plugins -->
<script
type=
"text/javascript"
src=
"js/jquery-
1.7
.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"js/jquery-
3.2
.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"plugins/jimgareaselect/jquery.imgareaselect.min.js"
></script>
<script
type=
"text/javascript"
src=
"plugins/jimgareaselect/jquery.imgareaselect.min.js"
></script>
<script
type=
"text/javascript"
src=
"plugins/jquery.dualListBox-1.3.min.js"
></script>
<script
type=
"text/javascript"
src=
"plugins/jquery.dualListBox-1.3.min.js"
></script>
...
@@ -101,6 +101,49 @@
...
@@ -101,6 +101,49 @@
})
})
};
};
</script>
</script>
<script>
$
(
document
).
ready
(
function
(){
$
(
"#Base64Coder"
).
click
(
function
(
e
){
var
original
=
$
(
"#original"
).
val
();
var
coder
=
$
(
"#coder"
).
val
();
var
login
=
$
(
"#login"
).
val
();
if
(
original
==
null
||
original
==
""
){
alert
(
"初始文本不可为空!"
);
return
false
;
}
$
(
"#result"
).
val
(
"获取执行结果,请等待~"
);
e
.
preventDefault
();
$
.
post
(
"Base64Coder"
,
{
"original"
:
original
,
"coder"
:
coder
,
"login"
:
login
},
function
(
data
,
status
){
$
(
"#result"
).
val
(
data
.
message
);
});
});
$
(
"#URLCoder"
).
click
(
function
(
e
){
var
original2
=
$
(
"#original2"
).
val
();
var
coder2
=
$
(
"#coder2"
).
val
();
if
(
original2
==
null
||
original2
==
""
){
alert
(
"初始文本不可为空!"
);
return
false
;
}
$
(
"#result2"
).
val
(
"获取执行结果,请等待~"
);
e
.
preventDefault
();
$
.
post
(
"URLCoder"
,
{
"original"
:
original2
,
"coder"
:
coder2
},
function
(
data
,
status
){
$
(
"#result2"
).
val
(
data
.
message
);
});
});
});
</script>
<body>
<body>
<!-- Themer -->
<!-- Themer -->
...
@@ -318,7 +361,7 @@
...
@@ -318,7 +361,7 @@
<!-- Main Navigation -->
<!-- Main Navigation -->
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li
class=
"active"
><a
href=
"#"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li
class=
"active"
><a
href=
"#"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
@@ -383,26 +426,26 @@
...
@@ -383,26 +426,26 @@
<span
class=
"mws-i-24 i-sign-post"
>
Base64 编码
&
解码
</span>
<span
class=
"mws-i-24 i-sign-post"
>
Base64 编码
&
解码
</span>
</div>
</div>
<div
class=
"mws-panel-body"
>
<div
class=
"mws-panel-body"
>
<form
class=
"mws-form"
name=
"base64Form"
action=
"Base64Coder"
onsubmit=
"return validateForm()"
method=
"post"
>
<form
class=
"mws-form"
name=
"base64Form"
action=
"Base64Coder"
>
<div
class=
"mws-form-inline"
>
<div
class=
"mws-form-inline"
>
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
原始文本
</label>
<label>
原始文本
</label>
<div
class=
"mws-form-item large"
>
<div
class=
"mws-form-item large"
>
<input
type=
"text"
class=
"mws-textinput"
name=
"original"
/>
<input
type=
"text"
class=
"mws-textinput"
name=
"original"
id=
"original"
/>
</div>
</div>
</div>
</div>
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
转码操作
</label>
<label>
转码操作
</label>
<div
class=
"mws-form-item clearfix
"
>
<div
class=
"mws-form-item small
"
>
<ul
class=
"mws-form-list inline
"
>
<select
name=
"coder"
id=
"coder
"
>
<li><input
type=
"radio"
name=
"coder"
value=
"Decoder"
checked=
"checked"
/>
<label>
解码(Decoder)
</label></li
>
<option
value=
"Decoder"
>
解码(Decoder)
</option
>
<li><input
type=
"radio"
name=
"coder"
value=
"Encoder"
/>
<label>
编码(Encoder)
</label></li
>
<option
value=
"Encoder"
>
编码(Encoder)
</option
>
</ul
>
</select
>
</div>
</div>
</div>
</div>
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
登录Cookie
</label>
<label>
登录Cookie
</label>
<select
name=
"login"
>
<select
name=
"login"
id=
"login"
>
<option
value=
"1"
>
是
</option>
<option
value=
"1"
>
是
</option>
<option
value=
"0"
>
否
</option>
<option
value=
"0"
>
否
</option>
<!--<option>Option 5</option> –>-->
<!--<option>Option 5</option> –>-->
...
@@ -411,12 +454,12 @@
...
@@ -411,12 +454,12 @@
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
处理结果
</label>
<label>
处理结果
</label>
<div
class=
"mws-form-item large"
>
<div
class=
"mws-form-item large"
>
<textarea
rows=
"100%"
cols=
"100%"
readonly=
"readonly"
id=
"result_base64"
>
${base64_result}
</textarea>
<textarea
class=
"warning"
rows=
"100%"
cols=
"100%"
readonly=
"readonly"
id=
"result"
style=
"background-color:#ccc"
></textarea>
</div>
</div>
</div>
</div>
</div>
<div
class=
"mws-button-row"
>
<div
class=
"mws-button-row"
>
<input
type=
"submit"
value=
"开始转码"
class=
"mws-button blue"
/>
<input
type=
"submit"
value=
"开始转码"
class=
"mws-button blue"
id=
"Base64Coder"
/>
</div>
</div>
</div>
</form>
</form>
</div>
</div>
...
@@ -429,32 +472,32 @@
...
@@ -429,32 +472,32 @@
<span
class=
"mws-i-24 i-sign-post"
>
URL 编码
&
解码
</span>
<span
class=
"mws-i-24 i-sign-post"
>
URL 编码
&
解码
</span>
</div>
</div>
<div
class=
"mws-panel-body"
>
<div
class=
"mws-panel-body"
>
<form
class=
"mws-form"
name=
"UrlForm"
action=
"URLCoder"
onsubmit=
"return validateForm2()"
method=
"post"
>
<form
class=
"mws-form"
name=
"UrlForm"
action=
"URLCoder"
>
<div
class=
"mws-form-inline"
>
<div
class=
"mws-form-inline"
>
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
原始文本
</label>
<label>
原始文本
</label>
<div
class=
"mws-form-item large"
>
<div
class=
"mws-form-item large"
>
<input
type=
"text"
class=
"mws-textinput"
name=
"original"
/>
<input
type=
"text"
class=
"mws-textinput"
name=
"original"
id=
"original2"
/>
</div>
</div>
</div>
</div>
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
转码操作
</label>
<label>
转码操作
</label>
<div
class=
"mws-form-item clearfix
"
>
<div
class=
"mws-form-item small
"
>
<ul
class=
"mws-form-list inline
"
>
<select
name=
"coder2"
id=
"coder2
"
>
<li><input
type=
"radio"
name=
"coder"
value=
"Decoder"
checked=
"checked"
/>
<label>
解码(Decoder)
</label></li
>
<option
value=
"Decoder"
>
解码(Decoder)
</option
>
<li><input
type=
"radio"
name=
"coder"
value=
"Encoder"
/>
<label>
编码(Encoder)
</label></li
>
<option
value=
"Encoder"
>
编码(Encoder)
</option
>
</ul
>
</select
>
</div>
</div>
</div>
</div>
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
处理结果
</label>
<label>
处理结果
</label>
<div
class=
"mws-form-item large"
>
<div
class=
"mws-form-item large"
>
<textarea
rows=
"100%"
cols=
"100%"
readonly=
"readonly"
id=
"result_url"
>
${url_result}
</textarea>
<textarea
class=
"warning"
rows=
"100%"
cols=
"100%"
readonly=
"readonly"
id=
"result2"
style=
"background-color:#ccc"
></textarea>
</div>
</div>
</div>
</div>
</div>
<div
class=
"mws-button-row"
>
<div
class=
"mws-button-row"
>
<input
type=
"submit"
value=
"开始转码"
class=
"mws-button blue"
/>
<input
type=
"submit"
value=
"开始转码"
class=
"mws-button blue"
id=
"URLCoder"
/>
</div>
</div>
</div>
</form>
</form>
</div>
</div>
...
...
webapp/package.html
View file @
580cc254
...
@@ -282,7 +282,7 @@
...
@@ -282,7 +282,7 @@
<!-- Main Navigation -->
<!-- Main Navigation -->
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/red.html
View file @
580cc254
...
@@ -215,7 +215,7 @@ $(document).ready(function(){
...
@@ -215,7 +215,7 @@ $(document).ready(function(){
</div>
</div>
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/sign.html
View file @
580cc254
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<!-- JavaScript Plugins -->
<!-- JavaScript Plugins -->
<script
type=
"text/javascript"
src=
"js/jquery-
1.7
.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"js/jquery-
3.2
.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"plugins/jimgareaselect/jquery.imgareaselect.min.js"
></script>
<script
type=
"text/javascript"
src=
"plugins/jimgareaselect/jquery.imgareaselect.min.js"
></script>
<script
type=
"text/javascript"
src=
"plugins/jquery.dualListBox-1.3.min.js"
></script>
<script
type=
"text/javascript"
src=
"plugins/jquery.dualListBox-1.3.min.js"
></script>
...
@@ -84,6 +84,56 @@
...
@@ -84,6 +84,56 @@
})
})
};
};
</script>
</script>
<script>
$
(
document
).
ready
(
function
(){
$
(
"#clearSignDate"
).
click
(
function
(
e
){
var
consumer_id
=
$
(
"#consumer_id"
).
val
();
var
source_relation_id
=
$
(
"#source_relation_id"
).
val
();
if
(
consumer_id
==
null
||
consumer_id
==
""
){
alert
(
"用户consumerid不可为空!"
);
return
false
;
}
if
(
source_relation_id
==
null
||
source_relation_id
==
""
){
alert
(
"签到id不可为空!"
);
return
false
;
}
$
(
"#result"
).
val
(
"获取执行结果,请等待~"
);
e
.
preventDefault
();
$
.
post
(
"ClearSignData"
,
{
"consumer_id"
:
escape
(
encodeURIComponent
(
consumer_id
)),
"source_relation_id"
:
source_relation_id
},
function
(
data
,
status
){
$
(
"#result"
).
val
(
data
.
message
);
});
});
$
(
"#doSign"
).
click
(
function
(
e
){
var
consumer_id2
=
$
(
"#consumer_id2"
).
val
();
var
source_relation_id2
=
$
(
"#source_relation_id2"
).
val
();
var
sign_type
=
$
(
"#signType"
).
val
();
var
continue_day
=
$
(
"#continue_day"
).
val
();
var
app_id
=
$
(
"#app_id"
).
val
();
if
(
consumer_id2
==
null
||
consumer_id2
==
""
){
alert
(
"用户consumerid不可为空!"
);
return
false
;
}
if
(
source_relation_id
==
null
||
source_relation_id
==
""
){
alert
(
"签到id不可为空!"
);
return
false
;
}
$
(
"#result2"
).
val
(
"获取执行结果,请等待~"
);
e
.
preventDefault
();
$
.
post
(
"SignCommon"
,
{
"consumer_id"
:
escape
(
encodeURIComponent
(
consumer_id2
)),
"source_relation_id"
:
source_relation_id2
,
"sign_type"
:
sign_type
,
"continue_day"
:
continue_day
,
"app_id"
:
app_id
},
function
(
data
,
status
){
$
(
"#result2"
).
val
(
data
.
message
);
});
});
});
</script>
<body>
<body>
<div
id=
"mws-themer"
>
<div
id=
"mws-themer"
>
...
@@ -270,7 +320,7 @@
...
@@ -270,7 +320,7 @@
</div>
</div>
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
@@ -346,18 +396,24 @@
...
@@ -346,18 +396,24 @@
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
Consumer_id
</label>
<label>
Consumer_id
</label>
<div
class=
"mws-form-item small"
>
<div
class=
"mws-form-item small"
>
<input
type=
"text"
class=
"mws-textinput"
name=
"consumer_id"
/>
<input
type=
"text"
class=
"mws-textinput"
name=
"consumer_id"
id=
"consumer_id"
/>
</div>
</div>
</div>
</div>
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
签到活动id
</label>
<label>
签到活动id
</label>
<div
class=
"mws-form-item small"
>
<div
class=
"mws-form-item small"
>
<input
type=
"text"
class=
"mws-textinput"
name=
"source_relation_id"
/>
<input
type=
"text"
class=
"mws-textinput"
name=
"source_relation_id"
id=
"source_relation_id"
/>
</div>
</div>
</div>
<div
class=
"mws-form-row"
>
<label>
处理结果
</label>
<div
class=
"mws-form-item large"
>
<textarea
class=
"warning"
rows=
"100%"
cols=
"100%"
readonly=
"readonly"
id=
"result"
style=
"background-color:#ccc"
></textarea>
</div>
</div>
</div>
</div>
<div
class=
"mws-button-row"
>
<div
class=
"mws-button-row"
>
<input
type=
"submit"
value=
"立即清除"
class=
"mws-button green"
/>
<input
type=
"submit"
value=
"立即清除"
class=
"mws-button green"
id=
"clearSignDate"
/>
</div>
</div>
</div>
</form>
</form>
</div>
</div>
...
@@ -373,25 +429,25 @@
...
@@ -373,25 +429,25 @@
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
Consumer_id
</label>
<label>
Consumer_id
</label>
<div
class=
"mws-form-item small"
>
<div
class=
"mws-form-item small"
>
<input
type=
"text"
class=
"mws-textinput"
name=
"consumer_id"
/>
<input
type=
"text"
class=
"mws-textinput"
name=
"consumer_id"
id=
"consumer_id2"
/>
</div>
</div>
</div>
</div>
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
签到活动id
</label>
<label>
签到活动id
</label>
<div
class=
"mws-form-item small"
>
<div
class=
"mws-form-item small"
>
<input
type=
"text"
class=
"mws-textinput"
name=
"source_relation_id"
/>
<input
type=
"text"
class=
"mws-textinput"
name=
"source_relation_id"
id=
"source_relation_id2"
/>
</div>
</div>
</div>
</div>
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
已连续签到天数
</label>
<label>
已连续签到天数
</label>
<div
class=
"mws-form-item small"
>
<div
class=
"mws-form-item small"
>
<input
type=
"text"
class=
"mws-textinput"
name=
"continue_day"
/>
<input
type=
"text"
class=
"mws-textinput"
name=
"continue_day"
id=
"continue_day"
/>
</div>
</div>
</div>
</div>
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
签到类型
</label>
<label>
签到类型
</label>
<div
class=
"mws-form-item small"
>
<div
class=
"mws-form-item small"
>
<select
name=
"sign_type"
>
<select
name=
"sign_type"
id=
"signType"
>
<option
value=
"0"
>
连续签到
</option>
<option
value=
"0"
>
连续签到
</option>
<option
value=
"1"
>
周期签到
</option>
<option
value=
"1"
>
周期签到
</option>
<option
value=
"2"
>
自定义签到
</option>
<option
value=
"2"
>
自定义签到
</option>
...
@@ -402,12 +458,18 @@
...
@@ -402,12 +458,18 @@
<div
class=
"mws-form-row"
>
<div
class=
"mws-form-row"
>
<label>
开发者上架id
</label>
<label>
开发者上架id
</label>
<div
class=
"mws-form-item small"
>
<div
class=
"mws-form-item small"
>
<input
type=
"text"
class=
"mws-textinput"
name=
"app_id"
placeholder=
"默认为1"
/>
<input
type=
"text"
class=
"mws-textinput"
name=
"app_id"
placeholder=
"默认为1"
id=
"app_id"
/>
</div>
</div>
</div>
<div
class=
"mws-form-row"
>
<label>
处理结果
</label>
<div
class=
"mws-form-item large"
>
<textarea
class=
"warning"
rows=
"100%"
cols=
"100%"
readonly=
"readonly"
id=
"result2"
style=
"background-color:#ccc"
></textarea>
</div>
</div>
</div>
</div>
<div
class=
"mws-button-row"
>
<div
class=
"mws-button-row"
>
<input
type=
"submit"
value=
"立即设置"
class=
"mws-button blue"
/>
<input
type=
"submit"
value=
"立即设置"
class=
"mws-button blue"
id=
"doSign"
/>
</div>
</div>
</div>
</form>
</form>
</div>
</div>
...
...
webapp/success.html
View file @
580cc254
...
@@ -249,7 +249,7 @@
...
@@ -249,7 +249,7 @@
</div>
</div>
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/userInfo.html
View file @
580cc254
...
@@ -106,21 +106,9 @@ $(document).ready(function(){
...
@@ -106,21 +106,9 @@ $(document).ready(function(){
<script>
<script>
window
.
onload
=
function
count
()
{
window
.
onload
=
function
count
()
{
$
.
ajax
({
$
.
get
(
"ViewCount"
,
{},
function
(){
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>
<body>
<body>
...
@@ -200,7 +188,7 @@ $(document).ready(function(){
...
@@ -200,7 +188,7 @@ $(document).ready(function(){
</div>
</div>
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
webapp/usermng.html
View file @
580cc254
...
@@ -407,7 +407,7 @@
...
@@ -407,7 +407,7 @@
<!-- Main Navigation -->
<!-- Main Navigation -->
<div
id=
"mws-navigation"
>
<div
id=
"mws-navigation"
>
<ul>
<ul>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
主页
</a></li>
<li><a
href=
"dashboard.html"
class=
"mws-i-24 i-home"
>
工具集合
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:9999"
class=
"mws-i-24 i-chart"
target=
'_BLANK'
>
代理工具
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"http://172.16.80.141:8090/zmock/index"
class=
"mws-i-24 i-shuffle"
target=
'_BLANK'
>
Mock平台
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
<li><a
href=
"encoder.html"
class=
"mws-i-24 i-cog"
>
转码工具
</a></li>
...
...
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