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
3af43eb4
Commit
3af43eb4
authored
Sep 14, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户记录修改
parent
9599ba63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
UserService.php
application/index/service/UserService.php
+8
-2
No files found.
application/index/service/UserService.php
View file @
3af43eb4
...
@@ -48,6 +48,7 @@ class UserService
...
@@ -48,6 +48,7 @@ class UserService
$this
->
operation_id
=
$operation_id
;
$this
->
operation_id
=
$operation_id
;
$result
=
[];
$result
=
[];
$agent_id_old
=
$referrer_id_old
=
$referrer_source_old
=
0
;
$agent_id_old
=
$referrer_id_old
=
$referrer_source_old
=
0
;
$type
=
$user_name
=
''
;
try
{
try
{
if
(
empty
(
$id
))
{
if
(
empty
(
$id
))
{
//新增用户
//新增用户
...
@@ -94,9 +95,14 @@ class UserService
...
@@ -94,9 +95,14 @@ class UserService
}
}
//记录修改客方
//记录修改客方
$this
->
recordGuest
((
int
)
$data
[
'agents_id'
],
(
int
)
$agent_id_old
,
$id
,
$user_name
,
$type
);
if
(
!
empty
(
$data
[
'agents_id'
]))
{
$this
->
recordGuest
((
int
)
$data
[
'agents_id'
],
(
int
)
$agent_id_old
,
$id
,
$user_name
,
$type
);
}
//记录邀请人修改记录
//记录邀请人修改记录
$this
->
recordReferrer
(
$data
[
'referrer_id'
],
$data
[
'referrer_source'
],
$id
,
$referrer_id_old
,
$referrer_source_old
,
$type
);
if
(
!
empty
(
$data
[
'referrer_id'
]))
{
$this
->
recordReferrer
(
$data
[
'referrer_id'
],
$data
[
'referrer_source'
],
$id
,
$referrer_id_old
,
$referrer_source_old
,
$type
);
}
//更新业绩统计
//更新业绩统计
$agent
=
new
AAgents
();
$agent
=
new
AAgents
();
...
...
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