Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
crm_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
eb44cb88
authored
May 31, 2021
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加判断
parent
e97b030c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
internal/logic/member_user.go
internal/logic/member_user.go
View file @
eb44cb88
...
...
@@ -156,6 +156,17 @@ func HandleData(MemberUserInfo model.MemberAddUserData) model.MemberAddUserData{
MemberUserInfo
.
Channel_source
=
14
//如果是以上adtagfindchips广告
}
//20210531 新增adtag来源
if
strings
.
Contains
(
adtag
,
"adtag=sc-"
)
{
MemberUserInfo
.
Channel_source
=
17
//如果是以上adtag市场渠道
}
if
strings
.
Contains
(
adtag
,
"adtag=shequn-"
)
{
MemberUserInfo
.
Channel_source
=
2
//如果是以上adtag社群
}
if
strings
.
Contains
(
adtag
,
"adtag=zh-"
)
{
MemberUserInfo
.
Channel_source
=
9
//如果是以上adtag展会用户
}
SetTagSale
(
adtag
,
&
MemberUserInfo
)
}
...
...
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