diff --git a/go.mod b/go.mod index ccba533..42b7212 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitlab.batiao8.com/open/gosdk +module git.u8t.cn/open/gosdk go 1.18 diff --git a/push/getui.go b/push/getui.go index 132cf21..c162feb 100644 --- a/push/getui.go +++ b/push/getui.go @@ -4,10 +4,10 @@ import ( "encoding/json" "errors" "fmt" + "git.u8t.cn/open/gosdk/util" log "github.com/sirupsen/logrus" "github.com/smbrave/goutil" "github.com/spf13/cast" - "gitlab.batiao8.com/open/gosdk/util" "time" ) diff --git a/qyweixin/app.go b/qyweixin/app.go index 9763609..e28c217 100644 --- a/qyweixin/app.go +++ b/qyweixin/app.go @@ -6,15 +6,15 @@ import ( "encoding/hex" "encoding/json" "fmt" + "git.u8t.cn/open/gosdk/util" + "git.u8t.cn/open/gosdk/wechat" + "git.u8t.cn/open/gosdk/wechat/cache" + "git.u8t.cn/open/gosdk/wechat/message" + wutil "git.u8t.cn/open/gosdk/wechat/util" "github.com/gin-gonic/gin" log "github.com/sirupsen/logrus" "github.com/smbrave/goutil" "github.com/spf13/cast" - "gitlab.batiao8.com/open/gosdk/util" - "gitlab.batiao8.com/open/gosdk/wechat" - "gitlab.batiao8.com/open/gosdk/wechat/cache" - "gitlab.batiao8.com/open/gosdk/wechat/message" - wutil "gitlab.batiao8.com/open/gosdk/wechat/util" "io" "io/ioutil" "mime/multipart" diff --git a/qyweixin/app_approve.go b/qyweixin/app_approve.go index 184ef77..1cfcbc8 100644 --- a/qyweixin/app_approve.go +++ b/qyweixin/app_approve.go @@ -3,10 +3,10 @@ package qyweixin import ( "encoding/json" "fmt" + "git.u8t.cn/open/gosdk/util" log "github.com/sirupsen/logrus" "github.com/smbrave/goutil" "github.com/spf13/cast" - "gitlab.batiao8.com/open/gosdk/util" ) type Applyer struct { diff --git a/qyweixin/app_checkin.go b/qyweixin/app_checkin.go index a473e93..9d0341b 100644 --- a/qyweixin/app_checkin.go +++ b/qyweixin/app_checkin.go @@ -4,10 +4,10 @@ import ( "encoding/json" "errors" "fmt" + "git.u8t.cn/open/gosdk/util" log "github.com/sirupsen/logrus" "github.com/smbrave/goutil" "github.com/spf13/cast" - "gitlab.batiao8.com/open/gosdk/util" "gorm.io/gorm/utils" "time" ) diff --git a/qyweixin/app_customer.go b/qyweixin/app_customer.go index 8d08dbd..561b69c 100644 --- a/qyweixin/app_customer.go +++ b/qyweixin/app_customer.go @@ -4,10 +4,10 @@ import ( "encoding/json" "errors" "fmt" + "git.u8t.cn/open/gosdk/util" + "git.u8t.cn/open/gosdk/wechat/message" "github.com/smbrave/goutil" "github.com/spf13/cast" - "gitlab.batiao8.com/open/gosdk/util" - "gitlab.batiao8.com/open/gosdk/wechat/message" "time" ) diff --git a/qyweixin/app_hr.go b/qyweixin/app_hr.go index 84efd52..ea40df7 100644 --- a/qyweixin/app_hr.go +++ b/qyweixin/app_hr.go @@ -2,10 +2,10 @@ package qyweixin import ( "fmt" + "git.u8t.cn/open/gosdk/util" log "github.com/sirupsen/logrus" "github.com/smbrave/goutil" "github.com/spf13/cast" - "gitlab.batiao8.com/open/gosdk/util" "time" ) diff --git a/qyweixin/app_pay.go b/qyweixin/app_pay.go index ae8e618..fd837f1 100644 --- a/qyweixin/app_pay.go +++ b/qyweixin/app_pay.go @@ -6,13 +6,13 @@ import ( "crypto/tls" "errors" "fmt" + butil "git.u8t.cn/open/gosdk/util" log "github.com/sirupsen/logrus" "github.com/smbrave/goutil" "github.com/spf13/cast" "github.com/wechatpay-apiv3/wechatpay-go/core" "github.com/wechatpay-apiv3/wechatpay-go/core/option" "github.com/wechatpay-apiv3/wechatpay-go/utils" - butil "gitlab.batiao8.com/open/gosdk/util" "io/ioutil" "net/http" "os" diff --git a/unify/ad_sdk.go b/unify/ad_sdk.go index e541055..386a351 100644 --- a/unify/ad_sdk.go +++ b/unify/ad_sdk.go @@ -3,8 +3,8 @@ package unify import ( "encoding/json" "fmt" + "git.u8t.cn/open/gosdk/util" "github.com/spf13/cast" - "gitlab.batiao8.com/open/gosdk/util" "net/url" "strconv" "strings" diff --git a/unify/application.go b/unify/application.go index 1665ea0..0bf47c2 100644 --- a/unify/application.go +++ b/unify/application.go @@ -3,7 +3,7 @@ package unify import ( "encoding/json" "fmt" - "gitlab.batiao8.com/open/gosdk/util" + "git.u8t.cn/open/gosdk/util" ) type Application struct { diff --git a/unify/message.go b/unify/message.go index f0f838d..e483524 100644 --- a/unify/message.go +++ b/unify/message.go @@ -3,7 +3,7 @@ package unify import ( "encoding/json" "fmt" - "gitlab.batiao8.com/open/gosdk/util" + "git.u8t.cn/open/gosdk/util" "net/url" ) diff --git a/unify/pay.go b/unify/pay.go index 74acbec..0ea34a7 100644 --- a/unify/pay.go +++ b/unify/pay.go @@ -4,7 +4,7 @@ import ( "encoding/json" "errors" "fmt" - "gitlab.batiao8.com/open/gosdk/util" + "git.u8t.cn/open/gosdk/util" ) var ( diff --git a/wechat/context/access_token.go b/wechat/context/access_token.go index 308edc4..47669c8 100644 --- a/wechat/context/access_token.go +++ b/wechat/context/access_token.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "gitlab.batiao8.com/open/gosdk/wechat/util" + "git.u8t.cn/open/gosdk/wechat/util" ) const ( diff --git a/wechat/context/component_access_token.go b/wechat/context/component_access_token.go index 1ac131d..466feef 100644 --- a/wechat/context/component_access_token.go +++ b/wechat/context/component_access_token.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - "gitlab.batiao8.com/open/gosdk/wechat/util" + "git.u8t.cn/open/gosdk/wechat/util" ) const ( diff --git a/wechat/context/context.go b/wechat/context/context.go index 5571153..54e9eb1 100644 --- a/wechat/context/context.go +++ b/wechat/context/context.go @@ -4,7 +4,7 @@ import ( "net/http" "sync" - "gitlab.batiao8.com/open/gosdk/wechat/cache" + "git.u8t.cn/open/gosdk/wechat/cache" ) // Context struct diff --git a/wechat/context/qy_access_token.go b/wechat/context/qy_access_token.go index cfe730a..def6cd0 100644 --- a/wechat/context/qy_access_token.go +++ b/wechat/context/qy_access_token.go @@ -7,7 +7,7 @@ import ( "sync" "time" - "gitlab.batiao8.com/open/gosdk/wechat/util" + "git.u8t.cn/open/gosdk/wechat/util" ) const ( diff --git a/wechat/message/customer_message.go b/wechat/message/customer_message.go index 68f80c4..5b2c8ad 100644 --- a/wechat/message/customer_message.go +++ b/wechat/message/customer_message.go @@ -3,8 +3,8 @@ package message import ( "encoding/json" "fmt" - "gitlab.batiao8.com/open/gosdk/wechat/context" - "gitlab.batiao8.com/open/gosdk/wechat/util" + "git.u8t.cn/open/gosdk/wechat/context" + "git.u8t.cn/open/gosdk/wechat/util" ) const ( diff --git a/wechat/message/template.go b/wechat/message/template.go index 824bff8..4364873 100644 --- a/wechat/message/template.go +++ b/wechat/message/template.go @@ -4,8 +4,8 @@ import ( "encoding/json" "fmt" - "gitlab.batiao8.com/open/gosdk/wechat/context" - "gitlab.batiao8.com/open/gosdk/wechat/util" + "git.u8t.cn/open/gosdk/wechat/context" + "git.u8t.cn/open/gosdk/wechat/util" ) const ( diff --git a/wechat/server/server.go b/wechat/server/server.go index 6e140dd..d48eae2 100644 --- a/wechat/server/server.go +++ b/wechat/server/server.go @@ -9,9 +9,9 @@ import ( "runtime/debug" "strconv" - "gitlab.batiao8.com/open/gosdk/wechat/context" - "gitlab.batiao8.com/open/gosdk/wechat/message" - "gitlab.batiao8.com/open/gosdk/wechat/util" + "git.u8t.cn/open/gosdk/wechat/context" + "git.u8t.cn/open/gosdk/wechat/message" + "git.u8t.cn/open/gosdk/wechat/util" ) // Server struct diff --git a/wechat/wechat.go b/wechat/wechat.go index a3a6f72..5741822 100644 --- a/wechat/wechat.go +++ b/wechat/wechat.go @@ -4,9 +4,9 @@ import ( "net/http" "sync" - "gitlab.batiao8.com/open/gosdk/wechat/cache" - "gitlab.batiao8.com/open/gosdk/wechat/context" - "gitlab.batiao8.com/open/gosdk/wechat/server" + "git.u8t.cn/open/gosdk/wechat/cache" + "git.u8t.cn/open/gosdk/wechat/context" + "git.u8t.cn/open/gosdk/wechat/server" ) // Wechat struct