This commit is contained in:
苏尹岚
2021-03-24 14:20:16 +08:00
parent 74c5171972
commit 625b5a5cbd
4 changed files with 41 additions and 0 deletions

View File

@@ -1 +1,18 @@
package mt
import (
"git.rosy.net.cn/jx-callback/business/jxstore/vendor"
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
)
type UnionHandler struct {
}
var (
UnionHandlerObj UnionHandler
UnionHandlerObj = vendor.UnionInterfaceHandler
)
func (s *UnionHandler) ShareUnionLink(ctx *jxcontext.Context, linkType int) (err error) {
return err
}

View File

@@ -1 +1,18 @@
package vendor
import (
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
)
const (
LinkTypeWeiXinMini = 1 //微信小程序
LinkTypeH5 = 2 //H5
)
var (
UnionInterfaceHandler UnionInterface
)
type UnionInterface interface {
ShareUnionLink(ctx *jxcontext.Context, linkType int) (err error)
}