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
812e2ec7
Commit
812e2ec7
authored
Jul 11, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理转勤经纪人ID变更
parent
a151865c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
UserAgentService.php
application/index/service/UserAgentService.php
+22
-0
UserService.php
application/index/service/UserService.php
+0
-1
No files found.
application/index/service/UserAgentService.php
View file @
812e2ec7
...
...
@@ -148,4 +148,25 @@ class UserAgentService
}
/**
* 处理转勤经纪人ID变更
* @param $id_new
* @param $id_old
* @return bool
*/
public
function
changeAgentIdForChangeZone
(
$id_new
,
$id_old
)
{
if
(
!
$id_new
)
return
false
;
$where
[
'agent_id'
]
=
$id_old
;
$params
[
'agent_id'
]
=
$id_new
;
$res
=
$this
->
m_user_agent
->
updateUserAgent
(
$where
,
$params
);
if
(
$res
){
return
true
;
}
else
{
return
false
;
}
}
}
\ No newline at end of file
application/index/service/UserService.php
View file @
812e2ec7
...
...
@@ -646,7 +646,6 @@ class UserService
}
else
{
//新增
$s_user_site
->
addUserSite
(
$user_id
,
$v
);
}
}
$redis_service
=
new
RedisCacheService
();
...
...
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