aa
This commit is contained in:
@@ -1973,7 +1973,7 @@ func ShareUnionLink(ctx *jxcontext.Context, jobID, shareType, linkType, resource
|
|||||||
sid string //推广位ID,美团为userID,淘宝饿了么本地化暂时是固定的京西推广位ID,pdd为表中推广位ID
|
sid string //推广位ID,美团为userID,淘宝饿了么本地化暂时是固定的京西推广位ID,pdd为表中推广位ID
|
||||||
mobile, userID = ctx.GetMobileAndUserID()
|
mobile, userID = ctx.GetMobileAndUserID()
|
||||||
userBinds []*model.UserUnionBind
|
userBinds []*model.UserUnionBind
|
||||||
userBind *model.UserUnionBind
|
userBind = &model.UserUnionBind{}
|
||||||
)
|
)
|
||||||
if jobID == 0 {
|
if jobID == 0 {
|
||||||
return "", fmt.Errorf("该活动已结束,请选择其他活动!")
|
return "", fmt.Errorf("该活动已结束,请选择其他活动!")
|
||||||
@@ -2015,7 +2015,7 @@ func ShareUnionLink(ctx *jxcontext.Context, jobID, shareType, linkType, resource
|
|||||||
}
|
}
|
||||||
//2、分享链接
|
//2、分享链接
|
||||||
if handler != nil {
|
if handler != nil {
|
||||||
var bindImg *model.UserUnionBindImg
|
bindImg := &model.UserUnionBindImg{}
|
||||||
if isImg {
|
if isImg {
|
||||||
bindImg, _ = dao.GetUserUnionBindImg(db, userBind.UnionID, job.UnionActID)
|
bindImg, _ = dao.GetUserUnionBindImg(db, userBind.UnionID, job.UnionActID)
|
||||||
if bindImg != nil {
|
if bindImg != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user