huangjiajun vor 3 Monaten
Ursprung
Commit
9192755edb
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. +3
    -0
      super_cloud_issuance/svc/svc_deal_call_back.go

+ 3
- 0
super_cloud_issuance/svc/svc_deal_call_back.go Datei anzeigen

@@ -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))


Laden…
Abbrechen
Speichern