Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
youka-api
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
java-youka-wallet
youka-api
Commits
b6cac77b
Commit
b6cac77b
authored
May 24, 2018
by
Java-聂换换
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享
parent
b4d8671d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
regist.js
src/main/webapp/static/share/js/regist.js
+5
-5
regist.html
src/main/webapp/static/share/regist.html
+4
-1
No files found.
src/main/webapp/static/share/js/regist.js
View file @
b6cac77b
...
@@ -5,11 +5,11 @@ var $phone = getQueryStringByName('phone');
...
@@ -5,11 +5,11 @@ var $phone = getQueryStringByName('phone');
//给推荐人手机号赋值
//给推荐人手机号赋值
$
(
"#urlPhone"
).
val
(
$phone
);
$
(
"#urlPhone"
).
val
(
$phone
);
var
urlPhoneVal
=
$
(
"#urlPhone"
).
val
();
var
urlPhoneVal
=
$
(
"#urlPhone"
).
val
();
var
key
=
hex_sha1
(
"YOUKA_#SECURITY!_KEY"
);
//var base64 = BASE64.encoder(urlPhoneVal);//返回编码后的字符
//
//3DES解密
//
console.info(base64);
var
des3jiemi
=
DES3
.
decrypt
(
key
,
urlPhoneVal
);
var
unicode
=
BASE64
.
decoder
(
urlPhoneVal
);
//返回解码后的字符串。
//console.info(
key
);
//console.info(
unicode
);
//console.info(des3jiemi);
/*公共变量*/
/*公共变量*/
var
date
=
Date
.
parse
(
new
Date
());
var
date
=
Date
.
parse
(
new
Date
());
//加密
//加密
...
...
src/main/webapp/static/share/regist.html
View file @
b6cac77b
...
@@ -6,9 +6,12 @@
...
@@ -6,9 +6,12 @@
<meta
name=
"viewport"
content=
"width=device-width"
>
<meta
name=
"viewport"
content=
"width=device-width"
>
<script
type=
"text/javascript"
src=
"js/jquery-1.9.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"js/jquery-1.9.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"js/getQueryStringByName.js"
></script>
<script
type=
"text/javascript"
src=
"js/getQueryStringByName.js"
></script>
<script
type=
"text/javascript"
src=
"js/DES.js"
></script>
<!--
<script type="text/javascript" src="js/sha1.js"></script>
<script type="text/javascript" src="js/sha1.js"></script>
<script type="text/javascript" src="js/DES.js"></script>
-->
<script
type=
"text/javascript"
src=
"js/md5.js"
></script>
<script
type=
"text/javascript"
src=
"js/md5.js"
></script>
<script
type=
"text/javascript"
src=
"js/base64.js"
></script>
<link
rel=
"stylesheet"
href=
"css/style.css"
>
<link
rel=
"stylesheet"
href=
"css/style.css"
>
<title>
注册
</title>
<title>
注册
</title>
</head>
</head>
...
...
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