fix:upload设置
This commit is contained in:
parent
5f1fbe977d
commit
6d8401d3e0
|
@ -76,6 +76,7 @@ func (l *UserLogoDataSetLogic) UserLogoDataSet(req *types.UserLogoDataSetReq, us
|
||||||
GuestId: &guestId,
|
GuestId: &guestId,
|
||||||
ResourceId: &resourceId,
|
ResourceId: &resourceId,
|
||||||
ResourceUrl: logoData.ResourceUrl,
|
ResourceUrl: logoData.ResourceUrl,
|
||||||
|
Metadata: logoData.Metadata,
|
||||||
Ctime: &nowTime,
|
Ctime: &nowTime,
|
||||||
}
|
}
|
||||||
resCreate := l.svcCtx.MysqlConn.Create(&materialInfo)
|
resCreate := l.svcCtx.MysqlConn.Create(&materialInfo)
|
||||||
|
@ -93,7 +94,7 @@ func (l *UserLogoDataSetLogic) UserLogoDataSet(req *types.UserLogoDataSetReq, us
|
||||||
"guest_id": materialInfo.GuestId,
|
"guest_id": materialInfo.GuestId,
|
||||||
"resource_id": materialInfo.ResourceId,
|
"resource_id": materialInfo.ResourceId,
|
||||||
"resource_url": materialInfo.ResourceUrl,
|
"resource_url": materialInfo.ResourceUrl,
|
||||||
"metadata": nil,
|
"metadata": materialInfo.Metadata,
|
||||||
"ctime": materialInfo.Ctime,
|
"ctime": materialInfo.Ctime,
|
||||||
"resource_info": nil,
|
"resource_info": nil,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user