Commit 9e3743ba by 孙龙

同步

parent 2c7e8949
Showing with 6 additions and 0 deletions
......@@ -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))
......
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