优化代码

This commit is contained in:
刘祥超
2022-08-23 21:42:05 +08:00
parent c552eb3b0e
commit 5d336eb77d

View File

@@ -32,6 +32,8 @@ func (this *IPLibraryArtifactService) CreateIPLibraryArtifact(ctx context.Contex
return nil, errors.New("decode meta failed: " + err.Error())
}
// TODO 更新数据库中的省市县等信息?
artifactId, err := models.SharedIPLibraryArtifactDAO.CreateArtifact(tx, req.Name, req.FileId, 0, meta)
if err != nil {
return nil, err