浏览代码

update

three
DengBiao 10 个月前
父节点
当前提交
e84f10d7e0
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. +1
    -1
      cloud_issuance/svc/svc_deal_call_back.go
  2. +2
    -0
      consume/cloud_issuance_msg_callback.go

+ 1
- 1
cloud_issuance/svc/svc_deal_call_back.go 查看文件

@@ -61,7 +61,7 @@ func (dealCloudIssuanceCallBackService *DealCloudIssuanceCallBackService) DealCa
"content": req.Data.Content,
}
utils.FilePutContents("cloud", utils.SerializeStr(args))
time.Sleep(time.Millisecond * 300) // 等待300毫秒
time.Sleep(time.Millisecond * 200) // 等待200毫秒
chain := chain_transfer.TurnChain(svc.MasterDb(c), db2.Db, args)
utils.FilePutContents("cloud_resp", utils.SerializeStr(chain))
if chain.Count != "" {


+ 2
- 0
consume/cloud_issuance_msg_callback.go 查看文件

@@ -13,6 +13,7 @@ import (
"fmt"
"github.com/gin-gonic/gin"
"github.com/streadway/amqp"
"time"
)

func CloudIssuanceMsgCallBackConsume(queue md.MqQueue) {
@@ -39,6 +40,7 @@ func CloudIssuanceMsgCallBackConsume(queue md.MqQueue) {
if err != nil {
panic(err)
}
time.Sleep(time.Millisecond * 300) // 等待300毫秒
go func() {
//设置masterId
cloudIssuanceRobotRecords, err := db.CloudIssuanceRobotRecordsGetOneByParams(map[string]interface{}{


正在加载...
取消
保存