aa
This commit is contained in:
@@ -8,9 +8,8 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.rosy.net.cn/jx-callback/business/jxstore/vendor"
|
|
||||||
|
|
||||||
"git.rosy.net.cn/jx-callback/business/jxstore/event"
|
"git.rosy.net.cn/jx-callback/business/jxstore/event"
|
||||||
|
"git.rosy.net.cn/jx-callback/business/jxstore/partner"
|
||||||
|
|
||||||
"git.rosy.net.cn/baseapi/platformapi/txcloudapi"
|
"git.rosy.net.cn/baseapi/platformapi/txcloudapi"
|
||||||
|
|
||||||
@@ -1924,5 +1923,5 @@ func TempJob() (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func ShareUnionLink(ctx *jxcontext.Context, vendorID, linkType int) (link string, err error) {
|
func ShareUnionLink(ctx *jxcontext.Context, vendorID, linkType int) (link string, err error) {
|
||||||
return vendor.GetHandler(vendorID).ShareUnionLink(ctx, linkType)
|
return partner.GetHandler(vendorID).ShareUnionLink(ctx, linkType)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package jds
|
package jds
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.rosy.net.cn/jx-callback/business/jxstore/vendor"
|
"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/business/model"
|
"git.rosy.net.cn/jx-callback/business/model"
|
||||||
)
|
)
|
||||||
@@ -14,7 +14,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
vendor.HandlerMap[model.VendorIDJDShop] = unionHandler
|
partner.HandlerMap[model.VendorIDJDShop] = unionHandler
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *UnionHandler) ShareUnionLink(ctx *jxcontext.Context, linkType int) (link string, err error) {
|
func (s *UnionHandler) ShareUnionLink(ctx *jxcontext.Context, linkType int) (link string, err error) {
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package mt
|
package mt
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.rosy.net.cn/jx-callback/business/jxstore/vendor"
|
"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/business/model"
|
"git.rosy.net.cn/jx-callback/business/model"
|
||||||
)
|
)
|
||||||
@@ -14,7 +14,7 @@ var (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
vendor.HandlerMap[model.VendorIDMTWM] = unionHandler
|
partner.HandlerMap[model.VendorIDMTWM] = unionHandler
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *UnionHandler) ShareUnionLink(ctx *jxcontext.Context, linkType int) (link string, err error) {
|
func (s *UnionHandler) ShareUnionLink(ctx *jxcontext.Context, linkType int) (link string, err error) {
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package vendor
|
package partner
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
|
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
|
||||||
5
main.go
5
main.go
@@ -27,9 +27,8 @@ import (
|
|||||||
_ "git.rosy.net.cn/jx-callback/business/auth2/authprovider/mobile"
|
_ "git.rosy.net.cn/jx-callback/business/auth2/authprovider/mobile"
|
||||||
_ "git.rosy.net.cn/jx-callback/business/auth2/authprovider/password"
|
_ "git.rosy.net.cn/jx-callback/business/auth2/authprovider/password"
|
||||||
_ "git.rosy.net.cn/jx-callback/business/auth2/authprovider/weixin"
|
_ "git.rosy.net.cn/jx-callback/business/auth2/authprovider/weixin"
|
||||||
_ "git.rosy.net.cn/jx-callback/business/jxstore/vendor"
|
_ "git.rosy.net.cn/jx-callback/business/jxstore/partner/jds"
|
||||||
_ "git.rosy.net.cn/jx-callback/business/jxstore/vendor/jds"
|
_ "git.rosy.net.cn/jx-callback/business/jxstore/partner/mt"
|
||||||
_ "git.rosy.net.cn/jx-callback/business/jxstore/vendor/mt"
|
|
||||||
_ "git.rosy.net.cn/jx-callback/globals/api"
|
_ "git.rosy.net.cn/jx-callback/globals/api"
|
||||||
|
|
||||||
_ "git.rosy.net.cn/jx-callback/routers"
|
_ "git.rosy.net.cn/jx-callback/routers"
|
||||||
|
|||||||
Reference in New Issue
Block a user