Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
golang_asynctask
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
c986280b
authored
Mar 07, 2022
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
0875bfd3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
app/dao/crm/sync_comuser.go
app/dao/crm/sync_comuser.go
View file @
c986280b
...
...
@@ -15,6 +15,8 @@ type comUser struct {
ComId
int64
`json:"com_id"`
UserId
int64
`json:"user_id"`
SaleId
int64
`json:"sale_id"`
IsDisable
int64
`json:"is_disable"`
IsBlacklist
int64
`json:"is_blacklist"`
}
...
...
@@ -34,6 +36,8 @@ func PushComUserInfoToErp(data string) (err error){
urlParams
.
Add
(
"com_id"
,
strconv
.
FormatInt
(
pushData
.
ComId
,
10
))
urlParams
.
Add
(
"user_id"
,
strconv
.
FormatInt
(
pushData
.
UserId
,
10
))
urlParams
.
Add
(
"sale_id"
,
strconv
.
FormatInt
(
pushData
.
SaleId
,
10
))
urlParams
.
Add
(
"is_disable"
,
strconv
.
FormatInt
(
pushData
.
IsDisable
,
10
))
urlParams
.
Add
(
"is_blacklist"
,
strconv
.
FormatInt
(
pushData
.
IsBlacklist
,
10
))
//fmt.Println(urlParams)
if
(
pushData
.
ComId
==
0
){
return
...
...
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