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
9e3743ba
authored
Jun 27, 2022
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
同步
parent
2c7e8949
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
app/service/crm/recv_com_user_scrvice.go
app/service/crm/recv_com_user_scrvice.go
View file @
9e3743ba
...
...
@@ -84,9 +84,15 @@ func DispenseMsg(data string) (err error){
}
else
{
//新增
pushMsg
.
ComId
=
gjson
.
Parse
(
data
)
.
Get
(
"data.id"
)
.
Int
()
company_status
:=
gjson
.
Parse
(
data
)
.
Get
(
"data.status"
)
.
Int
()
//状态 0禁用 1审核通过 2待审核 3审核未通过
if
pushMsg
.
ComId
==
0
{
return
}
if
(
company_status
!=
1
){
return
}
_data
,
err
:=
json
.
Marshal
(
&
pushMsg
)
if
err
==
nil
{
DispenseMsgToMq
(
string
(
_data
))
...
...
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