fix: product_query_price.dspy改为any角色(无需登录)

This commit is contained in:
yumoqing 2026-07-24 16:10:32 +08:00
parent 91c579cff7
commit 327f77dac1

View File

@ -46,6 +46,7 @@ PATHS_ANY = [
f"/{MOD}/storefront/api/get_categories.dspy",
f"/{MOD}/storefront/api/get_products.dspy",
f"/{MOD}/storefront/api/get_product_detail.dspy",
f"/{MOD}/api/product_query_price.dspy",
]
# logined — 需要认证的页面和 API
@ -66,7 +67,6 @@ PATHS_LOGINED = [
# API endpoints (.dspy)
f"/{MOD}/api/category_options.dspy",
f"/{MOD}/api/product_query_price.dspy",
f"/{MOD}/api/product_brief.dspy",
f"/{MOD}/api/product_category_create.dspy",
f"/{MOD}/api/product_category_update.dspy",