1
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
package douyin
|
package douyin
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
|
||||||
"git.rosy.net.cn/jx-callback/business/auth2/authprovider/weixin"
|
"git.rosy.net.cn/jx-callback/business/auth2/authprovider/weixin"
|
||||||
|
|
||||||
"git.rosy.net.cn/baseapi/platformapi/weixinapi"
|
"git.rosy.net.cn/baseapi/platformapi/weixinapi"
|
||||||
@@ -20,9 +19,6 @@ type TiktopMiniAuther struct {
|
|||||||
authprovider.DefAuther
|
authprovider.DefAuther
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
|
||||||
ErrAuthTypeShouldBeMini = errors.New("当前操作要求是抖音小程序登录方式")
|
|
||||||
)
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
AutherObjMini *TiktopMiniAuther
|
AutherObjMini *TiktopMiniAuther
|
||||||
|
|||||||
1
main.go
1
main.go
@@ -45,6 +45,7 @@ import (
|
|||||||
|
|
||||||
_ "git.rosy.net.cn/jx-callback/business/auth2/authprovider/alipay"
|
_ "git.rosy.net.cn/jx-callback/business/auth2/authprovider/alipay"
|
||||||
_ "git.rosy.net.cn/jx-callback/business/auth2/authprovider/dingding"
|
_ "git.rosy.net.cn/jx-callback/business/auth2/authprovider/dingding"
|
||||||
|
_ "git.rosy.net.cn/jx-callback/business/auth2/authprovider/douyin"
|
||||||
_ "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"
|
||||||
|
|||||||
Reference in New Issue
Block a user