From 9aeaedb2d6da1a8b9bb8439bde9939038fba3fbd Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Mon, 17 May 2021 09:41:59 +0800 Subject: [PATCH] aa --- business/jxstore/cms/job.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/job.go b/business/jxstore/cms/job.go index 19885910b..1b2ffec1d 100644 --- a/business/jxstore/cms/job.go +++ b/business/jxstore/cms/job.go @@ -1973,7 +1973,7 @@ func ShareUnionLink(ctx *jxcontext.Context, jobID, shareType, linkType, resource sid string //推广位ID,美团为userID,淘宝饿了么本地化暂时是固定的京西推广位ID,pdd为表中推广位ID mobile, userID = ctx.GetMobileAndUserID() userBinds []*model.UserUnionBind - userBind *model.UserUnionBind + userBind = &model.UserUnionBind{} ) if jobID == 0 { return "", fmt.Errorf("该活动已结束,请选择其他活动!") @@ -2015,7 +2015,7 @@ func ShareUnionLink(ctx *jxcontext.Context, jobID, shareType, linkType, resource } //2、分享链接 if handler != nil { - var bindImg *model.UserUnionBindImg + bindImg := &model.UserUnionBindImg{} if isImg { bindImg, _ = dao.GetUserUnionBindImg(db, userBind.UnionID, job.UnionActID) if bindImg != nil {