1
0
袁威 6 өдөр өмнө
parent
commit
2917c22603
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      app/crud/crud_card.py

+ 2 - 2
app/crud/crud_card.py

@@ -299,8 +299,8 @@ def get_card_with_details(db_conn: PooledMySQLConnection, card_id: int) -> Optio
 
         # 6. 对图片列表进行自定义排序(14 类:每面 fusion / gray / ring / stripe1-4)
         sort_priority = {
-            ImageType.back_fusion.value: 0,
-            ImageType.front_fusion.value: 1,
+            ImageType.front_fusion.value: 0,
+            ImageType.back_fusion.value: 1,
             ImageType.front_gray.value: 2,
             ImageType.back_gray.value: 3,
             ImageType.front_ring.value: 4,