3 Commits

Author SHA1 Message Date
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
Chever John
379fb28d92 chore: sync codebase with upstream
Align origin/main with upstream/main (GitHub). The two branches
diverged due to pre-rebase vs post-rebase merge commits for the
k8s-amd64-dockerfiles feature.

Includes: multi-stage Go compilation Dockerfiles, pan-bolt
inventory features, CRM relations, Excel import tooling,
proto/gRPC updates, migration scripts, and tools/ directory.

Excludes deploy/bin/ pre-compiled binaries (arm64, not needed
for amd64 K3s cluster; builds use multi-stage Dockerfiles now).
2026-06-14 15:24:02 +08:00
Chever John
71a2d912e2 feat: initial commit for muyu-apiserver
Go service with gateway, RPC, model layers and k8s deploy configs.

Made-with: Cursor
2026-02-28 15:29:16 +08:00