fix: 修复养成管理接口参数过滤

This commit is contained in:
richjohnrambo
2026-09-20 16:53:38 +08:00
parent 47ed097923
commit 6bf364ec0b
2 changed files with 28 additions and 4 deletions
@@ -89,6 +89,9 @@ func (s *sSysCultivateFlower) View(ctx context.Context, in *sysin.CultivateFlowe
}
func (s *sSysCultivateFlower) Edit(ctx context.Context, in *sysin.CultivateFlowerEditInp) (err error) {
if err = in.Filter(ctx); err != nil {
return err
}
tenantID := cultivateTenantID(ctx)
if err = validateCultivateAssets(ctx, tenantID, in); err != nil {
return err