From 332f65334b64594f03ec4ef81b21149bf15e0ef8 Mon Sep 17 00:00:00 2001 From: "925116093-qq.com" <925116093@qq.com> Date: Wed, 28 May 2025 18:30:04 +0800 Subject: [PATCH] 202505281829 --- .../src/main/resources/application.yml | 4 +- ruoyi-ui/src/components/Sku/sku.vue | 18 +- .../src/views/system/IntegralCate/index.vue | 29 +- .../views/system/IntegralProduct/index.vue | 713 ++++++++++++------ 4 files changed, 488 insertions(+), 276 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index f98b4d1..2e3daf3 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -122,8 +122,8 @@ swagger: # 防止XSS攻击 xss: # 过滤开关 - enabled: true + enabled: false # 排除链接(多个用逗号分隔) - excludes: /system/notice + excludes: /system/notice,/system/IntegralProduct/*,/system/Order/*,/system/Content/* # 匹配链接 urlPatterns: /system/*,/monitor/*,/tool/* diff --git a/ruoyi-ui/src/components/Sku/sku.vue b/ruoyi-ui/src/components/Sku/sku.vue index ffb7d80..bd0b906 100644 --- a/ruoyi-ui/src/components/Sku/sku.vue +++ b/ruoyi-ui/src/components/Sku/sku.vue @@ -53,25 +53,13 @@ export default { return { data:{}, sourceAttribute: [ - { - name: '颜色', - item: ['黑', '金', '白'] - } + ], attribute: [ - { - name: '颜色', - item: ['黑', '金', '白'] - } + ], sku: [ - { - "sku": "黑;16G", - "pic": "2121", - "price": "212121", - "stock":"999" - - } + ], structure:[ { diff --git a/ruoyi-ui/src/views/system/IntegralCate/index.vue b/ruoyi-ui/src/views/system/IntegralCate/index.vue index 0d7a7de..ad2f914 100644 --- a/ruoyi-ui/src/views/system/IntegralCate/index.vue +++ b/ruoyi-ui/src/views/system/IntegralCate/index.vue @@ -126,34 +126,21 @@ /> - - + + - + - - - - - - - + + -