Commit db08dd84 by 孙龙

up

parent 3e6dd156
......@@ -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/
##项目的目录结构
......
......@@ -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{}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment