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,
|
||||
ResourceId: &resourceId,
|
||||
ResourceUrl: logoData.ResourceUrl,
|
||||
Metadata: logoData.Metadata,
|
||||
Ctime: &nowTime,
|
||||
}
|
||||
resCreate := l.svcCtx.MysqlConn.Create(&materialInfo)
|
||||
|
@ -93,7 +94,7 @@ func (l *UserLogoDataSetLogic) UserLogoDataSet(req *types.UserLogoDataSetReq, us
|
|||
"guest_id": materialInfo.GuestId,
|
||||
"resource_id": materialInfo.ResourceId,
|
||||
"resource_url": materialInfo.ResourceUrl,
|
||||
"metadata": nil,
|
||||
"metadata": materialInfo.Metadata,
|
||||
"ctime": materialInfo.Ctime,
|
||||
"resource_info": nil,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user