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
c68abb76
authored
Apr 26, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加来源
parent
b5f3d5fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
internal/logic/member_user.go
internal/logic/member_user.go
View file @
c68abb76
...
...
@@ -159,6 +159,23 @@ func HandleData(MemberUserInfo model.MemberAddUserData) model.MemberAddUserData{
SetTagSale
(
adtag
,
&
MemberUserInfo
)
}
if
MemberUserInfo
.
User_Type
!=
0
{
switch
(
MemberUserInfo
.
User_Type
)
{
case
1
:
MemberUserInfo
.
Channel_source
=
9
// 展会用户
break
case
2
:
MemberUserInfo
.
Channel_source
=
15
// 客户推荐
break
case
3
:
MemberUserInfo
.
Channel_source
=
16
// 自主开发
break
case
4
:
MemberUserInfo
.
Channel_source
=
7
// 其他
break
}
}
// 若前三种方式都没获取到sale_id,则从客服池中获取
//if MemberUserInfo.Sale_Id == 0 {
// var kefu model.Kefu
...
...
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