BXY
0186633d73
feat(product): 实现购物车商品批量查询接口
2026-08-11 14:58:51 +08:00
robinj0726
6856553440
feat(product): add CountProducts method to retrieve aggregate product counts by lifecycle status
2026-08-06 12:40:36 +08:00
BXY
bec6d5a69a
feat(product): support product lifecycle updates and archived SKU replacement
2026-08-06 11:09:46 +08:00
BXY
077ac90438
feat(product): add paginated admin product listing
2026-08-05 17:04:59 +08:00
BXY0414
cccbce7bc5
feat(product): 支持批量移除分类或分组中的商品
2026-07-20 15:13:59 +08:00
BXY0414
787eda9f3e
feat(product): 支持批量将商品加入分类或分组
2026-07-20 14:44:38 +08:00
robinj0726
f09dcffe02
Merge branch 'phase1' into dev2
2026-07-16 16:54:52 +08:00
robinj0726
aa3ee1d236
feat(product): implement LockInventory method to reserve stock for pending orders
2026-07-16 12:51:40 +08:00
BXY0414
68d39e75f8
feat(product): migrate category images to image_ids array
2026-07-16 11:38:50 +08:00
BXY0414
a6bca494f4
feat(product): 聚合分类商品最低价与销量
2026-07-14 18:57:26 +08:00
BXY0414
a7d3929855
feat(product): implement category/group APIs and inventory snowflake IDs
2026-07-13 15:01:08 +08:00
BXY0414
ae940225c4
feat(product): return product time fields as millisecond timestamp strings
2026-07-13 14:12:05 +08:00
BXY0414
2fa8872603
fix(product): tighten SKU attributes parsing for product query
2026-07-10 19:04:45 +08:00
BXY0414
d0f0aea15f
feat(product): return compact create product result
2026-07-10 17:29:04 +08:00
BXY0414
1c89c4a11f
feat(product): switch product IDs to application snowflake generation
2026-07-10 16:31:07 +08:00
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
BXY0414
5e74ff2816
调整 接口返回字段
2026-07-09 15:41:19 +08:00
BXY0414
548ed19954
添加 查询类别接口
2026-07-08 14:41:16 +08:00
robinj0726
2e5cf31b67
feat: add observability and metrics support
...
- Introduced Prometheus metrics for gRPC requests and product creation.
- Integrated OpenTelemetry for distributed tracing.
- Updated Docker Compose configuration to expose metrics endpoint.
- Enhanced architecture and development documentation with new environment variables.
- Refactored configuration loading to include metrics and tracing settings.
- Implemented observability package to handle tracing and metrics.
- Updated product server to utilize observability features for logging and tracing.
2026-07-07 17:29:54 +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
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
8595f4f9c8
Refactor logging to use zap logger in main and product server, enhancing error handling and consistency.
2026-07-01 18:15:16 +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