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
ef3bd23c
Commit
ef3bd23c
authored
Apr 15, 2021
by
liuqiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改密码不走缓存
parent
9926fa2b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
broker_base_model.php
new_admincp/applications/models/broker_base_model.php
+4
-4
ucenter_information.php
...incp/applications/zsb/controllers/ucenter_information.php
+1
-1
No files found.
new_admincp/applications/models/broker_base_model.php
View file @
ef3bd23c
...
...
@@ -104,7 +104,7 @@ class Broker_base_model extends MY_Model {
* @param void
* @return array 经纪人基础信息
*/
public
function
get_broker_info
()
public
function
get_broker_info
(
$cacheFlag
)
{
if
(
$this
->
check_uid
())
{
...
...
@@ -113,7 +113,7 @@ class Broker_base_model extends MY_Model {
$cache
=
$this
->
mc
->
delete
(
$mem_key
);
$cache
=
$this
->
mc
->
get
(
$mem_key
);
if
(
isset
(
$cache
[
'is_ok'
])
&&
$cache
[
'is_ok'
]
==
1
)
if
(
isset
(
$cache
[
'is_ok'
])
&&
$cache
[
'is_ok'
]
==
1
&&
$cacheFlag
)
{
$arr_data
=
$cache
[
'data'
];
}
...
...
@@ -155,10 +155,10 @@ class Broker_base_model extends MY_Model {
* @param void
* @return array
*/
public
function
get_broker_detail
()
public
function
get_broker_detail
(
$cacheFlag
=
true
)
{
$arr_data
=
array
();
$arr_data
=
$this
->
get_broker_info
();
$arr_data
=
$this
->
get_broker_info
(
$cacheFlag
);
return
$arr_data
;
}
...
...
new_admincp/applications/zsb/controllers/ucenter_information.php
View file @
ef3bd23c
...
...
@@ -513,7 +513,7 @@ class ucenter_information extends MY_Controller{
$oldpassword
=
$this
->
encrypt_pwd
(
$oldpwd
);
$newpassword
=
$this
->
encrypt_pwd
(
$newpwd
);
$this
->
broker_model
->
set_uid
(
$session_info
[
'uid'
]);
$broker_info
=
$this
->
broker_model
->
get_broker_detail
();
$broker_info
=
$this
->
broker_model
->
get_broker_detail
(
false
);
$oldpwd
=
$broker_info
[
'password'
];
if
(
$oldpassword
==
$oldpwd
){
...
...
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