From d22f07025d67ddcb08ed37846c2a8d8ba8a35abe Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期二, 24 十二月 2024 18:24:44 +0800
Subject: [PATCH] 激活

---
 pages/cart/index.js |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/pages/cart/index.js b/pages/cart/index.js
index 7a91a6d..b36954d 100644
--- a/pages/cart/index.js
+++ b/pages/cart/index.js
@@ -130,8 +130,13 @@
           item.productType = "鍥句功鏈嶅姟-鐢靛瓙涔�"
 
           if (item.saleMethod.type == 'createProductItemSaleMethod' || item.saleMethod.type == 'createProductFolderSaleMethod') {
-            item.typeTxt = '浜戝涔�'
-            item.productType = "鍥句功鏈嶅姟-浜戝涔�"
+            if (item.linkCmsItems[0].refCode == 'questionBank') {
+              item.type = '浜戞祴璇�'
+              item.productType = '鍥句功鏈嶅姟-浜戞祴璇�'
+            } else {
+              item.typeTxt = '浜戝涔�'
+              item.productType = "鍥句功鏈嶅姟-浜戝涔�"
+            }
           }
         }
         // 

--
Gitblit v1.9.1