feat: 增加规格匹配建议与决策审计 (#90)

This commit is contained in:
chengma
2026-08-10 12:41:17 +08:00
parent 5abe81e128
commit 5a77bde534
15 changed files with 680 additions and 46 deletions
+1 -1
View File
@@ -591,7 +591,7 @@ func (h *Handler) SybMatch(c *gin.Context) {
if actor != nil {
operator = actor.UserID
}
if err := service.SaveSybMapping(h.db, c.PostForm("syb_id"), c.PostForm("pdd_option_key"), operator); err != nil {
if err := service.SaveSybMapping(h.db, c.PostForm("syb_id"), c.PostForm("pdd_option_key"), operator, c.PostForm("context_version")); err != nil {
h.sybRedirect(c, "规格映射未保存:"+err.Error())
return
}