ids-svc-product/internal/server
BXY 6f6887f0d2 Refactor product category schema and server logic
- Updated the product_category table schema to remove tenant_id and store_id, and added new fields: priority, rule_id, category_type, channel_list, has_children, has_prop_required, extra, cert_status_code, cert_status_pass, and cert_status_msg.
- Modified SQL scripts to drop and recreate product_category and product_category_bindings tables with the new schema.
- Refactored the ProductServer methods to remove store scope requirements and adjust to the new product category structure.
- Updated error handling and validation in Create, Update, and Delete product category methods.
- Added new patch handling for product categories to accommodate the updated schema.
- Introduced a new SQL script to rebuild the standard product category tree, ensuring a clean migration to the new structure.
2026-10-08 14:56:54 +08:00
..
catalog_master_server.go feat: add suppliers and brands management to product catalog 2026-09-23 16:34:15 +08:00
category_image_ids_test.go feat(product): migrate category images to image_ids array 2026-07-16 11:38:50 +08:00
category_name_test.go feat: add category and group name uniqueness checks with corresponding error handling 2026-09-23 18:15:26 +08:00
detail_html_url.go feat: add S3 public endpoint configuration and complete detail HTML image URLs 2026-10-08 10:51:14 +08:00
freight_template_server.go feat: implement freight template management and scheduled sales promotion 2026-10-02 00:59:46 +08:00
get_product_by_sku_test.go feat(store): implement StoreScope for multi-tenant support and update product methods to require store context 2026-09-12 19:02:07 +08:00
html_sanitize.go feat: implement freight template management and scheduled sales promotion 2026-10-02 00:59:46 +08:00
list_product_skus_test.go feat: implement ListProductSKUs to return current SKU stock projections for a product 2026-09-23 20:23:15 +08:00
list_products_filter_test.go feat: add product category validation and update product list filter to use ProductCategoryID 2026-10-07 19:40:07 +08:00
product_batch_server.go feat: add catalog category list filter and batch product writes 2026-10-01 23:47:53 +08:00
product_category_server.go Refactor product category schema and server logic 2026-10-08 14:56:54 +08:00
product_server.go feat: add S3 public endpoint configuration and complete detail HTML image URLs 2026-10-08 10:51:14 +08:00
scheduled_sale_worker.go feat: implement freight template management and scheduled sales promotion 2026-10-02 00:59:46 +08:00
store_scope_test.go feat: implement CopyProductToStore functionality and add corresponding tests 2026-09-28 17:06:44 +08:00
store_scope.go feat(store): implement StoreScope for multi-tenant support and update product methods to require store context 2026-09-12 19:02:07 +08:00