This commit is contained in:
苏尹岚
2021-04-01 16:09:45 +08:00
parent 6235597ba6
commit f9ff953e0a
5 changed files with 42 additions and 10 deletions

View File

@@ -3,6 +3,7 @@ package mt
import (
"git.rosy.net.cn/jx-callback/business/jxstore/vendor"
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
"git.rosy.net.cn/jx-callback/business/model"
)
type UnionHandler struct {
@@ -10,11 +11,13 @@ type UnionHandler struct {
var (
UnionInterfaceHandler vendor.UnionInterface
UnionHandlerObj = &UnionHandler{}
)
func (s *UnionHandler) ShareUnionLink(ctx *jxcontext.Context, linkType int) (err error) {
UnionInterfaceHandler = UnionHandlerObj
return err
func init() {
vendor.HandlerMap[model.VendorIDMTWM] = UnionInterfaceHandler
}
func (s *UnionHandler) ShareUnionLink(ctx *jxcontext.Context, linkType int) (link string, err error) {
return link, err
}