This commit is contained in:
suyl
2021-04-26 14:55:22 +08:00
parent 5b155d0d9c
commit f1eddbb839
2 changed files with 8 additions and 0 deletions

View File

@@ -1978,6 +1978,10 @@ func ShareUnionLink(ctx *jxcontext.Context, jobID, shareType, linkType int) (lin
if err = dao.GetEntity(db, job); err != nil {
return "", err
}
//为了生成一条正在进行中的任务,方便用户查看一些信息
if _, _, err = AcceptJob(ctx, jobID, 0, 0); err != nil {
return "", err
}
vendorID := job.VendorID
handler := partner.GetHandler(vendorID)
//1、建推广位本地和平台

View File

@@ -4,6 +4,7 @@ import (
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/business/jxstore/partner"
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
"git.rosy.net.cn/jx-callback/globals/api"
)
func (s *UnionHandler) ShareUnionLink(ctx *jxcontext.Context, linkType, unionActID int, sID, userID string) (link string, err error) {
@@ -30,5 +31,8 @@ func (s *UnionHandler) GetUnionActList(ctx *jxcontext.Context, actType int) (act
}
func (s *UnionHandler) CreateUnionPosition(ctx *jxcontext.Context, userID string) (sID string, err error) {
if sID, err = api.PddAPI.GoodsOPidGenerate(userID); err != nil {
return "", err
}
return sID, err
}