robinj0726
517f629d76
feat: integrate Snowflake ID generation for product and SKU creation
...
- Added a new ID generator using the Snowflake algorithm to create unique identifiers for products and SKUs.
- Updated the product server to utilize the ID generator for assigning IDs during product and SKU creation.
- Refactored the product repository to accommodate the new ID handling logic.
- Introduced unit tests for the ID generator to ensure correct functionality and error handling.
2026-07-10 15:56:42 +08:00
BXY0414
42419db604
调整创建商品字段、SKU规格整理和入库逻辑
2026-07-10 13:03:08 +08:00
robinj0726
da065d097f
feat: add spu_no and sku_no fields to product_item_inventory table for enhanced inventory tracking
2026-07-10 12:29:46 +08:00
BXY0414
5e74ff2816
调整 接口返回字段
2026-07-09 15:41:19 +08:00
BXY0414
548ed19954
添加 查询类别接口
2026-07-08 14:41:16 +08:00
robinj0726
ac7ca612a6
Refactor product service to implement CreateProduct and ListCategoryProducts methods. Remove BatchGetProducts functionality and update documentation for clarity on product management capabilities.
2026-07-07 15:53:29 +08:00
robinj0726
62ec3c43c4
Refactor product model and update CreateProduct logic to use new fields. Enhance SKU handling with inventory management and update README for consistency in product attributes.
2026-07-07 15:39:30 +08:00
robinj0726
54bbf73f56
Update references from product.skus to product.product_items in documentation and codebase, ensuring consistency in CRUD operations and architectural constraints. Enhance clarity in repository and development documents regarding data handling and schema relationships.
2026-07-07 12:44:58 +08:00
robinj0726
2ef7742b6a
Implement CreateProduct and ListCategoryProducts functionalities in the product server, enhancing product management capabilities. Update README with new RPC methods and examples. Refactor product repository to support SKU insertion and category-based product listing, ensuring efficient data handling and retrieval.
2026-07-07 11:58:27 +08:00
robinj0726
f7bb383877
Update database schema references from product_schema to product across documentation and codebase, ensuring consistency in environment configurations, repository access, and architectural constraints. Enhance clarity in README and development documents regarding database usage and constraints.
2026-07-05 13:23:42 +08:00
robinj0726
6a4c4fcb2f
Initialize ids-svc-product microservice with core structure, including environment configuration, PostgreSQL setup, and gRPC server implementation. Added .env.example for environment variables, .gitignore to exclude sensitive files, and foundational documents for architecture and development guidelines. Implemented product repository and server logic for handling product and SKU data.
2026-06-26 22:10:15 +08:00