28 lines
566 B
Go
28 lines
566 B
Go
package mt
|
|
|
|
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.VendorIDMTWM] = unionHandler
|
|
}
|
|
|
|
func (s *UnionHandler) ShareUnionLink(ctx *jxcontext.Context, linkType int) (link string, err error) {
|
|
|
|
return "mt", err
|
|
}
|
|
|
|
func (s *UnionHandler) GetUnionActList(ctx *jxcontext.Context, actType int) (link interface{}, err error) {
|
|
return
|
|
}
|