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
6b9f4e12
authored
Jul 03, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Plain Diff
合并代码
parents
1b100e92
733541a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
internal/logic/member_user.go
internal/logic/member_user.go
View file @
6b9f4e12
...
...
@@ -117,7 +117,7 @@ func HandleData(MemberUserInfo model.MemberAddUserData) model.MemberAddUserData{
ptag
=
strings
.
Split
(
ptag
,
","
)[
0
]
MemberUserInfo
.
Ptag
=
strings
.
Split
(
ptag
,
","
)[
0
]
switch
ptag
{
case
"ptag=activity-140"
,
"ptag=activity-141"
,
"ptag=activity-143"
,
"ptag=activity-144"
:
case
"ptag=activity-140"
,
"ptag=activity-141"
,
"ptag=activity-143"
,
"ptag=activity-144"
:
MemberUserInfo
.
Customer_identity
=
2
//如果是以上ptag则为采购用户
MemberUserInfo
.
Channel_source
=
9
//如果是以上ptag则为展会用户
break
...
...
@@ -135,6 +135,7 @@ func HandleData(MemberUserInfo model.MemberAddUserData) model.MemberAddUserData{
MemberUserInfo
.
Channel_source
=
12
//如果是以上ptag则为信用贷测评
break
}
SetTagSale
(
ptag
,
&
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