fix:upload设置

This commit is contained in:
momo 2023-10-26 15:50:02 +08:00
parent 5f1fbe977d
commit 6d8401d3e0

View File

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