aa
This commit is contained in:
@@ -1978,6 +1978,10 @@ func ShareUnionLink(ctx *jxcontext.Context, jobID, shareType, linkType int) (lin
|
|||||||
if err = dao.GetEntity(db, job); err != nil {
|
if err = dao.GetEntity(db, job); err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
//为了生成一条正在进行中的任务,方便用户查看一些信息
|
||||||
|
if _, _, err = AcceptJob(ctx, jobID, 0, 0); err != nil {
|
||||||
|
return "", err
|
||||||
|
}
|
||||||
vendorID := job.VendorID
|
vendorID := job.VendorID
|
||||||
handler := partner.GetHandler(vendorID)
|
handler := partner.GetHandler(vendorID)
|
||||||
//1、建推广位(本地和平台)
|
//1、建推广位(本地和平台)
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import (
|
|||||||
"git.rosy.net.cn/baseapi/utils"
|
"git.rosy.net.cn/baseapi/utils"
|
||||||
"git.rosy.net.cn/jx-callback/business/jxstore/partner"
|
"git.rosy.net.cn/jx-callback/business/jxstore/partner"
|
||||||
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
|
"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) {
|
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) {
|
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
|
return sID, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user