BXY
4f8a99010a
feat: update ListCategoryProducts to support target node type for category and group
2026-09-23 14:18:26 +08:00
BXY
0b848372f3
feat: add ProductCount to CategoryRecord and update group node serialization
2026-09-23 13:50:35 +08:00
BXY
d1b8aa2996
feat: add AddProductsToCategory method and update AddProductsToGroup for category and group bindings
2026-09-23 13:35:14 +08:00
BXY
cd94e0d0d2
feat: add support for product group bindings in product repository and server
2026-09-23 13:00:33 +08:00
robinj0726
800a78a5ad
fix(docs): add reference to ORDER_QUOTE.md in architecture document
2026-09-19 23:39:28 +08:00
robinj0726
76ad070957
fix(docs): update architecture document for clarity on product data handling and constraints
2026-09-19 00:30:29 +08:00
robinj0726
45b177d2b4
feat(store): implement TransferProductStore method for moving products between stores
2026-09-14 19:53:03 +08:00
robinj0726
604dfeb06c
feat: implement store scope validation and enforce it in product repository
...
- Added StoreScope struct with TenantID and StoreID fields.
- Introduced ErrStoreScopeRequired to handle missing store scope.
- Implemented Valid method to check if both TenantID and StoreID are present.
- Created requireWriteScope function to validate store scope before write operations.
- Updated product repository methods to require store scope for various operations.
- Added tests for StoreScope validation and requirement enforcement.
2026-09-13 00:12:44 +08:00
robinj0726
a8a3464484
feat(store): implement StoreScope for multi-tenant support and update product methods to require store context
2026-09-12 19:02:07 +08:00
robinj0726
ec0184c377
refactor(deploy): streamline deployment script by removing redundant Docker commands
2026-09-10 18:10:37 +08:00
robinj0726
9a19f3a5af
retry deploy ssh
2026-09-10 11:04:32 +08:00
robinj0726
56949fdc5b
retry deploy ssh
2026-09-10 11:03:18 +08:00
robinj0726
d088ef2d75
feat(docker): add Dockerfile and CI workflow for building and deploying ids-svc-product
2026-09-10 11:01:09 +08:00
1573e7393b
Merge pull request 'dev2' ( #2 ) from dev2 into main
...
Reviewed-on: https://llms.idsbuybuybuy.com:3003/ids-ecommerce/ids-svc-product/pulls/2
2026-09-08 11:14:38 +08:00
robinj0726
cf068fe610
feat(product): implement inventory adjustment functionality with confirm and release actions
2026-09-05 15:22:16 +08:00
robinj0726
bfdbe0361d
refactor(product): rename available_quantity to stock_quantity across the codebase
2026-09-05 13:49:11 +08:00
robinj0726
e2df9fd2e7
feat(product): add GetProductBySKU method and corresponding server handler with validation
2026-09-05 00:05:50 +08:00
BXY
c41ca76a2a
refactor(product): 搜索接口复用分类商品列表响应
2026-09-02 18:58:45 +08:00
BXY
50ef666baf
feat(product): 新增前台商品关键字搜索能力
2026-09-02 17:30:02 +08:00
robinj0726
cd60a19cdf
fix: adapt product status unspecified enum
2026-09-01 11:33:41 +08:00
robinj0726
f48a3bce2e
feat(product): remove CategoryTreeDiagnostics and related logging for empty category tree responses
2026-08-31 18:02:57 +08:00
robinj0726
92234181aa
note
2026-08-31 16:00:14 +08:00
robinj0726
71ca5b809f
feat(product): add diagnostics for empty category tree responses and logging
2026-08-31 15:10:18 +08:00
robinj0726
ba95c9079f
feat(product): update product status handling and enhance category tree response logging
2026-08-31 15:04:20 +08:00
BXY
891bae4742
feat(product): 支持商品多叶子分类与分类树删除
2026-08-14 17:08:14 +08:00
BXY
e7fdf6cc19
feat(product): 分类商品列表返回库存汇总
2026-08-13 17:44:14 +08:00
BXY
9e9c66fc42
feat: 统一商品、客户、活动页、商品分类页的状态与类型为数据库数值
2026-08-12 18:42:01 +08:00
BXY
d75d6e2112
feat(category): add batch category tree update with optimistic locking
2026-08-12 09:35:46 +08:00
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
robinj0726
6b55143fc7
feat(logging): implement custom logger with ISO8601 timestamp encoding
2026-08-03 10:49:32 +08:00
robinj0726
1d48010cc1
Merge remote-tracking branch 'origin/dev2' into dev2
2026-07-25 13:29:18 +08:00
robinj0726
939584e32a
chore(deps): update google.golang.org/grpc to v1.82.0 and other indirect dependencies
2026-07-25 13:27:13 +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
robinj0726
bbe9ee0be2
Merge remote-tracking branch 'origin/dev1' into phase1
...
# Conflicts:
# internal/repository/product_repository.go
# scripts/sql/recreate-product-tables.sql
2026-07-13 18:57:06 +08:00
robinj0726
e1ebe15bba
chore(product): drop dev schema compatibility columns
2026-07-13 17:23:36 +08:00
robinj0726
6a4f7ad5fe
Merge remote-tracking branch 'origin/dev1' into phase1
...
# Conflicts:
# internal/repository/product_repository.go
2026-07-13 17:21:28 +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