32 lines
745 B
Go
32 lines
745 B
Go
package jds
|
|
|
|
import (
|
|
"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/model"
|
|
)
|
|
|
|
type UnionHandler struct {
|
|
}
|
|
|
|
var (
|
|
unionHandler *UnionHandler
|
|
)
|
|
|
|
func init() {
|
|
partner.HandlerMap[model.VendorIDJDShop] = unionHandler
|
|
}
|
|
|
|
func (s *UnionHandler) ShareUnionLink(ctx *jxcontext.Context, linkType, unionActID int, sID, userID string) (link string, err error) {
|
|
|
|
return "jds", err
|
|
}
|
|
|
|
func (s *UnionHandler) GetUnionActList(ctx *jxcontext.Context, actType int) (actList []*partner.ActivityList, err error) {
|
|
return
|
|
}
|
|
|
|
func (s *UnionHandler) CreateUnionPosition(ctx *jxcontext.Context, userID string) (sID string, err error) {
|
|
return sID, err
|
|
}
|