fix
This commit is contained in:
parent
ccaca2ae07
commit
65b2519f52
|
@ -114,7 +114,10 @@ func (w *wsConnectItem) consumeRenderCache(data []byte) {
|
||||||
hashVal := renderImageData.RenderData
|
hashVal := renderImageData.RenderData
|
||||||
hashVal.UserId = 0
|
hashVal.UserId = 0
|
||||||
hashVal.GuestId = 0
|
hashVal.GuestId = 0
|
||||||
taskId := hash.JsonHashKey(hashVal)
|
hashByte, _ := json.Marshal(hashVal)
|
||||||
|
var hashData map[string]interface{}
|
||||||
|
_ = json.Unmarshal(hashByte, &hashData)
|
||||||
|
taskId := hash.JsonHashKey(hashData)
|
||||||
//查询有没有缓存的资源,有就返回######################
|
//查询有没有缓存的资源,有就返回######################
|
||||||
resource, err := w.logic.svcCtx.AllModels.FsResource.FindOneById(w.logic.ctx, taskId)
|
resource, err := w.logic.svcCtx.AllModels.FsResource.FindOneById(w.logic.ctx, taskId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user