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
cdaf0ab0
Commit
cdaf0ab0
authored
May 10, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邀请人记录优化
parent
d8ce4720
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
UserService.php
application/index/service/UserService.php
+2
-2
No files found.
application/index/service/UserService.php
View file @
cdaf0ab0
...
...
@@ -312,7 +312,7 @@ class UserService
$if_inviter
=
$this
->
getUserInviterHistory
(
$user_id
);
//查询是否存在邀请人修改记录
if
(
!
$if_inviter
)
{
//无记录则为新增
if
(
!
$if_inviter
&&
$referrer_id
!=
-
1
)
{
//无记录则为新增
if
(
$referrer_source
==
10
)
{
$remark
=
'新增为'
.
$name
.
'-'
.
$user_phone
.
',客户ID:'
.
$referrer_id
;
}
else
{
...
...
@@ -320,7 +320,7 @@ class UserService
}
}
else
{
if
(
$referrer_id
==
-
1
)
{
if
(
$referrer_id
==
-
1
&&
!
empty
(
$referrer_id_old
))
{
if
(
$referrer_id
==
-
1
&&
!
empty
(
$referrer_id_old
)
&&
$if_inviter
)
{
$remark
=
'删除邀请人'
;
}
}
else
{
...
...
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