fix: product_query_price.dspy改为any角色(无需登录)
This commit is contained in:
parent
91c579cff7
commit
327f77dac1
@ -46,6 +46,7 @@ PATHS_ANY = [
|
|||||||
f"/{MOD}/storefront/api/get_categories.dspy",
|
f"/{MOD}/storefront/api/get_categories.dspy",
|
||||||
f"/{MOD}/storefront/api/get_products.dspy",
|
f"/{MOD}/storefront/api/get_products.dspy",
|
||||||
f"/{MOD}/storefront/api/get_product_detail.dspy",
|
f"/{MOD}/storefront/api/get_product_detail.dspy",
|
||||||
|
f"/{MOD}/api/product_query_price.dspy",
|
||||||
]
|
]
|
||||||
|
|
||||||
# logined — 需要认证的页面和 API
|
# logined — 需要认证的页面和 API
|
||||||
@ -66,7 +67,6 @@ PATHS_LOGINED = [
|
|||||||
|
|
||||||
# API endpoints (.dspy)
|
# API endpoints (.dspy)
|
||||||
f"/{MOD}/api/category_options.dspy",
|
f"/{MOD}/api/category_options.dspy",
|
||||||
f"/{MOD}/api/product_query_price.dspy",
|
|
||||||
f"/{MOD}/api/product_brief.dspy",
|
f"/{MOD}/api/product_brief.dspy",
|
||||||
f"/{MOD}/api/product_category_create.dspy",
|
f"/{MOD}/api/product_category_create.dspy",
|
||||||
f"/{MOD}/api/product_category_update.dspy",
|
f"/{MOD}/api/product_category_update.dspy",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user