This commit is contained in:
2026-01-13 19:14:05 +08:00
parent 04df8460a4
commit 586330cfa6
13 changed files with 17 additions and 14 deletions

View File

@@ -49,6 +49,9 @@ func (l *AdminUpdateFeatureLogic) AdminUpdateFeature(req *types.AdminUpdateFeatu
if req.WhitelistPrice != nil {
record.WhitelistPrice = *req.WhitelistPrice
}
if req.CostPrice != nil {
record.CostPrice = *req.CostPrice
}
// 4. 执行更新操作
err = l.svcCtx.FeatureModel.UpdateWithVersion(l.ctx, nil, record)