feat: 为前端请求添加Status控制
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m6s

- 在产品页/解决方案页等路由仅获取已发布条目
This commit is contained in:
2025-11-12 14:48:51 +08:00
parent 726c38a75d
commit 9163c7fe9a
5 changed files with 6 additions and 6 deletions

View File

@ -160,7 +160,7 @@ export interface Product {
/** @primaryKey */
id: number;
/** @description 当前产品条目的状态 */
status?: 'published' | 'draft' | 'archived';
status?: `in-production` | 'discontinued' | 'archived';
product_type?: ProductType | string | null;
/** @description 在产品列表中显示 */
cover?: DirectusFile | string | null;