Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
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
esf
fenzhan_zsb
Commits
fad4d7bc
Commit
fad4d7bc
authored
Mar 25, 2020
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
马鞍山站
parent
d86a9e65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
login.php
new_admincp/applications/zsb/controllers/login.php
+4
-3
No files found.
new_admincp/applications/zsb/controllers/login.php
View file @
fad4d7bc
...
...
@@ -222,9 +222,6 @@ class Login extends MY_Controller {
//清空之前的登陆数据
$this
->
broker_model
->
logout
();
$username
=
urldecode
(
$username
);
if
(
$_COOKIE
[
'zkg1'
]){
var_dump
(
$_SERVER
[
'HTTP_REFERER'
]);
die
;
}
if
(
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'cp.house365.com'
)
||
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'we.house365.com'
)
||
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'esfadmin.house365.com'
))
{
//判断账号密码正确性
...
...
@@ -297,12 +294,16 @@ class Login extends MY_Controller {
//清空之前的登陆数据
$this
->
broker_model
->
logout
();
if
(
''
!=
$interface_id
)
{
//echo $interface_id."<br/>";die;
//加载memcached
$this
->
load
->
library
(
'My_memcached'
,
''
,
'mc'
);
$cache
=
$this
->
mc
->
get
(
$interface_id
);
if
(
$_COOKIE
[
'zkg1'
]){
var_dump
(
$cache
);
die
;
}
if
(
1
==
$cache
[
'is_ok'
])
{
$this
->
broker_model
->
yunxinLogin
(
$cache
[
'data'
][
'username'
]);
...
...
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