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
db08dd84
authored
May 08, 2021
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
3e6dd156
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
README.md
app/service/crm/recv_com_user_scrvice.go
README.md
View file @
db08dd84
...
...
@@ -29,6 +29,7 @@ go run ./cmd/main.go
go run ./cmd/crm/recv_comuser/main.go -config=./config/prod/ -logdir = ./logs/
go run ./cmd/crm/sync_comuser_to_erp/main.go -config=./config/prod/ -logdir = ./logs/
go run ./cmd/crm/sendmsg/main.go -config=./config/prod/ -logdir = ./logs/
go run ./cmd/crm/cron_sendmsg/main.go -config=./config/prod/ -logdir = ./logs/
##项目的目录结构
...
...
app/service/crm/recv_com_user_scrvice.go
View file @
db08dd84
...
...
@@ -2,6 +2,7 @@ package crm
import
(
"encoding/json"
"fmt"
"github.com/ichunt2019/cfg/lib"
"github.com/ichunt2019/golang-rbmq-sl/utils/rabbitmq"
...
...
@@ -78,6 +79,7 @@ func DispenseMsg(data string) (err error){
}
if
table
==
"lie_invoice_com_apply"
&&
action_type
==
"insert"
{
fmt
.
Println
(
"888888888888888888888"
)
apply_type
:=
gjson
.
Parse
(
data
)
.
Get
(
"data.apply_type"
)
.
Int
()
if
apply_type
==
2
{
invoiceComApplyInfo
:=
&
invoiceComApply
{}
...
...
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