This commit is contained in:
2025-06-26 17:18:01 +08:00
parent 6a1d18926d
commit 0384d007bc
2 changed files with 7 additions and 6 deletions

View File

@@ -64,6 +64,7 @@ func (l *GeneratingLinkLogic) GeneratingLink(req *types.AgentGeneratingLinkReq)
squirrel.Eq{"product_id": productModel.Id}, // 添加 product_id 的匹配条件
squirrel.Eq{"price": price}, // 添加 price 的匹配条件
squirrel.Eq{"agent_id": agentModel.Id}, // 添加 agent_id 的匹配条件
squirrel.Eq{"show_price": req.ShowPrice}, // 添加 show_price 的匹配条件
})
agentLinkModel, err := l.svcCtx.AgentLinkModel.FindAll(l.ctx, build, "")