Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
hujun
tl_estate
Commits
b87d7458
Commit
b87d7458
authored
Dec 17, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录修改
parent
4f456f17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
login.html
application/index/view/login/login.html
+2
-2
login.js
public/resource/js/login.js
+2
-1
No files found.
application/index/view/login/login.html
View file @
b87d7458
...
@@ -39,8 +39,8 @@
...
@@ -39,8 +39,8 @@
<input
type=
"hidden"
id=
"mac_address"
value=
'{$mac_address}'
/>
<input
type=
"hidden"
id=
"mac_address"
value=
'{$mac_address}'
/>
</footer>
</footer>
<script>
<script>
var
mac_address
=
'{$mac_address}'
;
//
var mac_address = '{$mac_address}';
alert
(
mac_address
);
//
alert(mac_address);
</script>
</script>
<script
src=
"/resource/lib/js/jquery-2.0.3.min.js"
></script>
<script
src=
"/resource/lib/js/jquery-2.0.3.min.js"
></script>
<script
src=
"https://wx.gtimg.com/wxpay_h5/fingerprint2.min.1.5.1.js"
></script>
<script
src=
"https://wx.gtimg.com/wxpay_h5/fingerprint2.min.1.5.1.js"
></script>
...
...
public/resource/js/login.js
View file @
b87d7458
...
@@ -116,6 +116,7 @@ $(function() {
...
@@ -116,6 +116,7 @@ $(function() {
// var browser_version = NV.shell + '/' + NV.version;获取浏览器的类型 及 浏览器版本
// var browser_version = NV.shell + '/' + NV.version;获取浏览器的类型 及 浏览器版本
var
browser_version
=
NV
.
shell
;
//获取浏览器的类型
var
browser_version
=
NV
.
shell
;
//获取浏览器的类型
console
.
log
(
browser_version
);
console
.
log
(
browser_version
);
$
.
ajax
({
$
.
ajax
({
type
:
'POST'
,
type
:
'POST'
,
url
:
'/admin.php/index/loginVerify'
,
url
:
'/admin.php/index/loginVerify'
,
...
@@ -123,7 +124,7 @@ $(function() {
...
@@ -123,7 +124,7 @@ $(function() {
'username'
:
_userName
,
'username'
:
_userName
,
'password'
:
_passWord
,
'password'
:
_passWord
,
'model'
:
browser_version
,
'model'
:
browser_version
,
'only_id'
:
only_id
'only_id'
:
$
(
'#mac_address'
).
val
?
$
(
'#mac_address'
).
val
:
only_id
},
},
timeout
:
30000
,
timeout
:
30000
,
dataType
:
'json'
,
dataType
:
'json'
,
...
...
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