This commit is contained in:
2026-08-03 12:14:50 +08:00
parent a338865025
commit 4e556ea78a
12 changed files with 337 additions and 51 deletions
@@ -20,6 +20,10 @@ func (c *body_measurement) Save(ctx context.Context, req *dto.BodyMeasurementSav
Height: req.Height,
Weight: req.Weight,
SkinTone: req.SkinTone,
Bust: req.Bust,
Waist: req.Waist,
Hip: req.Hip,
Shoulder: req.Shoulder,
FitParams: req.FitParams,
}); err != nil {
return nil, err
@@ -36,6 +40,10 @@ func (c *body_measurement) Get(ctx context.Context, req *dto.BodyMeasurementGetR
Height: b.Height,
Weight: b.Weight,
SkinTone: b.SkinTone,
Bust: b.Bust,
Waist: b.Waist,
Hip: b.Hip,
Shoulder: b.Shoulder,
FitParams: b.FitParams,
}, nil
}