Browse Source

更新

master
huangjiajun 3 months ago
parent
commit
9192755edb
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      super_cloud_issuance/svc/svc_deal_call_back.go

+ 3
- 0
super_cloud_issuance/svc/svc_deal_call_back.go View File

@@ -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…
Cancel
Save