kae 4733677334 fix: set tenant_id on product insert and regenerate purchase proto
Products were inserted with empty tenant_id because ExtractTenantId was
called after the Insert; moved extraction before the struct so rows are
stored with the correct tenant and appear in list queries.

Regenerated purchase.pb.go and purchase_grpc.pb.go from purchase.proto
using protoc-gen-go v1.36.11; the previous hand-written stubs lacked the
proto.Message interface, causing all purchase gRPC calls to fail with a
marshal error.
2026-06-23 00:05:42 +08:00
2026-06-14 15:24:02 +08:00
2026-06-14 15:24:02 +08:00
2026-06-14 15:24:02 +08:00
Description
No description provided
485 KiB
Languages
Go 99.8%
Shell 0.1%
JavaScript 0.1%