皮肤部分拿apifox测过了
This commit is contained in:
@@ -223,7 +223,7 @@ func (s *textureService) ToggleFavorite(ctx context.Context, userID, textureID i
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
if texture == nil {
|
||||
if texture == nil || texture.Status != 1 || !texture.IsPublic {
|
||||
return false, ErrTextureNotFound
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user