This commit is contained in:
laodaming 2023-08-21 18:01:12 +08:00
parent c2caccd8e2
commit 1c0a537a09

View File

@ -34,6 +34,7 @@ func NewGetTagProductListLogic(ctx context.Context, svcCtx *svc.ServiceContext)
}
func (l *GetTagProductListLogic) GetTagProductList(req *types.GetTagProductListReq, userinfo *auth.UserInfo) (resp *basic.Response) {
req.TemplateTag = "b1a"
//查询用户信息(不用判断存在)
user, err := l.svcCtx.AllModels.FsUser.FindUserById(l.ctx, userinfo.UserId)
if err != nil && !errors.Is(err, gorm.ErrRecordNotFound) {