瀏覽代碼

更新

master
huangjiajun 3 月之前
父節點
當前提交
9192755edb
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. +3
    -0
      super_cloud_issuance/svc/svc_deal_call_back.go

+ 3
- 0
super_cloud_issuance/svc/svc_deal_call_back.go 查看文件

@@ -14,6 +14,7 @@ import (
"errors"
"fmt"
"github.com/gin-gonic/gin"
"math/rand"
"time"
)

@@ -63,6 +64,7 @@ func (dealSuperCloudIssuanceCallBackService *DealSuperCloudIssuanceCallBackServi
"master_id": c.GetString("mid"),
"content": req.Data.Content,
}
time.Sleep(time.Millisecond * time.Duration(rand.Intn(1000)))
utils.FilePutContents("cloud", utils.SerializeStr(args))
chain := chain_transfer.TurnChain(MasterDb(c), db.Db, db2.ZhimengDb, args)
utils.FilePutContents("cloud", utils.SerializeStr(chain))
@@ -243,6 +245,7 @@ func (dealSuperCloudIssuanceCallBackService *DealSuperCloudIssuanceCallBackServi
"master_id": dealSuperCloudIssuanceCallBackService.Context.GetString("mid"),
"content": req.Data.Content,
}
time.Sleep(time.Millisecond * time.Duration(rand.Intn(1000)))
utils.FilePutContents("cloud_source", utils.SerializeStr(args))
chain := chain_transfer.TurnChain(MasterDb(dealSuperCloudIssuanceCallBackService.Context), db.Db, db2.ZhimengDb, args)
utils.FilePutContents("cloud_source", utils.SerializeStr(chain))


Loading…
取消
儲存