fix: Resolve the issue of missing tags in the synchronized app store (#9913)

This commit is contained in:
CityFun 2025-08-08 16:59:35 +08:00 committed by GitHub
parent c12bab477c
commit c2ad006a19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1075,7 +1075,7 @@ func (a AppService) SyncAppListFromRemote(taskID string) (err error) {
tagId, ok := tagMap[tag]
if ok {
exist, _ := appTagRepo.GetFirst(ctx, appTagRepo.WithByTagID(tagId), appTagRepo.WithByAppID(app.ID))
if exist != nil {
if exist == nil {
appTags = append(appTags, &model.AppTag{
AppId: app.ID,
TagId: tagId,