Skip to content

Commit

Permalink
feat: 解决物模型问题
Browse files Browse the repository at this point in the history
  • Loading branch information
godLei6 committed Sep 20, 2023
1 parent 9de87ba commit ab64d8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dmsvr/internal/logic/productmanage/ruleCheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func CheckAffordance(po *relationDB.DmProductSchema) error {
if err := affordance.ValidateWithFmt(); err != nil {
return err
}
po.Affordance = relationDB.ToAffordancePo(affordance)
//todo 规范化了之后前端会有问题
//po.Affordance = relationDB.ToAffordancePo(affordance)
return nil
}

0 comments on commit ab64d8e

Please sign in to comment.